haiku/docs/user/locale/Country.dox
Adrien Destugues a33f8fbdec Merge work by John Scipione on the Haiku Book.
* Some new classes documented
 * Screenshots for the interface kit controls
 * A lot of typo fixes
 * Some css tweaks

This has some backporting to the current version of Doxygen, since 
there are experiments to get coloring similar to the one in the Be 
Book that will hopefully be upstreamed in Doxygen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-09 21:46:13 +00:00

92 lines
2.0 KiB
Plaintext

/*
* Copyright 2011, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Axel Dörfler, axeld@pinc-software.de.
* Adrien Destugues, pulkomandy@gmail.com.
* John Scipione, jscipione@gmail.com
*
* Corresponds to:
* /trunk/headers/os/locale/Country.h rev 42274
* /trunk/src/kits/locale/Country.cpp rev 42274
*/
/*! \file Country.h
\brief BCountry class definition.
*/
/*! \class BCountry
\ingroup locale
\brief Class representing a country
BCountry provides all the information about a particular country.
This includes the country flag (as an HVIF icon), the localized name
of the country, and the ISO country code.
Date, time, and numer formatting also depends to some extent on the
language used, so they are found in the BLocale class instead.
*/
/*!
\fn BCountry::BCountry(const char* countryCode)
\brief Initialize a BCountry from a country code.
\param countryCode The country code to initialize from.
*/
/*!
\fn BCountry::BCountry(const BCountry& other)
\brief Initialize a BCountry from another BCountry object.
\param other The BCountry object to initialize from.
*/
/*!
\fn BCountry& BCountry::operator=(const BCountry& other)
*/
/*!
\fn BCountry::~BCountry()
\brief Destructor method.
*/
/*!
\fn bool BCountry::GetName(BString& name) const
\brief Get the name of the country.
Fills in the name parameter with the name of the country in the
language set by the user's locale.
*/
/*!
\fn const char* BCountry::Code() const
\brief Gets the ISO country code for the country.
\returns The ISO country code for the country.
*/
/*!
\fn status_t BCountry::GetIcon(BBitmap* result) const;
\brief Render the country's flag to the given BBitmap.
This function renders the country's flag to the given BBitmap. The bitmap
should already be set to the pixel format and size you want to use.
The flag is stored in HVIF format so it can be rendered at any size and
color depth.
\param result The BBitmap to drag the flag into.
\returns \c B_OK if the drawing was successful.
*/