summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Kerneloops.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-11 14:21:28 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-11 14:21:28 +0100
commit2036c6cc28f5d3f07142657ca148f8db516d9651 (patch)
tree28493a37a1cdd706012c10390d7e8b1d0acb652f /lib/Plugins/Kerneloops.h
parentd852cf2bf1bdf4a0662fbd68f76dc7feb65c97ba (diff)
downloadabrt-2036c6cc28f5d3f07142657ca148f8db516d9651.tar.gz
abrt-2036c6cc28f5d3f07142657ca148f8db516d9651.tar.xz
abrt-2036c6cc28f5d3f07142657ca148f8db516d9651.zip
added kerneloops addon and plugin (aarapov)
Diffstat (limited to 'lib/Plugins/Kerneloops.h')
-rw-r--r--lib/Plugins/Kerneloops.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/lib/Plugins/Kerneloops.h b/lib/Plugins/Kerneloops.h
new file mode 100644
index 00000000..e8137b63
--- /dev/null
+++ b/lib/Plugins/Kerneloops.h
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009, Red Hat Inc.
+ *
+ * This file is part of %TBD%
+ *
+ * This program file 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; version 2 of the License.
+ *
+ * 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 in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * Authors:
+ * Anton Arapov <anton@redhat.com>
+ */
+
+#ifndef __INCLUDE_GUARD_KERNELOOPS_H_
+#define __INCLUDE_GUARD_KERNELOOPS_H_
+
+#include "Plugin.h"
+#include "Application.h"
+
+#include <string>
+
+class CApplicationKerneloops : public CApplication
+{
+ public:
+ CApplicationKerneloops() {}
+ virtual ~CApplicationKerneloops() {}
+ 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) {}
+};
+
+PLUGIN_INFO(APPLICATION,
+ "Kerneloops",
+ "0.0.1",
+ "Abrt's Kerneloops plugin.",
+ "anton@redhat.com",
+ "https://people.redhat.com/aarapov");
+
+PLUGIN_INIT(CApplicationKerneloops);
+
+#endif