diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-30 17:46:26 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-30 17:46:26 +0100 |
| commit | 70e0330d6919b3e7e372e5cdd04282a51fe64788 (patch) | |
| tree | 1433a08aaddd14bd01c59acccd9080de9239e675 /lib/Utils/Plugin.h | |
| parent | 7ed940376e92f31dd7fb79720788d6b6f7425b43 (diff) | |
| download | abrt-70e0330d6919b3e7e372e5cdd04282a51fe64788.tar.gz abrt-70e0330d6919b3e7e372e5cdd04282a51fe64788.tar.xz abrt-70e0330d6919b3e7e372e5cdd04282a51fe64788.zip | |
lib/Plugins/Bugzilla: generate less sparse bug report comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/Plugin.h')
| -rw-r--r-- | lib/Utils/Plugin.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/Utils/Plugin.h b/lib/Utils/Plugin.h index 3929023..eabfa10 100644 --- a/lib/Utils/Plugin.h +++ b/lib/Utils/Plugin.h @@ -24,17 +24,10 @@ #define PLUGIN_H_ #include "abrt_types.h" - -#define PLUGINS_MAGIC_NUMBER 6 - -#define PLUGINS_CONF_EXTENSION "conf" -#define PLUGINS_LIB_EXTENSION "so" -#define PLUGINS_LIB_PREFIX "lib" - +#include "CrashTypes.h" #if HAVE_CONFIG_H #include <config.h> #endif - #if ENABLE_NLS #include <libintl.h> #define _(S) gettext(S) @@ -42,6 +35,12 @@ #define _(S) (S) #endif +#define PLUGINS_MAGIC_NUMBER 6 + +#define PLUGINS_CONF_EXTENSION "conf" +#define PLUGINS_LIB_EXTENSION "so" +#define PLUGINS_LIB_PREFIX "lib" + /** * An abstract class. The class defines a common plugin interface. If a plugin * has some settings, then a *Settings(*) method has to be written. @@ -115,4 +114,7 @@ typedef struct SPluginInfo PLUGINS_MAGIC_NUMBER,\ }; -#endif /* PLUGIN_H_ */ +/* helper finctions */ +std::string make_description_bz(const map_crash_report_t& pCrashReport); + +#endif |
