X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fquicktune_shortcutter.h;h=fe1463c936b4b323772933e615b066d2ead4250c;hb=006ef5b4a5e362eed848ca26b411a8059d74b965;hp=2e3b5310bdb6fae4bf41635d1ad234ea35b1f194;hpb=d0ea6f9920d30f46d1f5d44e8823a8d932f9f29d;p=oweals%2Fminetest.git diff --git a/src/quicktune_shortcutter.h b/src/quicktune_shortcutter.h index 2e3b5310b..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 @@ -29,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;