* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- DispatchResult() : dispatched_(false), error_(false),
- update_(Update::None), need_buf_update_(false) {}
+ DispatchResult() :
+ dispatched_(false),
+ error_(false),
+ update_(Update::None),
+ need_buf_update_(false),
+ need_msg_update_(true)
+ {}
- DispatchResult(bool disp, Update::flags f)
- : dispatched_(disp), error_(false), update_(f) {}
+ DispatchResult(bool dispatched, Update::flags f) :
+ dispatched_(dispatched),
+ error_(false),
+ update_(f),
+ need_buf_update_(false),
+ need_msg_update_(true)
+ {}
/// Does the buffer need updating?
bool needBufferUpdate() const { return need_buf_update_; }
/// Force the buffer to be updated
void forceBufferUpdate() { need_buf_update_ = true; }
/// Clear the flag indicating we need an update
void clearBufferUpdate() { need_buf_update_ = false; }
/// Does the buffer need updating?
bool needBufferUpdate() const { return need_buf_update_; }
/// Force the buffer to be updated
void forceBufferUpdate() { need_buf_update_ = true; }
/// Clear the flag indicating we need an update
void clearBufferUpdate() { need_buf_update_ = false; }
+ ///
+ bool needMessageUpdate() const { return need_msg_update_; }
+ /// Force the buffer to be updated
+ void forceMessageUpdate() { need_msg_update_ = true; }
+ /// Clear the flag indicating we need an update
+ void suppressMessageUpdate() { need_msg_update_ = false; }
+