Files
haiku-beta6/docs/user/interface/OptionControl.dox
T
PulkoMandy c66bb38463 Fix various Doxygen warnings in Haiku book.
- Return tags for methods that don't return anything
- ingroup without matching defgroup
- confusion between ref, a, and link tags (they are not the same)
- missed API changes (BObjectList templated owning, new url
  encode/decode API)
- duplicate defgroup definitions

Change-Id: I94a31b04a10a62e71659522c5ed77098728c0843
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9689
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-10-14 19:18:14 +00:00

206 lines
3.7 KiB
Plaintext

/*
* Copyright 2019 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Name, [email protected]
*
* Corresponds to:
* headers/os/interface/OptionControl.h hrev49977
* src/kits/interface/OptionControl.cpp hrev33756
*/
///// TO THEY WHO DOCUMENT: it seems like the OptionControl.cpp file some docs already, so that's a good starting point /////
/*!
\file OptionControl.h
\ingroup interface
\brief Undocumented file.
\since Haiku R1
*/
/*!
\class BOptionControl
\ingroup interface
\ingroup libbe
\brief Undocumented class.
\since Haiku R1
*/
/*!
\fn BOptionControl::BOptionControl(BRect frame, const char *name, const char *label, BMessage *message, uint32 resizeMask=B_FOLLOW_LEFT_TOP, uint32 flags=B_WILL_DRAW)
\brief Undocumented public method
\param frame Undocumented
\param name Undocumented
\param label Undocumented
\param message Undocumented
\param resizeMask Undocumented
\param flags Undocumented
\since Haiku R1
*/
/*!
\fn BOptionControl::BOptionControl(const char *name, const char *label, BMessage *message, uint32 flags=B_WILL_DRAW)
\brief Undocumented public method
\param name Undocumented
\param label Undocumented
\param message Undocumented
\param flags Undocumented
\since Haiku R1
*/
/*!
\fn virtual virtual BOptionControl::~BOptionControl()
\brief Undocumented public method
\since Haiku R1
*/
/*!
\fn virtual virtual void BOptionControl::MessageReceived(BMessage *message)
\brief Undocumented public method
\param message Undocumented
\since Haiku R1
*/
/*!
\fn status_t BOptionControl::AddOption(const char *name, int32 value)
\brief Undocumented public method
\param name Undocumented
\param value Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn virtual bool BOptionControl::GetOptionAt(int32 index, const char **_name, int32 *_value)=0
\brief Undocumented public method
\param index Undocumented
\param _name Undocumented
\param _value Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn virtual void BOptionControl::RemoveOptionAt(int32 index)=0
\brief Undocumented public method
\param index Undocumented
\since Haiku R1
*/
/*!
\fn virtual int32 BOptionControl::CountOptions() const =0
\brief Undocumented public method
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn virtual status_t BOptionControl::AddOptionAt(const char *name, int32 value, int32 index)=0
\brief Undocumented public method
\param name Undocumented
\param value Undocumented
\param index Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn virtual int32 BOptionControl::SelectedOption(const char **name=NULL, int32 *outValue=NULL) const =0
\brief Undocumented public method
\param name Undocumented
\param outValue Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn virtual virtual status_t BOptionControl::SelectOptionFor(int32 value)
\brief Undocumented public method
\param value Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn virtual virtual status_t BOptionControl::SelectOptionFor(const char *name)
\brief Undocumented public method
\param name Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\fn BMessage* BOptionControl::MakeValueMessage(int32 value)
\brief Undocumented protected method
\param value Undocumented
\return Undocumented
\retval <value> Undocumented
\since Haiku R1
*/
/*!
\var B_OPTION_CONTROL_VALUE
\brief Undocumented enum value.
\since Haiku R1
*/