summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 00:58:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 00:58:51 +0300
commit21244eb0c558f5d33c9a07f28a5660690c77ef19 (patch)
tree731da576c47cf3f9482d0621363fbd150c96a8e6 /src
parent618eb708d5ca59039cb978099c7606760a5fca5b (diff)
downloadplus-21244eb0c558f5d33c9a07f28a5660690c77ef19.tar.gz
plus-21244eb0c558f5d33c9a07f28a5660690c77ef19.tar.bz2
plus-21244eb0c558f5d33c9a07f28a5660690c77ef19.tar.xz
plus-21244eb0c558f5d33c9a07f28a5660690c77ef19.zip
Add tmwa ifdefs for guildmanager and emulateguildtab.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp4
-rw-r--r--src/net/tmwa/guildmanager.cpp3
2 files changed, 7 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#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 <http://www.gnu.org/licenses/>.
*/
+#ifdef TMWA_SUPPORT
#include "net/tmwa/guildmanager.h"
#include "actormanager.h"
@@ -548,3 +549,5 @@ ChatTab *GuildManager::getTab()
{
return mTab;
}
+
+#endif // TMWA_SUPPORT