#include "Model.h"
#include <ModelAPI_PluginManager.h>
+#include <ModelAPI_Feature.h>
+
#include <Events_Listener.h>
#include <map>
MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_Document> copy(
boost::shared_ptr<ModelAPI_Document> 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
void LoadPluginsInfo();
/// Creates the feature object using plugins functionality
- virtual boost::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID);
+ virtual FeaturePtr createFeature(std::string theFeatureID);
};
#endif