summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/CCpp.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-03-19 14:29:35 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-03-19 14:29:35 +0100
commitd698cf9bca1ac7f5c1a989161ea959a895900273 (patch)
tree1f63a97e9b7aa3eb50ccedc6afa26ecd69ed52d4 /lib/Plugins/CCpp.h
parent700d189946cecea3461cb89b5a755dbfdb578e71 (diff)
downloadabrt-d698cf9bca1ac7f5c1a989161ea959a895900273.tar.gz
abrt-d698cf9bca1ac7f5c1a989161ea959a895900273.tar.xz
abrt-d698cf9bca1ac7f5c1a989161ea959a895900273.zip
replaced language and application plugins by analyzer plugin
added action plugin simplify plugin iface
Diffstat (limited to 'lib/Plugins/CCpp.h')
-rw-r--r--lib/Plugins/CCpp.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/Plugins/CCpp.h b/lib/Plugins/CCpp.h
index 9d169ee4..e89d7000 100644
--- a/lib/Plugins/CCpp.h
+++ b/lib/Plugins/CCpp.h
@@ -1,5 +1,5 @@
/*
- CCpp.h - header file for C/C++ language plugin
+ CCpp.h - header file for C/C++ analyzer plugin
- it can ger UUID and memory maps from core files
Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com)
@@ -25,9 +25,9 @@
#include <string>
#include "Plugin.h"
-#include "Language.h"
+#include "Analyzer.h"
-class CLanguageCCpp : public CLanguage
+class CAnalyzerCCpp : public CAnalyzer
{
private:
bool m_bMemoryMap;
@@ -38,24 +38,23 @@ class CLanguageCCpp : public CLanguage
void RunCommand(const std::string&pCommand, std::string& pOutput);
public:
- CLanguageCCpp();
- virtual ~CLanguageCCpp() {}
+ CAnalyzerCCpp();
+ virtual ~CAnalyzerCCpp() {}
std::string GetLocalUUID(const std::string& pDebugDumpDir);
std::string GetGlobalUUID(const std::string& pDebugDumpDir);
void CreateReport(const std::string& pDebugDumpDir);
void Init();
void DeInit();
- void SetSettings(const map_settings_t& pSettings);
+ void LoadSettings(const std::string& pPath);
};
-PLUGIN_INFO(LANGUAGE,
+PLUGIN_INFO(ANALYZER,
+ CAnalyzerCCpp,
"CCpp",
"0.0.1",
- "Simple C/C++ language plugin.",
+ "Simple C/C++ analuzer plugin.",
"zprikryl@redhat.com",
"https://fedorahosted.org/crash-catcher/wiki");
-PLUGIN_INIT(CLanguageCCpp);
-
#endif /* CCPP */