Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Plugin.h
index 2b26663504d1a8668fbcef2cecde7f639205e3ac..bb81ba781212d882e113cd32646eda725832af99 100644 (file)
@@ -2,20 +2,20 @@
 // Created:     31 Mar 2014
 // Author:      Mikhail PONIKAROV
 
-#ifndef SketchPlugin_Plugin_HeaderFile
-#define SketchPlugin_Plugin_HeaderFile
-
+#ifndef SketchPlugin_Plugin_H_
+#define SketchPlugin_Plugin_H_
 
 #include "SketchPlugin.h"
 #include "ModelAPI_Plugin.h"
+#include "ModelAPI_Feature.h"
 
-class SKETCHPLUGIN_EXPORT SketchPlugin_Plugin: public ModelAPI_Plugin
+class SKETCHPLUGIN_EXPORT SketchPlugin_Plugin : public ModelAPI_Plugin
 {
-public:
+ public:
   /// Creates the feature object of this plugin by the feature string ID
-  virtual std::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID);
+  virtual FeaturePtr createFeature(std::string theFeatureID);
 
-public:
+ public:
   /// Is needed for python wrapping by swig
   SketchPlugin_Plugin();
 };