summaryrefslogtreecommitdiff
path: root/src/test/plugin/main.cpp
blob: 51c8390b3dbca92fa1e72e1627df103212dd8173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "plugger.h"
#include "plugin.h"

int main()
{
	Plugger<Plugin> p;

	p.registerExternalPlugin( "./guy.so", "Guy" );

	Plugin *t = p.instantiate( "Guy" );

	p.destroy( t );
}