1 #ifndef __PLUGIN_CREATOR_H__
2 #define __PLUGIN_CREATOR_H__
8 PLUGIN_CREATOR() : plugin(new T()) {}
9 ~PLUGIN_CREATOR() { delete plugin; }
11 T * GetPlugin() { return plugin; }
16 PLUGIN_CREATOR(const PLUGIN_CREATOR<T> & rvalue);
17 PLUGIN_CREATOR<T> & operator=(const PLUGIN_CREATOR<T> & rvalue);