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
Simplified calculation of fly out distance and creation of constraints limited only...
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Plugin.h
diff --git
a/src/ModelAPI/ModelAPI_Plugin.h
b/src/ModelAPI/ModelAPI_Plugin.h
index 0e910ae1f4cc9d2f829a9867d5bb67b51e98b738..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
@@
-15,7
+17,6
@@
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
{
public:
class MODELAPI_EXPORT ModelAPI_Plugin
{
public:
@@
-23,16
+24,7
@@
class MODELAPI_EXPORT ModelAPI_Plugin
virtual std::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
/// To virtually destroy the fields of successors
virtual std::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
/// 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