From 21244eb0c558f5d33c9a07f28a5660690c77ef19 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 00:58:51 +0300 Subject: Add tmwa ifdefs for guildmanager and emulateguildtab. --- src/gui/widgets/tabs/chat/emulateguildtab.cpp | 4 ++++ src/net/tmwa/guildmanager.cpp | 3 +++ 2 files changed, 7 insertions(+) (limited to 'src') diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp index e6ca1c498..4c4401242 100644 --- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp +++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp @@ -20,6 +20,8 @@ * along with this program. If not, see . */ +#ifdef TMWA_SUPPORT + #include "gui/widgets/tabs/chat/emulateguildtab.h" #include "configuration.h" @@ -102,3 +104,5 @@ void EmulateGuildTab::optionChanged(const std::string &value) if (value == "showGuildOnline") mShowOnline = config.getBoolValue("showGuildOnline"); } + +#endif // TMWA_SUPPORT diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp index 1589b8423..c8aa27690 100644 --- a/src/net/tmwa/guildmanager.cpp +++ b/src/net/tmwa/guildmanager.cpp @@ -18,6 +18,7 @@ * along with this program. If not, see . */ +#ifdef TMWA_SUPPORT #include "net/tmwa/guildmanager.h" #include "actormanager.h" @@ -548,3 +549,5 @@ ChatTab *GuildManager::getTab() { return mTab; } + +#endif // TMWA_SUPPORT -- cgit v1.2.3-70-g09d2