Salome HOME
Fix for the issue #1794: can't create a plane by a vertex and an axis if the vertex...
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plugin.h
index 91875f362d130012bd6087e22971f10546f01b42..a7ec72fc43e56b3ff5c4935d27ded5f7e2ad6403 100644 (file)
@@ -1,22 +1,27 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ConstructionPlugin_Plugin.hxx
 // 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_Plugin
+ * \ingroup Plugins
+ * \brief The main class for management the construction features as plugin.
+ */
+class CONSTRUCTIONPLUGIN_EXPORT ConstructionPlugin_Plugin : public ModelAPI_Plugin
 {
 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:
-  /// Is needed for python wrapping by swig
+  /// Default constructor
   ConstructionPlugin_Plugin();
 };