X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fquicktune_shortcutter.h;h=fe1463c936b4b323772933e615b066d2ead4250c;hb=006ef5b4a5e362eed848ca26b411a8059d74b965;hp=a6cb71ed6d68845258a53886dd095217a414b519;hpb=2c9bb06516418b99c1eac957cfae9d84c9bef954;p=oweals%2Fminetest.git diff --git a/src/quicktune_shortcutter.h b/src/quicktune_shortcutter.h index a6cb71ed6..fe1463c93 100644 --- a/src/quicktune_shortcutter.h +++ b/src/quicktune_shortcutter.h @@ -1,18 +1,18 @@ /* -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 General Public License as published by -the Free Software Foundation; either version 2 of the License, or +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +GNU Lesser General Public License for more details. -You should have received a copy of the GNU General Public License along +You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ @@ -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;