X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_PluginManager.h;h=1819c56d5ac9902d2c20082a00bc72f5758aea05;hb=a6e18c9e2793cc467da1ce82e14487dca06653c1;hp=4efef6a4cd5034c79e8ff69a405cc49b852ceb33;hpb=73def5b80ec6240518beacea21ffb82dc9683fd5;p=modules%2Fshaper.git diff --git a/src/Model/Model_PluginManager.h b/src/Model/Model_PluginManager.h index 4efef6a4c..1819c56d5 100644 --- a/src/Model/Model_PluginManager.h +++ b/src/Model/Model_PluginManager.h @@ -7,6 +7,8 @@ #include "Model.h" #include +#include + #include #include @@ -52,6 +54,9 @@ public: MODEL_EXPORT virtual boost::shared_ptr copy( boost::shared_ptr theSource, std::string theID); + /// Returns the validators factory: the only one instance per application + MODEL_EXPORT virtual ModelAPI_ValidatorsFactory* validators(); + void setCheckTransactions(const bool theCheck) {myCheckTransactions = theCheck;} /// Is called only once, on startup of the application @@ -62,7 +67,7 @@ protected: void LoadPluginsInfo(); /// Creates the feature object using plugins functionality - virtual boost::shared_ptr createFeature(std::string theFeatureID); + virtual FeaturePtr createFeature(std::string theFeatureID); }; #endif