X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fquicktune_shortcutter.h;h=fe1463c936b4b323772933e615b066d2ead4250c;hb=006ef5b4a5e362eed848ca26b411a8059d74b965;hp=138df04754fa8e0045890bae40de8f442ff3de95;hpb=037b2591971d752e67fa7d47095b996b3f56da5a;p=oweals%2Fminetest.git diff --git a/src/quicktune_shortcutter.h b/src/quicktune_shortcutter.h index 138df0475..fe1463c93 100644 --- a/src/quicktune_shortcutter.h +++ b/src/quicktune_shortcutter.h @@ -1,6 +1,6 @@ /* -Minetest-c55 -Copyright (C) 2012 celeron55, Perttu Ahola +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -21,7 +21,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #define QVT_SHORTCUTTER_HEADER #include "quicktune.h" -#include "utility.h" class QuicktuneShortcutter { @@ -30,6 +29,11 @@ private: u32 m_selected_i; std::string m_message; public: + bool hasMessage() + { + return m_message != ""; + } + std::string getMessage() { std::string s = m_message;