summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Python.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-21 09:37:03 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-21 09:37:03 +0200
commitb314b5e7fc624eb35406bdc550c1387fb43fff0a (patch)
tree0c59934e9dc11b951021f9a940253a8f25cdb102 /lib/Plugins/Python.h
parentb67b664e6f3019a142996c5bdc3a2e8c32f4306a (diff)
downloadabrt-b314b5e7fc624eb35406bdc550c1387fb43fff0a.tar.gz
abrt-b314b5e7fc624eb35406bdc550c1387fb43fff0a.tar.xz
abrt-b314b5e7fc624eb35406bdc550c1387fb43fff0a.zip
Initial Python plugin
Diffstat (limited to 'lib/Plugins/Python.h')
-rw-r--r--lib/Plugins/Python.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/Plugins/Python.h b/lib/Plugins/Python.h
new file mode 100644
index 0000000..205d232
--- /dev/null
+++ b/lib/Plugins/Python.h
@@ -0,0 +1,29 @@
+#ifndef PYTHON_H_
+#define PYTHON_H_
+
+#include <string>
+#include "Plugin.h"
+#include "Analyzer.h"
+
+class CAnalyzerPython : public CAnalyzer
+{
+ public:
+ virtual ~CAnalyzerPython() {}
+ virtual std::string GetLocalUUID(const std::string& pDebugDumpDir);
+ virtual std::string GetGlobalUUID(const std::string& pDebugDumpDir);
+ virtual void CreateReport(const std::string& pDebugDumpDir) {}
+ virtual void Init();
+ virtual void DeInit();
+};
+
+
+PLUGIN_INFO(ANALYZER,
+ CAnalyzerPython,
+ "Python",
+ "0.0.1",
+ "Simple Python analyzer plugin.",
+ "zprikryl@redhat.com",
+ "https://fedorahosted.org/abrt/wiki");
+
+
+#endif /* PYTHON_H_ */