Salome HOME
Support of wide string
[modules/shaper.git] / src / ModelAPI / ModelAPI_Session.h
index 8955bcb031fa800b68b75a3ea856266e4e0d7936..fae2a9e97bc2b415a35fc4692e6f8f0b731a2fc0 100644 (file)
@@ -78,8 +78,6 @@ class MODELAPI_EXPORT ModelAPI_Session
   virtual bool canUndo() = 0;
   //! Undoes last operation
   virtual void undo() = 0;
-  //! Clean the undo list
-  virtual void clearUndos() = 0;
   //! Returns True if there are available Redos
   virtual bool canRedo() = 0;
   //! Redoes last operation
@@ -114,7 +112,7 @@ class MODELAPI_EXPORT ModelAPI_Session
   virtual std::list<std::shared_ptr<ModelAPI_Document> > allOpenedDocuments() = 0;
 
   /// Returns true if document is not loaded yet
-  virtual bool isLoadByDemand(const std::string theDocID, const int theDocIndex) = 0;
+  virtual bool isLoadByDemand(const std::wstring theDocID, const int theDocIndex) = 0;
 
   /// Copies the document to the new one with the given id
   virtual std::shared_ptr<ModelAPI_Document> copy(