]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
added 2 virtual methods
authorsrn <srn@opencascade.com>
Thu, 2 Feb 2006 07:58:46 +0000 (07:58 +0000)
committersrn <srn@opencascade.com>
Thu, 2 Feb 2006 07:58:46 +0000 (07:58 +0000)
src/SUIT/SUIT_Study.cxx
src/SUIT/SUIT_Study.h

index 2f83179c4655966d56b8fd458e7de08a701a4bd3..995aede9e7fbc98adddfbbc9a9a29fa301c21fa6 100755 (executable)
@@ -510,3 +510,18 @@ bool SUIT_Study::hasTransaction() const
 {
   return false;
 }
+
+/*!
+ * \brief Stores the study state
+*/
+int SUIT_Study::storeState()
+{
+  return -1;
+}
+/*!
+ * \brief Restores the study state
+*/
+void SUIT_Study::restoreState(int savePoint)
+{
+}
index c1163cc6c5049d0b2556c808a279e3e8a183a44c..da090c8a0eea896480917b4a61ae5e75df1d15f3 100755 (executable)
@@ -75,6 +75,9 @@ public:
   bool              suspend( SUIT_Operation* );
   bool              resume( SUIT_Operation* );
 
+  virtual int       storeState();
+  virtual void      restoreState(int savePoint);
+
 signals:
   void              studyModified( SUIT_Study* );