X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fquicktune_shortcutter.h;h=fe1463c936b4b323772933e615b066d2ead4250c;hb=9db78dc4c4130c1ef08696e5d381a157cb66e656;hp=0ec80e48b067475427a6a9500b57c7a0375334c3;hpb=497ff1ecd64c8908f988e15ca879824f2781e3fd;p=dragonfireclient.git diff --git a/src/quicktune_shortcutter.h b/src/quicktune_shortcutter.h index 0ec80e48b..fe1463c93 100644 --- a/src/quicktune_shortcutter.h +++ b/src/quicktune_shortcutter.h @@ -1,6 +1,6 @@ /* Minetest -Copyright (C) 2012 celeron55, Perttu Ahola +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 @@ -29,6 +29,11 @@ class QuicktuneShortcutter u32 m_selected_i; std::string m_message; public: + bool hasMessage() + { + return m_message != ""; + } + std::string getMessage() { std::string s = m_message;