// Created: 20 Mar 2014
// Author: Mikhail PONIKAROV
-#ifndef ModelAPI_PluginManager_HeaderFile
-#define ModelAPI_PluginManager_HeaderFile
+#ifndef ModelAPI_PluginManager_H_
+#define ModelAPI_PluginManager_H_
#include "ModelAPI.h"
#include <string>
class ModelAPI_Feature;
class ModelAPI_Plugin;
class ModelAPI_Document;
+class ModelAPI_ValidatorsFactory;
/**\class ModelAPI_PluginManager
* \ingroup DataModel
virtual boost::shared_ptr<ModelAPI_Document> copy(
boost::shared_ptr<ModelAPI_Document> theSource, std::string theID) = 0;
+ /// Returns the validators factory: the only one instance per application
+ virtual ModelAPI_ValidatorsFactory* validators() = 0;
+
/// Is needed for python wrapping by swig, call Get to get an instance
ModelAPI_PluginManager();
/// Creates the feature object using plugins functionality
virtual boost::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
- static void SetPluginManager(boost::shared_ptr<ModelAPI_PluginManager> theManager);
+ static void setPluginManager(boost::shared_ptr<ModelAPI_PluginManager> theManager);
friend class Model_Document;
};
typedef boost::shared_ptr<ModelAPI_PluginManager> PluginManagerPtr;
-
#endif