From 579a58106e541ef4a005eceaf4577048c69fa539 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Jun 2006 20:18:00 +0000 Subject: Fixes to the plugin system, it's a little tricky to test, but it's looking good. --- tests/guy.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/guy.cpp (limited to 'tests/guy.cpp') 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 @@ +#include "stdio.h" +#include "plugin.h" +#include "plugger.h" + +class Guy : public Plugin +{ +public: + Guy() + { + printf("I'm guy!\n"); + } + + virtual ~Guy() + { + printf("Guy is dead...\n"); + } + +private: +}; + +PluginInterface( Guy, Plugin, "Mike", 0, 1 ) + -- cgit v1.2.3