eaa5e0936d
* make the system catalog a BCatalog instead of a BCatalogAddOn*, such that using a non-existing system catalog won't crash but simply return the untranslated string instead * rename MutableLocaleRoster::GetSystemCatalog() to LoadSystemCatalog() and adjust it to use BCatalog::SetTo() in order to replace the data used by the given catalog * adjust all users of gSystemCatalog accordingly
19 lines
302 B
C++
19 lines
302 B
C++
/*
|
|
* Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _SYSTEM_CATALOG_H_
|
|
#define _SYSTEM_CATALOG_H_
|
|
|
|
|
|
#include <Catalog.h>
|
|
|
|
namespace BPrivate {
|
|
|
|
extern BCatalog gSystemCatalog;
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif // _SYSTEM_CATALOG_H_
|