Logo Search packages:      
Sourcecode: inkscape version File versions

bool Inkscape::Whiteboard::MessageAggregator::addOne ( Glib::ustring const &  msg  ) 

Adds one message to the aggregate using the internal buffer. Note that since this class is designed to be a singleton class, usage of the internal buffer is not thread-safe. Use the above method if this matters to you (it currently shouldn't matter, but in future...)

Also note that usage of the internal buffer means that you will have to manually clear the internal buffer; use reset() for that.

Parameters:
msg The message to add to the aggregate.
Returns:
Whether or not more messages can be added to the buffer.

Definition at line 46 of file message-aggregator.cpp.

References addOne().

{
      return this->addOne(msg, this->_buf);
}


Generated by  Doxygen 1.6.0   Back to index