Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

scim_private.h

Go to the documentation of this file.
00001 /** @file scim_private.h
00002  *  private used headers are included in this header.
00003  */
00004 
00005 /* 
00006  * Smart Common Input Method
00007  * 
00008  * Copyright (c) 2004 James Su <suzhe@turbolinux.com.cn>
00009  * Copyright (c) 2003 James Su <suzhe@turbolinux.com.cn>
00010  * Copyright (c) 2002 James Su <suzhe@turbolinux.com.cn>
00011  *
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Lesser General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  * GNU Lesser General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public
00024  * License along with this program; if not, write to the
00025  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
00026  * Boston, MA  02111-1307  USA
00027  *
00028  * $Id: scim_private.h,v 1.9 2004/05/01 13:31:31 suzhe Exp $
00029  */
00030 
00031 #ifndef __SCIM_PRIVATE_H
00032 #define __SCIM_PRIVATE_H
00033 
00034 // Include scim configuration header
00035 #ifdef HAVE_CONFIG_H
00036   #include <config.h>
00037 #endif
00038 
00039 #if defined(HAVE_LIBINTL_H) && defined(ENABLE_NLS)
00040   #include <libintl.h>
00041   #define _(String) dgettext(GETTEXT_PACKAGE,String)
00042   #define N_(String) (String)
00043 #else
00044   #define _(String) (String)
00045   #define N_(String) (String)
00046   #define bindtextdomain(Package,Directory)
00047   #define textdomain(domain)
00048   #define bind_textdomain_codeset(domain,codeset)
00049 #endif
00050 
00051 #endif //__SCIM_PRIVATE_H
00052 
00053 /*
00054 vi:ts=4:nowrap:ai:expandtab
00055 */

Generated on Tue Apr 19 00:10:59 2005 for scim by  doxygen 1.4.1