Salome HOME
Avoid working with empty attributes in constraints of sketch solver
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_Plugin.cpp
index b37a0690623525edb7e7be443c9c5fa0c98c4ce6..58b214b47c96522dcfcf5df123e5f27b7e1251fe 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 /*
  *
  */
@@ -6,10 +8,12 @@
 #include <ExchangePlugin_ImportFeature.h>
 #include <ExchangePlugin_Validators.h>
 
+#include <Config_PropManager.h>
+
 #include <ModelAPI_Session.h>
 #include <ModelAPI_Validator.h>
 
-#include <boost/smart_ptr/shared_ptr.hpp>
+#include <memory>
 
 using namespace std;
 
@@ -24,6 +28,10 @@ ExchangePlugin_Plugin::ExchangePlugin_Plugin()
   ModelAPI_ValidatorsFactory* aFactory = aSession->validators();
   aFactory->registerValidator("ExchangePlugin_ImportFormat",
                               new ExchangePlugin_ImportFormatValidator);
+
+  // register construction properties
+  //Config_PropManager::registerProp("Visualization", "import_feature_color", "Imported feature color",
+  //                                 Config_Prop::Color, ExchangePlugin_ImportFeature::DEFAULT_COLOR());
 }
 
 FeaturePtr ExchangePlugin_Plugin::createFeature(string theFeatureID)