diff options
Diffstat (limited to 'src/message-stack.h')
| -rw-r--r-- | src/message-stack.h | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/src/message-stack.h b/src/message-stack.h index ae8860965..3b8307761 100644 --- a/src/message-stack.h +++ b/src/message-stack.h @@ -5,8 +5,10 @@ /* * Authors: * MenTaLguY <mental@rydia.net> + * Jon A. Cruz <jon@joncruz.org> * * Copyright (C) 2004 MenTaLguY + * Copyright (C) 2011 Jon A. Cruz * * Released under GNU GPL, read the file 'COPYING' for more information */ @@ -18,6 +20,7 @@ #include <sigc++/sigc++.h> #include <glib.h> #include <stdarg.h> +#include <glibmm/ustring.h> #include "gc-managed.h" #include "gc-finalized.h" #include "gc-anchored.h" @@ -108,15 +111,27 @@ public: */ void cancel(MessageId id); - /** @brief temporarily pushes a message onto the stack - * - * @param type the message type - * @param message the message text - * - * @return the id of the pushed message - */ + /** + * Temporarily pushes a message onto the stack. + * + * @param type the message type + * @param message the message text + * + * @return the id of the pushed message + */ MessageId flash(MessageType type, gchar const *message); + /** + * Temporarily pushes a message onto the stack. + * + * @param type the message type + * @param message the message text + * + * @return the id of the pushed message + */ + MessageId flash(MessageType type, Glib::ustring const &message); + + /** @brief temporarily pushes a message onto the stack using * printf-like formatting * |
