Namespaces | |
namespace | CP_Strings |
Get a localized string from the common table. | |
CP_String | GetLocalizedString (const char *inKey, const char *inComment) |
CP_String | GetLocalizedString (const CP_String &inKey, const char *inComment) |
Get a localized string from a specific table. | |
CP_String | GetLocalizedStringFromTable (const char *inKey, const char *inTable, const char *inComment) |
CP_String | GetLocalizedStringFromTable (const CP_String &inKey, const char *inTable, const char *inComment) |
Defines | |
#define | GetLocalizedString(str, comment) _CP_GetLocalizedString(str) |
Macro to map GetLocalizedString call with comment string to 'real' API, hiding the comment. | |
#define | GetLocalizedStringFromTable(str, table, comment) _CP_GetLocalizedString_FromTable(str, table) |
Macro to map GetLocalizedStringFromTable call with comment string to 'real' API, hiding the comment. | |
Functions | |
CP_String | GetString (SInt16 inResID, SInt16 inIndex) |
|
|
|
|
|
Loads a string resource from the resource with the passed in inResID, and inIndex into the string resource.
|
|
Pseudo API to get a localized string from the common string table. Fetches the string specified by inKey from the common string table (e.g. Localizable.strings on Mac OS). The comment parameter is only used by the genstrings tool to construct the string tables. It's hidden from the compiler using the macros defined below, which map this API to the comment-less private APIs that do the string fetching business.
|
|
|
|
Pseudo API to get a localized string from the speicified string table. Fetches the string specified by inKey from the specified string table (e.g. <name>.strings on Mac OS). The comment parameter is only used by the genstrings tool to construct the string tables. It's hidden from the compiler using the macros defined below, which map this API to the comment-less private APIs that do the string fetching business.
|
|
|