1 /** @file scim_private.h
2  *  private used headers are included in this header.
3  */
4 
5 /*
6  * Smart Common Input Method
7  *
8  * Copyright (c) 2002-2005 James Su <suzhe@tsinghua.org.cn>
9  *
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU Lesser General Public License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public
22  * License along with this program; if not, write to the
23  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
24  * Boston, MA  02111-1307  USA
25  *
26  * $Id: scim_private.h,v 1.11 2005/01/10 08:30:54 suzhe Exp $
27  */
28 
29 #ifndef __SCIM_PRIVATE_H
30 #define __SCIM_PRIVATE_H
31 
32 // Include scim configuration header
33 #ifdef HAVE_CONFIG_H
34   #include <config.h>
35 #endif
36 
37 #if defined(HAVE_LIBINTL_H) && defined(ENABLE_NLS)
38   #include <libintl.h>
39   #define _(String) dgettext(GETTEXT_PACKAGE,String)
40   #define N_(String) (String)
41 #else
42   #define _(String) (String)
43   #define N_(String) (String)
44   #define bindtextdomain(Package,Directory)
45   #define textdomain(domain)
46   #define bind_textdomain_codeset(domain,codeset)
47 #endif
48 
49 #endif //__SCIM_PRIVATE_H
50 
51 /*
52 vi:ts=4:nowrap:ai:expandtab
53 */
54