nls_swap.hpp File Reference

provides a set of macro to change the NLS from user application domaine to libdar domain and viceversa More...

#include "../my_config.h"
#include "tools.hpp"

Go to the source code of this file.

Defines

#define NLS_SWAP_IN
#define NLS_SWAP_OUT

Detailed Description

provides a set of macro to change the NLS from user application domaine to libdar domain and viceversa

Definition in file nls_swap.hpp.


Define Documentation

#define NLS_SWAP_IN
Value:
string nls_swap_tmp;                   \
         if(textdomain(NULL) != NULL)           \
         {                                      \
             nls_swap_tmp = textdomain(NULL);   \
             textdomain(PACKAGE);               \
         }                                      \
         else                                   \
             nls_swap_tmp = ""

Definition at line 39 of file nls_swap.hpp.

#define NLS_SWAP_OUT
Value:
if(nls_swap_tmp != "")                                   \
            textdomain(nls_swap_tmp.c_str())

Definition at line 50 of file nls_swap.hpp.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines

Generated on Sun Feb 26 12:45:46 2012 for Disk ARchive by  doxygen 1.6.1