Salome HOME
Features and plugins loading mechanisms
[modules/shaper.git] / src / PartSetPlugin / PartSetPlugin_Plugin.h
diff --git a/src/PartSetPlugin/PartSetPlugin_Plugin.h b/src/PartSetPlugin/PartSetPlugin_Plugin.h
new file mode 100644 (file)
index 0000000..ff577f7
--- /dev/null
@@ -0,0 +1,23 @@
+// File:        PartSetPlugin_Plugin.hxx
+// Created:     31 Mar 2014
+// Author:      Mikhail PONIKAROV
+
+#ifndef PartSetPlugin_Plugin_HeaderFile
+#define PartSetPlugin_Plugin_HeaderFile
+
+
+#include "PartSetPlugin.h"
+#include "ModelAPI_Plugin.h"
+
+class PARTSETPLUGIN_EXPORT PartSetPlugin_Plugin: public ModelAPI_Plugin
+{
+public:
+  /// Creates the feature object of this plugin by the feature string ID
+  virtual boost::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID);
+
+public:
+  /// Is needed for python wrapping by swig
+  PartSetPlugin_Plugin();
+};
+
+#endif