Salome HOME
Concealed objects now also ersaed in the viewer
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plugin.h
index 0201b40a36715f6cc468e03bc2eaed4e7706c1d4..143b786e55d931542e4350dd2b0ab72753680755 100644 (file)
@@ -2,20 +2,20 @@
 // Created:     31 Mar 2014
 // Author:      Mikhail PONIKAROV
 
-#ifndef ConstructionPlugin_Plugin_HeaderFile
-#define ConstructionPlugin_Plugin_HeaderFile
-
+#ifndef ConstructionPlugin_Plugin_H_
+#define ConstructionPlugin_Plugin_H_
 
 #include "ConstructionPlugin.h"
 #include "ModelAPI_Plugin.h"
+#include "ModelAPI_Feature.h"
 
-class CONSTRUCTIONPLUGIN_EXPORT ConstructionPlugin_Plugin: public ModelAPI_Plugin
+class CONSTRUCTIONPLUGIN_EXPORT ConstructionPlugin_Plugin : public ModelAPI_Plugin
 {
-public:
+ public:
   /// Creates the feature object of this plugin by the feature string ID
-  virtual boost::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID);
+  virtual FeaturePtr createFeature(std::string theFeatureID);
 
-public:
+ public:
   /// Is needed for python wrapping by swig
   ConstructionPlugin_Plugin();
 };