Fix mismatched prototypes in the Haiku Book.
This commit is contained in:
@@ -190,7 +190,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn float BGridLayout::MinRowHeight(int32 row) const
|
\fn float BGridLayout::MinRowHeight(int row) const
|
||||||
\brief Returns the minimum height for \a row.
|
\brief Returns the minimum height for \a row.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ topLayout->AddItem(nestedLayoutWithView);
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn bool BLayout::AncestorsVisible()
|
\fn bool BLayout::AncestorsVisible() const
|
||||||
\brief Get the visibility of the ancestors of this layout.
|
\brief Get the visibility of the ancestors of this layout.
|
||||||
|
|
||||||
If a BLayout is connected to a BView, this will always return \c true.
|
If a BLayout is connected to a BView, this will always return \c true.
|
||||||
@@ -352,7 +352,7 @@ topLayout->AddItem(nestedLayoutWithView);
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn BLayoutContext* BLayout::LayoutContext()
|
\fn BLayoutContext* BLayout::LayoutContext() const
|
||||||
\brief Returns the BLayoutContext this BLayout is currently operating in,
|
\brief Returns the BLayoutContext this BLayout is currently operating in,
|
||||||
or \c NULL.
|
or \c NULL.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -264,7 +264,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn int32 BCatalog::CountItems()
|
\fn int32 BCatalog::CountItems() const
|
||||||
\brief Gets the number of items in the catalog.
|
\brief Gets the number of items in the catalog.
|
||||||
|
|
||||||
\returns the number of strings in the catalog or 0 on error.
|
\returns the number of strings in the catalog or 0 on error.
|
||||||
|
|||||||
@@ -209,8 +209,8 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn bool BCollator::Greater(cosnt char* s1, const char* s2,
|
\fn bool BCollator::Greater(const char* s1, const char* s2,
|
||||||
int8 strength) const
|
int8 strength = B_COLLATE_DEFAULT) const
|
||||||
\brief Determine if a string is greater than another.
|
\brief Determine if a string is greater than another.
|
||||||
|
|
||||||
\note !Greater(s1, s2) is the same as GreaterOrEqual(s2, s1). This means
|
\note !Greater(s1, s2) is the same as GreaterOrEqual(s2, s1). This means
|
||||||
@@ -225,8 +225,8 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn bool BCollator::GreaterOrEqual(cosnt char* s1, const char* s2,
|
\fn bool BCollator::GreaterOrEqual(const char* s1, const char* s2,
|
||||||
int8 strength) const
|
int8 strength = B_COLLATE_DEFAULT) const
|
||||||
\brief Determines if one string is greater than another.
|
\brief Determines if one string is greater than another.
|
||||||
|
|
||||||
\note !GreaterOrEqual(s1, s2) is the same as Greater(s2, s1).
|
\note !GreaterOrEqual(s1, s2) is the same as Greater(s2, s1).
|
||||||
|
|||||||
@@ -210,14 +210,25 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn BCatalog* BLocaleRoster::_GetCatalog()
|
\fn BCatalog* BLocaleRoster::_GetCatalog(BCatalog* catalog,
|
||||||
|
vint32* catalogInitStatus)
|
||||||
\brief Get the current image catalog.
|
\brief Get the current image catalog.
|
||||||
|
|
||||||
This function returns the catalog for the calling image (application,
|
This function initializes and returns the catalog for the calling image
|
||||||
add-on, or shared library). Note that it doesn't allow to specify a
|
(application, add-on, or shared library). Note that it doesn't allow to
|
||||||
fingerprint. The language will be selected from the user preferences.
|
specify a fingerprint. The language will be selected from the user
|
||||||
|
preferences.
|
||||||
|
|
||||||
\warning This function needs the image to be lined with liblocalestub.a
|
This function is used by the Locale Kit macros.
|
||||||
|
|
||||||
|
\warning This function needs the calling image to be linked with
|
||||||
|
liblocalestub.a
|
||||||
|
|
||||||
\returns The catalog, if it was loaded successfully.
|
\returns The catalog, if it was loaded successfully.
|
||||||
|
|
||||||
|
\param catalog The catalog to load. The pointer location is used to identify
|
||||||
|
the image for which to load the catalog.
|
||||||
|
\param catalogInitStatus the state of the catalog. This will be set to true
|
||||||
|
on the first call for a given catalog, and if already true the function
|
||||||
|
will do nothing on subsequent calls.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -106,7 +106,8 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn status_t BTimeZone::SetTo(const char* zoneCode)
|
\fn status_t BTimeZone::SetTo(const char* zoneCode,
|
||||||
|
const BLanguage* language = NULL)
|
||||||
\brief Set the timezone to another code.
|
\brief Set the timezone to another code.
|
||||||
|
|
||||||
\returns \c false if there was an error (likely due to an invalid
|
\returns \c false if there was an error (likely due to an invalid
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ Flower::Water(int amount)
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn status_t BLocker::InitCheck()
|
\fn status_t BLocker::InitCheck() const
|
||||||
\brief Check whether the locker has properly initialized
|
\brief Check whether the locker has properly initialized
|
||||||
|
|
||||||
\retval B_OK The semaphore has been properly initialized
|
\retval B_OK The semaphore has been properly initialized
|
||||||
|
|||||||
Reference in New Issue
Block a user