Choreonoid  1.5
Classes | Namespaces | Macros | Functions
GettextUtil.h File Reference
#include "exportdecl.h"

Go to the source code of this file.

Classes

class  cnoid::GettextDomainBinder
 

Namespaces

 cnoid
 Defines the minimum processing for performing pasing file for STL.
 

Macros

#define CNOID_BIND_GETTEXT_DOMAN()   namespace { cnoid::GettextDomainBinder cnoidGettextDomainBinder(CNOID_GETTEXT_DOMAIN_NAME); }
 

Functions

CNOID_EXPORT void cnoid::bindGettextDomain (const char *domainname)
 

Detailed Description

Author
Shin'ichiro Nakaoka

Macro Definition Documentation

#define CNOID_BIND_GETTEXT_DOMAN ( )    namespace { cnoid::GettextDomainBinder cnoidGettextDomainBinder(CNOID_GETTEXT_DOMAIN_NAME); }

Implement this once in a shared library to bind a gettext domain. The "gettext.h" header must be included before using this macro.