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
updated copyright message
[modules/shaper.git]
/
src
/
ExchangePlugin
/
ExchangePlugin_Plugin.cpp
diff --git
a/src/ExchangePlugin/ExchangePlugin_Plugin.cpp
b/src/ExchangePlugin/ExchangePlugin_Plugin.cpp
index ccb5439e7b331337437d4a8b17ad19d2a0586693..4c1c5f1519a382e471c734a4d7d9c19d211dcff3 100644
(file)
--- a/
src/ExchangePlugin/ExchangePlugin_Plugin.cpp
+++ b/
src/ExchangePlugin/ExchangePlugin_Plugin.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
19 CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
23 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-23,6
+23,7
@@
#include <ExchangePlugin_ExportFeature.h>
#include <ExchangePlugin_ImportPart.h>
#include <ExchangePlugin_ExportPart.h>
#include <ExchangePlugin_ExportFeature.h>
#include <ExchangePlugin_ImportPart.h>
#include <ExchangePlugin_ExportPart.h>
+#include <ExchangePlugin_Import.h>
#include <ExchangePlugin_Validators.h>
#include <Config_PropManager.h>
#include <ExchangePlugin_Validators.h>
#include <Config_PropManager.h>
@@
-53,6
+54,9
@@
FeaturePtr ExchangePlugin_Plugin::createFeature(std::string theFeatureID)
{
if (theFeatureID == ExchangePlugin_ImportFeature::ID()) {
return FeaturePtr(new ExchangePlugin_ImportFeature);
{
if (theFeatureID == ExchangePlugin_ImportFeature::ID()) {
return FeaturePtr(new ExchangePlugin_ImportFeature);
+ } else
+ if (theFeatureID == ExchangePlugin_Import_ImageFeature::ID()) {
+ return FeaturePtr(new ExchangePlugin_Import_ImageFeature);
} else
if (theFeatureID == ExchangePlugin_ExportFeature::ID()) {
return FeaturePtr(new ExchangePlugin_ExportFeature);
} else
if (theFeatureID == ExchangePlugin_ExportFeature::ID()) {
return FeaturePtr(new ExchangePlugin_ExportFeature);
@@
-65,6
+69,12
@@
FeaturePtr ExchangePlugin_Plugin::createFeature(std::string theFeatureID)
} else
if (theFeatureID == ExchangePlugin_Dump::ID()) {
return FeaturePtr(new ExchangePlugin_Dump);
} else
if (theFeatureID == ExchangePlugin_Dump::ID()) {
return FeaturePtr(new ExchangePlugin_Dump);
+ } else
+ if (theFeatureID == ExchangePlugin_Import::ID()) {
+ return FeaturePtr(new ExchangePlugin_Import);
+ } else
+ if (theFeatureID == ExchangePlugin_Import_Image::ID()) {
+ return FeaturePtr(new ExchangePlugin_Import_Image);
}
// feature of such kind is not found
return FeaturePtr();
}
// feature of such kind is not found
return FeaturePtr();