Salome HOME
Crash fix in the second study.
[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  public:
32    SketchShapePlugin_Plugin();
33 };
34
35 #endif