Source code upload
[framework/connectivity/libgphoto2.git] / camlibs / sonydscf55 / nls.h
1 /* Sony DSC-F55 & MSAC-SR1 - gPhoto2 camera library
2  *
3  * This library is free software; you can redistribute it and/or
4  * modify it under the terms of the GNU Library General Public
5  * License as published by the Free Software Foundation; either
6  * version 2 of the License, or (at your option) any later version.
7  *
8  * This library is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11  * Library General Public License for more details.
12  *
13  * You should have received a copy of the GNU Library General Public
14  * License along with this library; if not, write to the
15  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16  * Boston, MA 02111-1307, USA.
17  */
18
19 #ifndef NLS_H
20 #define NLS_H
21
22 #ifdef ENABLE_NLS
23 #  include <libintl.h>
24 #  undef _
25 #  define _(String) dgettext (GETTEXT_PACKAGE, String)
26 #  ifdef gettext_noop
27 #    define N_(String) gettext_noop (String)
28 #  else
29 #    define N_(String) (String)
30 #  endif
31 #else
32 #  define textdomain(String) (String)
33 #  define gettext(String) (String)
34 #  define dgettext(Domain,Message) (Message)
35 #  define dcgettext(Domain,Message,Type) (Message)
36 #  define bindtextdomain(Domain,Directory) (Domain)
37 #  define _(String) (String)
38 #  define N_(String) (String)
39 #endif
40
41 #endif                          /* NLS_H */