]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Events/Events_Loop.h
Salome HOME
Issue #599 - hide trihedron when create Sketch,
[modules/shaper.git] / src / Events / Events_Loop.h
index a11426f1b99263f8581a0d4b5640c14db9167bd3..adc88835198dda23e4121ac4dd07620217475e19 100644 (file)
@@ -68,8 +68,10 @@ class Events_Loop
 
   //! Allows to disable flushes: needed in synchronization of document mechanism 
   //! (to synchronize all and only then flush create, update, etc in correct order)
-  EVENTS_EXPORT void activateFlushes(const bool theActivate);
-
+  //! \param theActivate a state about flushe is active. If false, the flush is disabled
+  //! \return the previous active flush state
+  EVENTS_EXPORT bool activateFlushes(const bool theActivate);
+  
   //! Clears all collected messages
   EVENTS_EXPORT void clear(const Events_ID& theID);