Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / XGUI / XGUI_Module.h
1 #ifndef XGUI_Module_H\r
2 #define XGUI_Module_H\r
3 \r
4 #include <XGUI_Workshop.h>\r
5 \r
6 class XGUI_Command;\r
7 \r
8 class XGUI_Module\r
9 {\r
10 public:\r
11   virtual void createFeatures() = 0;\r
12   virtual void featureCreated(XGUI_Command*) = 0;\r
13 };\r
14 \r
15 //! This function must return a new module instance.\r
16 extern "C"\r
17 {\r
18 typedef XGUI_Module* (*CREATE_FUNC)(XGUI_Workshop*);\r
19 }\r
20 \r
21 #define CREATE_MODULE "createModule"\r
22 \r
23 #endif //XGUI_Module\r