2010-05-18 00:59:33 -07:00
|
|
|
#ifndef E_MOD_MAIN_H
|
|
|
|
#define E_MOD_MAIN_H
|
|
|
|
|
2011-06-06 10:36:38 -07:00
|
|
|
#ifdef ENABLE_NLS
|
|
|
|
# include <libintl.h>
|
2012-12-22 15:44:20 -08:00
|
|
|
# define _(string) dgettext(PACKAGE, string)
|
2011-06-06 10:36:38 -07:00
|
|
|
#else
|
|
|
|
# define bindtextdomain(domain,dir)
|
|
|
|
# define bind_textdomain_codeset(domain,codeset)
|
2012-12-22 15:44:20 -08:00
|
|
|
# define _(string) (string)
|
2011-06-06 10:36:38 -07:00
|
|
|
#endif
|
2011-04-08 17:05:45 -07:00
|
|
|
#define N_(str) (str)
|
2010-05-18 00:59:33 -07:00
|
|
|
|
|
|
|
EAPI extern E_Module_Api e_modapi;
|
|
|
|
|
|
|
|
EAPI void *e_modapi_init (E_Module *m);
|
|
|
|
EAPI int e_modapi_shutdown (E_Module *m);
|
|
|
|
EAPI int e_modapi_save (E_Module *m);
|
|
|
|
|
|
|
|
#endif
|