aboutsummaryrefslogtreecommitdiff
path: root/tests/guy.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-06-05 20:18:00 +0000
committerMike Buland <eichlan@xagasoft.com>2006-06-05 20:18:00 +0000
commit579a58106e541ef4a005eceaf4577048c69fa539 (patch)
treed90589bd8e3711a042e8f21305549e2c3be2cf0c /tests/guy.cpp
parentfa7df2006c0e241314212644c1ec5e362220defd (diff)
downloadlibbu++-579a58106e541ef4a005eceaf4577048c69fa539.tar.gz
libbu++-579a58106e541ef4a005eceaf4577048c69fa539.tar.bz2
libbu++-579a58106e541ef4a005eceaf4577048c69fa539.tar.xz
libbu++-579a58106e541ef4a005eceaf4577048c69fa539.zip
Fixes to the plugin system, it's a little tricky to test, but it's looking good.
Diffstat (limited to '')
-rw-r--r--tests/guy.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/guy.cpp b/tests/guy.cpp
new file mode 100644
index 0000000..6510771
--- /dev/null
+++ b/tests/guy.cpp
@@ -0,0 +1,22 @@
1#include "stdio.h"
2#include "plugin.h"
3#include "plugger.h"
4
5class Guy : public Plugin
6{
7public:
8 Guy()
9 {
10 printf("I'm guy!\n");
11 }
12
13 virtual ~Guy()
14 {
15 printf("Guy is dead...\n");
16 }
17
18private:
19};
20
21PluginInterface( Guy, Plugin, "Mike", 0, 1 )
22