GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

i18n.hh

Go to the documentation of this file.
00001 /* GFC-Core: GTK+ Foundation Classes (Core Library) 00002 * Copyright (C) 2003-2004 The GFC Development Team. 00003 * Copyright (C) 2000 Red Hat, Inc. 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Library General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 */ 00019 00024 00025 #ifndef GFC_INTL_HH 00026 #define GFC_INTL_HH 00027 00028 #ifndef GFC_UTF_STRING_HH 00029 #include <gfc/utfstring.hh> 00030 #endif 00031 00036 00037 #ifndef GFC_NO_INTL_NOOP_MARKER 00038 #ifndef N_ 00039 #define N_(str) (str) 00040 #endif 00041 #endif 00042 00043 namespace GFC { 00044 00045 #ifdef _ 00046 #error "You can't include headers that define the _ macro before gfc/i18n.h" 00047 #endif 00048 00051 00052 const char* _(const String& str); 00064 00065 const char* _(const String& str, const char *domain); 00079 00081 00082 namespace i18n { 00083 00084 const char* set_text_domain(const char *domain); 00093 00094 const char* set_text_domain_dir(const char *domain, const char *dir); 00108 00109 } // namepsace i18n 00110 00111 } // namepace GFC 00112 00113 #endif // GFC_INTL_HH 00114

Generated on Tue Aug 24 00:04:56 2004 for GFC-Core by doxygen 1.3.8