Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Dev_1.1.0' of newgeom:newgeom.git into Dev_1.1.0
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Plugin.h
diff --git
a/src/ModelAPI/ModelAPI_Plugin.h
b/src/ModelAPI/ModelAPI_Plugin.h
index 31795c3f15c57590308904dd3a950129bfe5c741..de421e726c29c176b12a5adf2ababa5aee625712 100644
(file)
--- a/
src/ModelAPI/ModelAPI_Plugin.h
+++ b/
src/ModelAPI/ModelAPI_Plugin.h
@@
-1,4
+1,6
@@
-// File: ModelAPI_Plugin.hxx
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_Plugin.h
// Created: 31 Mar 2014
// Author: Mikhail PONIKAROV
// Created: 31 Mar 2014
// Author: Mikhail PONIKAROV
@@
-7,7
+9,7
@@
#include "ModelAPI.h"
#include <string>
#include "ModelAPI.h"
#include <string>
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
class ModelAPI_Feature;
class ModelAPI_Feature;
@@
-15,19
+17,14
@@
class ModelAPI_Feature;
* \ingroup DataModel
* \brief Interface common for any plugin: allows to use plugin by the plugins manager.
*/
* \ingroup DataModel
* \brief Interface common for any plugin: allows to use plugin by the plugins manager.
*/
-
class MODELAPI_EXPORT ModelAPI_Plugin
{
class MODELAPI_EXPORT ModelAPI_Plugin
{
-public:
+
public:
/// Creates the feature object of this plugin by the feature string ID
/// Creates the feature object of this plugin by the feature string ID
- virtual
boost
::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
+ virtual
std
::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
/// To virtually destroy the fields of successors
/// To virtually destroy the fields of successors
- virtual ~ModelAPI_Plugin() {}
-
-protected:
- /// Is needed for python wrapping by swig
- ModelAPI_Plugin() {};
+ virtual ~ModelAPI_Plugin();
};
#endif
};
#endif