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

# intl.h

Go to the documentation of this file.

    00001 /**************************************************************************/
    00002 /*                                                                        */
    00003 /*  parsecfg - a library for parsing a configuration file                 */
    00004 /*  Copyright (C) 1999-2001 Yuuki NINOMIYA <gm@debian.or.jp>              */
    00005 /*                                                                        */
    00006 /*  This program is free software; you can redistribute it and/or modify  */
    00007 /*  it under the terms of the GNU General Public License as published by  */
    00008 /*  the Free Software Foundation; either version 2, or (at your option)   */
    00009 /*  any later version.                                                    */
    00010 /*                                                                        */
    00011 /*  This program is distributed in the hope that it will be useful,       */
    00012 /*  but WITHOUT ANY WARRANTY; without even the implied warranty of        */
    00013 /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         */
    00014 /*  GNU General Public License for more details.                          */
    00015 /*                                                                        */
    00016 /*  You should have received a copy of the GNU General Public License     */
    00017 /*  along with this program; if not, write to the                         */
    00018 /*  Free Software Foundation, Inc., 59 Temple Place - Suite 330,          */
    00019 /*  Boston, MA 02111-1307, USA.                                           */
    00020 /*                                                                        */
    00021 /**************************************************************************/
    00022
    00023 /* $Id: intl_8h-source.html,v 1.1.1.1 2003/10/05 17:40:06 sheldonl Exp $ */
    00024
    00025 #ifndef __INTL_H__
    00026 #define __INTL_H__
    00027
    00028 #ifdef ENABLE_NLS
    00029 #  include <libintl.h>
    00030 #  define _(String) dgettext(PACKAGE,String)
    00031 #  ifdef gettext_noop
    00032 #    define N_(String) gettext_noop(String)
    00033 #  else
    00034 #    define N_(String) (String)
    00035 #  endif /* gettext_noop */
    00036 #else
    00037 #  define _(String) (String)
    00038 #  define N_(String) (String)
    00039 #  define textdomain(String) (String)
    00040 #  define gettext(String) (String)
    00041 #  define dgettext(Domain,String) (String)
    00042 #  define dcgettext(Domain,String,Type) (String)
    00043 #  define bindtextdomain(Domain,Directory) (Domain)
    00044 #endif /* ENABLE_NLS */
    00045
    00046 #endif /* __INTL_H__ */