From fa7df2006c0e241314212644c1ec5e362220defd Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Jun 2006 20:04:28 +0000 Subject: Added a complete, general plugin manager system. There's a little bit of cleanup to do before it's totally ready, but it's looking good... --- src/test/plugin/main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/test/plugin/main.cpp (limited to 'src/test/plugin') diff --git a/src/test/plugin/main.cpp b/src/test/plugin/main.cpp new file mode 100644 index 0000000..51c8390 --- /dev/null +++ b/src/test/plugin/main.cpp @@ -0,0 +1,14 @@ +#include "plugger.h" +#include "plugin.h" + +int main() +{ + Plugger p; + + p.registerExternalPlugin( "./guy.so", "Guy" ); + + Plugin *t = p.instantiate( "Guy" ); + + p.destroy( t ); +} + -- cgit v1.2.3