Salome HOME
Advanced version of plugin reader with ability to extract xml information about featu...
[modules/shaper.git] / src / XGUI / XGUI_Module.h
1 #ifndef XGUI_Module_H
2 #define XGUI_Module_H
3
4 #include <XGUI_Workshop.h>
5
6 class XGUI_Command;
7
8 class XGUI_Module
9 {
10 public:
11     virtual void createFeatures() = 0;
12     virtual void featureCreated(XGUI_Command*) = 0;
13 };
14
15 //! This function must return a new module instance.
16 extern "C"
17 {
18    typedef XGUI_Module* (*CREATE_FUNC)(XGUI_Workshop*);
19 }
20
21 #define CREATE_MODULE "createModule"
22
23
24 #endif //XGUI_Module