diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-09-02 12:16:13 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-09-02 12:16:13 +0200 |
| commit | 5b79533ec48b0ec9eb2cdd5cafc705160a486888 (patch) | |
| tree | 9800012383e1cb4e27d8fb42d91cb3591f93e15a /lib/MiddleWare | |
| parent | d28efd514ea109db680dd143fe9bcad147d0730f (diff) | |
| parent | 84ae8a43927b479a8b3565e43d0b3a109b164c21 (diff) | |
| download | abrt-5b79533ec48b0ec9eb2cdd5cafc705160a486888.tar.gz abrt-5b79533ec48b0ec9eb2cdd5cafc705160a486888.tar.xz abrt-5b79533ec48b0ec9eb2cdd5cafc705160a486888.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/MiddleWare')
| -rw-r--r-- | lib/MiddleWare/Plugin.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/MiddleWare/Plugin.h b/lib/MiddleWare/Plugin.h index f3533a1..3929023 100644 --- a/lib/MiddleWare/Plugin.h +++ b/lib/MiddleWare/Plugin.h @@ -31,6 +31,17 @@ #define PLUGINS_LIB_EXTENSION "so" #define PLUGINS_LIB_PREFIX "lib" +#if HAVE_CONFIG_H + #include <config.h> +#endif + +#if ENABLE_NLS + #include <libintl.h> + #define _(S) gettext(S) +#else + #define _(S) (S) +#endif + /** * An abstract class. The class defines a common plugin interface. If a plugin * has some settings, then a *Settings(*) method has to be written. |
