1 #ifndef XGUI_Module_H
\r
2 #define XGUI_Module_H
\r
4 #include <XGUI_Workshop.h>
\r
12 virtual void createFeatures() = 0;
\r
13 virtual void featureCreated(XGUI_Command*) = 0;
\r
14 virtual void launchOperation(const QString& theCmdId) = 0;
\r
16 virtual ~XGUI_Module() {};
\r
19 //! This function must return a new module instance.
\r
22 typedef XGUI_Module* (*CREATE_FUNC)(XGUI_Workshop*);
\r
25 #define CREATE_MODULE "createModule"
\r
27 #endif //XGUI_Module
\r