summaryrefslogtreecommitdiff
path: root/plugins/plugin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/plugin.hpp')
-rw-r--r--plugins/plugin.hpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/plugin.hpp b/plugins/plugin.hpp
new file mode 100644
index 0000000..9a354c2
--- /dev/null
+++ b/plugins/plugin.hpp
@@ -0,0 +1,39 @@
1/*
2 * plugin.hpp <PLUGINMANAGER>
3 *
4 * Copyright 2009 Max Christian Pohle <coderz@gmx.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22#ifndef PLUGIN_HPP
23#define PLUGIN_HPP
24 #include <string>
25 #include <sstream>
26 #include <dlfcn.h>
27 #include <iostream>
28
29 using namespace std;
30 class Plugin
31 {
32 private:
33 int version;
34 public:
35 //Plugin() : version(0)
36 virtual const int get_version() = 0;
37 virtual void dosomething() = 0;
38 };
39#endif
..