X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Session.h;h=5c927e7d3eec56226d1b56c43e9e9cbe23acf550;hb=cdc2caa21375bc96aaad9bb7c3ee1140dac1d738;hp=933dfc58689bb237d1fee40fa04dcf19a3e88a9b;hpb=83bb88d84077d060259edddf8b789d88685800a6;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Session.h b/src/ModelAPI/ModelAPI_Session.h index 933dfc586..5c927e7d3 100644 --- a/src/ModelAPI/ModelAPI_Session.h +++ b/src/ModelAPI/ModelAPI_Session.h @@ -46,7 +46,7 @@ class MODELAPI_EXPORT ModelAPI_Session //! Starts a new operation (opens a tansaction) //! \param theId of operation for history (optional) - virtual void startOperation(const std::string& theId) = 0; + virtual void startOperation(const std::string& theId = "") = 0; //! Finishes the previously started operation (closes the transaction) virtual void finishOperation() = 0; //! Aborts the operation @@ -106,12 +106,8 @@ class MODELAPI_EXPORT ModelAPI_Session } protected: - /// Creates the feature object using plugins functionality - virtual std::shared_ptr createFeature(std::string theFeatureID) = 0; /// Sets the session interface implementation (once per application launch) static void setSession(std::shared_ptr theManager); - - friend class Model_Document; }; typedef std::shared_ptr SessionPtr;