31#define EXPORT_PLUGIN( classname, ... ) \
34 DLLEXPORT Component* Create() \
36 return new classname( __VA_ARGS__ ); \
40#include <dspatch/Component.h>
70 explicit Plugin(
const std::string& pluginPath );
73 bool IsLoaded()
const;
75 Component::SPtr Create()
const;