Salome HOME
"GUI" stubs for testing of CMake building procedures, preliminary examples of GUI
[modules/shaper.git] / src / XGUI / XGUI_Module.h
1
2 #ifndef XGUI_Module_H
3 #define XGUI_Module_H
4
5 #include <QString>
6
7 class XGUI_Module
8 {
9 public:
10     //! Returns a string in XML format with definition of the module commands
11     virtual QString moduleDescription() const = 0;
12 };
13
14
15 //! This function must return a new module instance.
16 extern "C"
17 {
18    typedef XGUI_Module* (*CREATE_FUNC)();
19 }
20
21 #define CREATE_MODULE "createModule"
22
23
24 #endif