Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

gettext.h

Go to the documentation of this file.
00001 #ifndef LEOHTML_GETTEXT_H
00002 #define LEOHTML_GETTEXT_H
00003 
00004 #ifdef HAVE_CONFIG_H
00005 #  include <config.h>
00006 #endif
00007 
00008 #ifdef ENABLE_NLS
00009 #  include <locale.h>
00010 #    include <libintl.h>
00011 #    define _(String) gettext (String)
00012 #    ifdef gettext_noop
00013 #        define N_(String) gettext_noop (String)
00014 #    else
00015 #        define N_(String) (String)
00016 #    endif
00017 #else
00018 /* Stubs that do something close enough.  */
00019 #    define textdomain(String) (String)
00020 #    define gettext(String) (String)
00021 #    define dgettext(Domain,Message) (Message)
00022 #    define dcgettext(Domain,Message,Type) (Message)
00023 #    define bindtextdomain(Domain,Directory) (Domain)
00024 #    define setlocale( a, b) ;
00025 #    define _(String) (String)
00026 #    define N_(String) (String)
00027 #endif
00028 
00029 extern const char* LEOHTML_VERSION;
00030 extern const bool  LEOHTML_IMAGE_SIZE_SUPPORT;
00031 extern const bool  LEOHTML_CHAR_SET_SUPPORT;
00032 
00033 #endif

Generated on Tue Nov 20 02:19:52 2001 for Leo<HTML> by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001