Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-studio / tags / 0.61.08 / src / synfigapp / general.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file synfigapp/general.h
3 **      \brief Te
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2007 Paul Wise
9 **      Copyright (c) 2007 Chris Moore
10 **
11 **      This package is free software; you can redistribute it and/or
12 **      modify it under the terms of the GNU General Public License as
13 **      published by the Free Software Foundation; either version 2 of
14 **      the License, or (at your option) any later version.
15 **
16 **      This package 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 GNU
19 **      General Public License for more details.
20 **      \endlegal
21 */
22 /* ========================================================================= */
23
24 /* === S T A R T =========================================================== */
25
26 #ifndef __SYNFIGAPP_GENERAL_H
27 #define __SYNFIGAPP_GENERAL_H
28
29 /* === H E A D E R S ======================================================= */
30
31 #ifdef ENABLE_NLS
32 #include <libintl.h>
33 #endif
34
35 /* === M A C R O S ========================================================= */
36
37 #undef _
38 #undef gettext_noop
39 #undef N_
40 #ifdef ENABLE_NLS
41 #define _(x) dgettext("synfigstudio",x)
42 #define gettext_noop(x) x
43 #define N_(x) gettext_noop(x)
44 #else
45 #define _(x) (x)
46 #define N_(x) (x)
47 #define gettext(x) (x)
48 #endif
49
50 /* === T Y P E D E F S ===================================================== */
51
52 /* === C L A S S E S & S T R U C T S ======================================= */
53
54 /* === E N D =============================================================== */
55
56 #endif