Lines Matching defs:message

28 #include "message.h"
47 * assuming that the message you pushed is still on top is an
58 /** @brief returns the type of message currently at the top of the stack */
62 /** @brief returns the text of the message currently at the top of
66 return _messages ? _messages->message : NULL;
70 * the topmost message on the stack changes.
77 /** @brief pushes a message onto the stack
79 * @param type the message type
80 * @param message the message text
82 * @return the id of the pushed message
84 MessageId push(MessageType type, char const *message);
86 /** @brief pushes a message onto the stack using printf-like formatting
88 * @param type the message type
91 * @return the id of the pushed message
95 /** @brief pushes a message onto the stack using printf-like formatting,
98 * @param type the message type
102 * @return the id of the pushed message
106 /** @brief removes a message from the stack, given its id
108 * This method will remove a message from the stack if it has not
111 * @param id the message id to remove
116 * Temporarily pushes a message onto the stack.
118 * @param type the message type
119 * @param message the message text
121 * @return the id of the pushed message
123 MessageId flash(MessageType type, char const *message);
126 * Temporarily pushes a message onto the stack.
128 * @param type the message type
129 * @param message the message text
131 * @return the id of the pushed message
133 MessageId flash(MessageType type, Glib::ustring const &message);
136 /** @brief temporarily pushes a message onto the stack using
139 * @param type the message type
142 * @return the id of the pushed message
146 /** @brief temporarily pushes a message onto the stack using
149 * @param type the message type
153 * @return the id of the pushed message
163 gchar *message;
170 /// pushes a message onto the stack with an optional timeout
171 MessageId _push(MessageType type, unsigned int lifetime, char const *message);
173 Message *_discard(Message *m); ///< frees a message struct and returns the next such struct in the list
179 MessageId _next_id; ///< the next message id to assign