Pyro higlevel API
|
Classes | |
class | Private |
Public Member Functions | |
Locale () | |
Locale (int nCategory) | |
Locale (const Locale &cLocale) | |
~Locale () | |
const String & | GetName () const |
void | SetName (const String &cName) |
StreamableIO * | GetLocalizedResourceStream (const String &cName) |
StreamableIO * | GetResourceStream (const String &cName) |
Catalog * | GetLocalizedCatalog (const String &cName) |
StreamableIO * | GetSystemResourceStream (const String &cName) |
StreamableIO * | GetLocalizedSystemResourceStream (const String &cName) |
Catalog * | GetLocalizedSystemCatalog (const String &cName) |
const Locale & | operator= (const Locale &cLocale) |
Static Public Member Functions | |
static const Locale & | GetSystemDefaultLocale () |
Locale::Locale | ( | ) |
References SetName().
Locale::Locale | ( | int | nCategory | ) |
References SetName().
Locale::~Locale | ( | ) |
References GetResourceStream(), os::Catalog::Load(), and os::Locale::Private::m_cLang.
Referenced by os::Application::SetCatalog().
StreamableIO * Locale::GetLocalizedResourceStream | ( | const String & | cName | ) |
References GetResourceStream(), and os::Locale::Private::m_cName.
References GetSystemResourceStream(), os::Catalog::Load(), and os::Locale::Private::m_cLang.
Referenced by os::FileRequester::FileRequester(), os::IconDirectoryView::IconDirectoryView(), InfoWin::InfoWin(), MountDialogWin::MountDialogWin(), NewDirWin::NewDirWin(), RenameFileWin::RenameFileWin(), and UnmountThread().
StreamableIO * Locale::GetLocalizedSystemResourceStream | ( | const String & | cName | ) |
References GetResourceStream(), and os::Locale::Private::m_cName.
const String & Locale::GetName | ( | ) | const |
References os::Locale::Private::m_cName.
Referenced by Locale(), and operator=().
StreamableIO * Locale::GetResourceStream | ( | const String & | cName | ) |
References os::Locale::Private::GetResources(), and os::Resources::GetResourceStream().
Referenced by GetLocalizedCatalog(), GetLocalizedResourceStream(), and GetLocalizedSystemResourceStream().
|
static |
StreamableIO * Locale::GetSystemResourceStream | ( | const String & | cName | ) |
References os::Resources::GetResourceStream(), and os::Locale::Private::GetSystemResources().
Referenced by GetLocalizedSystemCatalog().
References os::Locale::Private::Clear(), GetName(), os::Locale::Private::Init(), and SetName().
void Locale::SetName | ( | const String & | cName | ) |
References os::Locale::Private::m_cName.
Referenced by Locale(), and operator=().