Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

include/gimp-print/gimp-print-intl.h

Go to the documentation of this file.
00001 /*
00002  * "$Id: gimp-print-intl.h,v 1.5 2004/04/25 12:17:49 rleigh Exp $"
00003  *
00004  *   I18N header file for Gimp-Print.
00005  *
00006  *   Copyright 1997-2000 Michael Sweet (mike@easysw.com),
00007  *      Robert Krawitz (rlk@alum.mit.edu) and Michael Natterer (mitch@gimp.org)
00008  *
00009  *   This program is free software; you can redistribute it and/or modify it
00010  *   under the terms of the GNU General Public License as published by the Free
00011  *   Software Foundation; either version 2 of the License, or (at your option)
00012  *   any later version.
00013  *
00014  *   This program is distributed in the hope that it will be useful, but
00015  *   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00016  *   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00017  *   for more details.
00018  *
00019  *   You should have received a copy of the GNU General Public License
00020  *   along with this program; if not, write to the Free Software
00021  *   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00022  */
00023 
00029 #ifndef GIMP_PRINT_INTL_H
00030 #define GIMP_PRINT_INTL_H
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 
00048 #ifdef INCLUDE_LOCALE_H
00049 INCLUDE_LOCALE_H
00050 #else
00051 #include <locale.h>
00052 #endif
00053 
00054 #ifdef ENABLE_NLS
00055 
00056 #include <libintl.h>
00057 #ifndef _
00058 
00059 #define _(String) gettext (String)
00060 #endif
00061 #ifndef gettext_noop
00062 
00063 #define gettext_noop(String) (String)
00064 #endif
00065 #ifdef gettext_noop
00066 
00067 # define N_(String) gettext_noop (String)
00068 #else
00069 
00070 # define N_(String) (String)
00071 #endif
00072 
00073 #else /* ifndef ENABLE_NLS */
00074 /* Stubs that do something close enough.  */
00075 #    define textdomain(String) (String)
00076 #    define gettext(String) (String)
00077 #    define dgettext(Domain,Message) (Message)
00078 #    define dcgettext(Domain,Message,Type) (Message)
00079 #    define bindtextdomain(Domain,Directory) (Domain)
00080 #    define _(String) (String)
00081 #    define N_(String) (String)
00082 
00083 #endif
00084 
00087 #ifdef __cplusplus
00088   }
00089 #endif
00090 
00091 #endif /* GIMP_PRINT_INTL_H */

Generated on Wed Aug 25 07:56:13 2004 for libgimpprint API Reference by doxygen 1.3.6