Salome HOME
Add virtual function to allow the module to abort active operations on document loadi...
[modules/gui.git] / src / STD / STD_Application.h
index fb443d36a979709878cae64054f5e430176aca9a..2b1f4653ca08fde49c86d20fa3c6555293052a90 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -167,6 +167,10 @@ protected:
 
   virtual int           closeChoice( const QString& );
   virtual bool          closeAction( const int, bool& );
+  virtual bool          closeDoc( bool ask = true );
+  virtual bool          closeActiveDoc( bool permanently = true );
+
+  virtual bool          abortAllOperations();
 
 private:
   ViewManagerList       myViewMgrs;