diff options
Diffstat (limited to 'plugins/plugin_test1.cpp')
| -rw-r--r-- | plugins/plugin_test1.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/plugin_test1.cpp b/plugins/plugin_test1.cpp new file mode 100644 index 0000000..e02612c --- /dev/null +++ b/plugins/plugin_test1.cpp | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | * plugin_test1.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 | #include "plugin_test1.hpp" | ||
| 22 | |||
| 23 | plugin_test::plugin_test() | ||
| 24 | { std::cout << "constructor of plugin I.\n"; } | ||
| 25 | |||
| 26 | void plugin_test::dosomething() | ||
| 27 | { std::cout << "teste dosomething in plugin I.\n"; } | ||
| 28 | |||
| 29 | const int plugin_test::get_version() | ||
| 30 | { return VERSION; } | ||
| 31 | |||
| 32 | // the class factories | ||
| 33 | extern "C" plugin_test* create() | ||
| 34 | { return new plugin_test; } | ||
| 35 | |||
