26 #ifndef __TERRALIB_COMMON_INTERNAL_TRANSLATOR_H
27 #define __TERRALIB_COMMON_INTERNAL_TRANSLATOR_H
32 #if TE_TRANSLATOR_ENABLED
118 friend class Singleton<Translator>;
140 const char* translate(
const std::string& message,
141 const std::string& textDomain);
156 const char* translate(
const char* message,
157 const char* textDomain);
174 const char* translate(
const std::string& textDomain,
175 const std::string& msg1,
176 const std::string& msg2,
194 const char* translate(
const char* textDomain,
209 const char* addTextDomain(
const std::string& textDomain,
const std::string& textDomainDir);
221 const char* setTextDomainCodeSet(
const std::string& textDomain,
const std::string& codeset);
228 bool exist(
const std::string& textDomain);
239 std::string getTextDomainDir(
const std::string& textDomain);
254 std::map<std::string, std::string> m_textDomainMap;
260 #endif // TE_TRANSLATOR_ENABLED
262 #endif // __TERRALIB_COMMON_INTERNAL_TRANSLATOR_H
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
Template support for singleton pattern.
Configuration flags for the TerraLib Common Runtime module.