#include <Model_PluginManager.h>
#include <ModelAPI_Feature.h>
#include <ModelAPI_Plugin.h>
-#include <Model_Object.h>
+#include <Model_Data.h>
#include <Model_Document.h>
#include <Model_Application.h>
#include <Event_Loop.h>
static Model_PluginManager* myImpl = new Model_PluginManager();
-std::shared_ptr<ModelAPI_Feature> Model_PluginManager::createFeature(
- string theFeatureID, const bool theAddToDoc)
+shared_ptr<ModelAPI_Feature> Model_PluginManager::createFeature(string theFeatureID)
{
if (this != myImpl) return myImpl->createFeature(theFeatureID);
}
if (myPluginObjs.find(myCurrentPluginName) != myPluginObjs.end()) {
std::shared_ptr<ModelAPI_Feature> aCreated =
- myPluginObjs[myCurrentPluginName]->createFeature(theFeatureID, theAddToDoc);
+ myPluginObjs[myCurrentPluginName]->createFeature(theFeatureID);
return aCreated;
}
}