Salome HOME
3c037c9658c99437013f2f0c22c06c858af11d16
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_Plugin.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 // File:        SketchShapePlugin_Plugin.hxx
4 // Created:     25 Nov 2015
5 // Author:      Natalia ERMOLAEVA
6
7 #ifndef SKETCHSHAPEPLUGIN_PLUGIN_H_
8 #define SKETCHSHAPEPLUGIN_PLUGIN_H_
9
10 #include <SketchShapePlugin.h>
11 #include <ModelAPI_Plugin.h>
12 //#include <ModuleBase_IWidgetCreator.h>
13
14 #include <ModelAPI_Feature.h>
15 #include <ModelAPI_Events.h>
16
17 class ModuleBase_ModelWidget;
18 class QWidget;
19
20 /**\class SketchShapePlugin_Plugin
21  * \ingroup Plugins
22  * \brief Interface common for any plugin: allows to use plugin by the plugins manager.
23  */
24 //, public ModuleBase_IWidgetCreator
25 class SketchShapePlugin_Plugin : public ModelAPI_Plugin
26 {
27 public:
28   /// Creates the feature object of this plugin by the feature string ID
29   virtual FeaturePtr createFeature(std::string theFeatureID);
30
31   /// Create widget by its type
32   /// \param theType a type
33   /// \param theParent a parent widget
34   //virtual ModuleBase_ModelWidget* createWidgetByType(const std::string& theType,
35   //                                                   QWidget* theParent = NULL);
36  public:
37    SketchShapePlugin_Plugin();
38 };
39
40 #endif