summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Firefox.h
diff options
context:
space:
mode:
authordanny <danny@raw.(none)>2009-11-13 15:19:33 +0100
committerdanny <danny@raw.(none)>2009-11-13 15:19:33 +0100
commitfd0d2cbd24a70089f292feae2dd091b1dd693dfa (patch)
treecedf9efdfae19f2c82ad8eeadab56de03c7cd0b9 /lib/Plugins/Firefox.h
parent01dde7bd2a181c371ee73d6f5e62e2cd8af983c3 (diff)
downloadabrt-fd0d2cbd24a70089f292feae2dd091b1dd693dfa.tar.gz
abrt-fd0d2cbd24a70089f292feae2dd091b1dd693dfa.tar.xz
abrt-fd0d2cbd24a70089f292feae2dd091b1dd693dfa.zip
added firefox plugin
Diffstat (limited to 'lib/Plugins/Firefox.h')
-rw-r--r--lib/Plugins/Firefox.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/lib/Plugins/Firefox.h b/lib/Plugins/Firefox.h
new file mode 100644
index 00000000..0669f4fd
--- /dev/null
+++ b/lib/Plugins/Firefox.h
@@ -0,0 +1,51 @@
+/*
+ Firefox.h - header file for Firefox analyzer plugin
+ - it can get UUID and memory maps from core files
+
+ Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com)
+ Copyright (C) 2009 RedHat inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef CCPP_H_
+#define CCPP_H_
+
+#include <string>
+#include "Plugin.h"
+#include "Analyzer.h"
+
+class CAnalyzerFirefox : public CAnalyzer
+{
+ private:
+ bool m_bMemoryMap;
+ bool m_bInstallDebugInfo;
+ unsigned m_nDebugInfoCacheMB;
+ std::string m_sOldCorePattern;
+ std::string m_sDebugInfo;
+
+ public:
+ CAnalyzerFirefox();
+ virtual std::string GetLocalUUID(const char *pDebugDumpDir);
+ virtual std::string GetGlobalUUID(const char *pDebugDumpDir);
+ virtual void CreateReport(const char *pDebugDumpDir, int force);
+ virtual void Init();
+ virtual void DeInit();
+ virtual void SetSettings(const map_plugin_settings_t& pSettings);
+//ok to delete?
+// virtual const map_plugin_settings_t& GetSettings();
+};
+
+#endif /* CCPP */