Model_Application::getApplication()->deleteAllDocuments();
}
-void Model_Session::startOperation()
+void Model_Session::startOperation(const std::string& theId)
{
ROOT_DOC->startOperation();
static std::shared_ptr<Events_Message> aStartedMsg
setCheckTransactions(true);
}
+//! Returns stack of performed operations
+std::list<std::string> Model_Session::undoList()
+{
+ std::list<std::string> temp;
+ temp.push_front("Part");
+ temp.push_front("Sketch");
+ temp.push_front("Extrusion");
+ return temp;
+}
+//! Returns stack of rolled back operations
+std::list<std::string> Model_Session::redoList()
+{
+ std::list<std::string> temp;
+ return temp;
+}
+
FeaturePtr Model_Session::createFeature(string theFeatureID)
{
if (this != myImpl) {