LiVES  2.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
support.h
Go to the documentation of this file.
1 // support.h
2 // LiVES
3 // portions of this file were auto-generated by glade, the remainder is (c) G. Finch (salsaman)
4 
5 // released under the GNU GPL 3 or later
6 // see file ../COPYING or www.gnu.org for licensing details
7 
8 #ifndef HAS_LIVES_SUPPORT_H
9 #define HAS_LIVES_SUPPORT_H
10 
11 #include <gtk/gtk.h>
12 
13 /*
14  * Standard gettext macros.
15  */
16 #ifdef ENABLE_NLS
17 
18 gchar *trString;
19 gchar *translate(const char *String);
20 gchar *translate_with_plural(const char *String, const char *StringPlural, unsigned long int n);
21 
22 # include <libintl.h>
23 # undef _
24 # define _(String) (translate(String))
25 # define P_(String,StringPlural,n) (translate_with_plural(String,StringPlural,n))
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