Functions

resources.h File Reference

#include "common/common.h"
Include dependency graph for resources.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int getResourceNamespaceCount (void) throw ()
 retrieve the number of namespaces
const char * getResourceNamespaceName (int index) throw ()
 retrieve the indexed namespace name. Returns NULL on invalid input
int getStringResourceCount (const char *nameSpace) throw ()
 retrieve the number of string resources in the specified namespace
const char * getStringResourceName (const char *nameSpace, int index) throw ()
 retrieve the name of a given string resource
const char * getStringResource (const char *nameSpace, const char *name) throw ()
 retrieve a string resource by name (returns NULL if not found)
void registerStringResource (const char *nameSpace, const char *name, const char *value)
 register a new string resource in the given namespace