Tizen 2.0 Release
[framework/uifw/ise-engine-anthy.git] / src / scim_anthy_intl.h
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  *  Copyright (C) Hiroyuki Ikezoe <poincare@ikezoe.net>
4  *  Copyright (C) 2004 - 2005 Takuro Ashie <ashie@homa.ne.jp>
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2, or (at your option)
9  *  any later version.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __INTL_H__
22 #define __INTL_H__
23
24 #ifdef HAVE_CONFIG_H
25   #include <config.h>
26 #endif
27
28 #ifdef HAVE_GETTEXT
29   #include <libintl.h>
30   #define _(String) dgettext(GETTEXT_PACKAGE,String)
31   #define N_(String) (String)
32 #else
33   #define _(String) (String)
34   #define N_(String) (String)
35   #define bindtextdomain(Package,Directory)
36   #define textdomain(domain)
37   #define bind_textdomain_codeset(domain,codeset)
38 #endif
39
40 #endif /* __INTL_H__ */