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 |
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 NLS_SWAP_IN |
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 |
if(nls_swap_tmp != "") \ textdomain(nls_swap_tmp.c_str())
Definition at line 50 of file nls_swap.hpp.