00001 00007 #ifndef PLUGIN_H_ 00008 #define PLUGIN_H_ 00009 #include <string> 00010 #include "../Debug.h" 00011 00012 using namespace std; 00013 using namespace debug; 00014 00016 00022 namespace plugins 00023 { 00024 00032 class Plugin 00033 { 00034 public: 00036 Plugin(); 00038 virtual ~Plugin(); 00043 void SetActive(bool option); 00048 void SetDebugger(Debug *dbg); 00049 00050 protected: 00052 const char* pluginfile; 00054 string pluginName; 00056 string pluginVersion; 00058 bool pluginActive; 00060 Debug *dbg; 00061 }; 00062 00063 } 00064 00065 #endif /*PLUGIN_H_*/