diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-12 12:07:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-12 12:07:17 +0300 |
commit | de8e1e4b7ad775aee03f9faf137194e38d19574b (patch) | |
tree | e1aed9d96feb5a2b40de2f84cf56d4e920f0c229 /src/gui/widgets/tabs/chat | |
parent | 708805b5df0018812f3a9feb47e37ccfc36398f2 (diff) | |
download | plus-de8e1e4b7ad775aee03f9faf137194e38d19574b.tar.gz plus-de8e1e4b7ad775aee03f9faf137194e38d19574b.tar.bz2 plus-de8e1e4b7ad775aee03f9faf137194e38d19574b.tar.xz plus-de8e1e4b7ad775aee03f9faf137194e38d19574b.zip |
Move ChatTabType into chat subdir.
Diffstat (limited to 'src/gui/widgets/tabs/chat')
-rw-r--r-- | src/gui/widgets/tabs/chat/battletab.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/chat/chattabtype.h | 41 |
3 files changed, 43 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/chat/battletab.h b/src/gui/widgets/tabs/chat/battletab.h index 2660455d0..0d933e740 100644 --- a/src/gui/widgets/tabs/chat/battletab.h +++ b/src/gui/widgets/tabs/chat/battletab.h @@ -24,7 +24,7 @@ #define GUI_WIDGETS_TABS_CHAT_BATTLETAB_H #include "gui/widgets/tabs/chat/chattab.h" -#include "gui/widgets/tabs/chattabtype.h" +#include "gui/widgets/tabs/chat/chattabtype.h" /** * A tab for a party chat channel. diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp index 0ad9bbf34..88df68774 100644 --- a/src/gui/widgets/tabs/chat/chattab.cpp +++ b/src/gui/widgets/tabs/chat/chattab.cpp @@ -40,7 +40,7 @@ #include "gui/widgets/itemlinkhandler.h" #include "gui/widgets/tabbedarea.h" -#include "gui/widgets/tabs/chattabtype.h" +#include "gui/widgets/tabs/chat/chattabtype.h" #include "input/inputmanager.h" diff --git a/src/gui/widgets/tabs/chat/chattabtype.h b/src/gui/widgets/tabs/chat/chattabtype.h new file mode 100644 index 000000000..4b0af6423 --- /dev/null +++ b/src/gui/widgets/tabs/chat/chattabtype.h @@ -0,0 +1,41 @@ +/* + * The ManaPlus Client + * Copyright (C) 2011-2014 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * 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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef GUI_WIDGETS_TABS_CHAT_CHATTABTYPE_H +#define GUI_WIDGETS_TABS_CHAT_CHATTABTYPE_H + +namespace ChatTabType +{ + enum Type + { + UNKNOWN = 0, + INPUT, + WHISPER, + PARTY, + GUILD, + DEBUG, + TRADE, + BATTLE, + LANG, + GM + }; +} // namespace ChatTabType + +#endif // GUI_WIDGETS_TABS_CHAT_CHATTABTYPE_H |