Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1112 tab key doesn't work on the last field of left panels
[modules/shaper.git]
/
src
/
Events
/
Events_Loop.h
diff --git
a/src/Events/Events_Loop.h
b/src/Events/Events_Loop.h
index a11426f1b99263f8581a0d4b5640c14db9167bd3..66ed3070d58e785f994854603de2b46bdb0a0a72 100644
(file)
--- a/
src/Events/Events_Loop.h
+++ b/
src/Events/Events_Loop.h
@@
-66,10
+66,15
@@
class Events_Loop
//! Initializes sending of a group-message by the given ID
EVENTS_EXPORT void flush(const Events_ID& theID);
//! Initializes sending of a group-message by the given ID
EVENTS_EXPORT void flush(const Events_ID& theID);
+ //! Removes messages with the given ID: they are not needed anymore (UPDATE on close)
+ EVENTS_EXPORT void eraseMessages(const Events_ID& theID);
+
//! Allows to disable flushes: needed in synchronization of document mechanism
//! (to synchronize all and only then flush create, update, etc in correct order)
//! 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);
//! Clears all collected messages
EVENTS_EXPORT void clear(const Events_ID& theID);