From 4cce9fe89ce1e53f901f07cdb626b63f662e1e17 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Sep 2014 21:27:24 +0300 Subject: Remove unused tab classes. --- src/CMakeLists.txt | 8 ------- src/Makefile.am | 10 +-------- src/net/eathena/gui/guildtab.cpp | 38 --------------------------------- src/net/eathena/gui/guildtab.h | 46 ---------------------------------------- src/net/eathena/gui/partytab.cpp | 39 ---------------------------------- src/net/eathena/gui/partytab.h | 46 ---------------------------------------- src/net/tmwa/gui/guildtab.cpp | 38 --------------------------------- src/net/tmwa/gui/guildtab.h | 46 ---------------------------------------- src/net/tmwa/gui/partytab.cpp | 39 ---------------------------------- src/net/tmwa/gui/partytab.h | 46 ---------------------------------------- 10 files changed, 1 insertion(+), 355 deletions(-) delete mode 100644 src/net/eathena/gui/guildtab.cpp delete mode 100644 src/net/eathena/gui/guildtab.h delete mode 100644 src/net/eathena/gui/partytab.cpp delete mode 100644 src/net/eathena/gui/partytab.h delete mode 100644 src/net/tmwa/gui/guildtab.cpp delete mode 100644 src/net/tmwa/gui/guildtab.h delete mode 100644 src/net/tmwa/gui/partytab.cpp delete mode 100644 src/net/tmwa/gui/partytab.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a671cad94..d43c4f306 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1266,10 +1266,6 @@ SET(SRCS_EVOL ) SET(SRCS_TMWA - net/tmwa/gui/guildtab.cpp - net/tmwa/gui/guildtab.h - net/tmwa/gui/partytab.cpp - net/tmwa/gui/partytab.h net/tmwa/adminhandler.cpp net/tmwa/adminhandler.h net/tmwa/attrs.h @@ -1323,10 +1319,6 @@ SET(SRCS_TMWA ) SET(SRCS_EATHENA - net/eathena/gui/guildtab.cpp - net/eathena/gui/guildtab.h - net/eathena/gui/partytab.cpp - net/eathena/gui/partytab.h net/eathena/adminhandler.cpp net/eathena/adminhandler.h net/eathena/attrs.h diff --git a/src/Makefile.am b/src/Makefile.am index dfa58fdb0..90709a068 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1196,10 +1196,6 @@ manaplus_SOURCES += \ net/ea/token.h \ net/ea/tradehandler.cpp \ net/ea/tradehandler.h \ - net/tmwa/gui/guildtab.cpp \ - net/tmwa/gui/guildtab.h \ - net/tmwa/gui/partytab.cpp \ - net/tmwa/gui/partytab.h \ net/tmwa/adminhandler.cpp \ net/tmwa/adminhandler.h \ net/tmwa/attrs.h \ @@ -1253,11 +1249,7 @@ manaplus_SOURCES += \ if ENABLE_EATHENA manaplus_CXXFLAGS += -DEATHENA_SUPPORT -manaplus_SOURCES += net/eathena/gui/guildtab.cpp \ - net/eathena/gui/guildtab.h \ - net/eathena/gui/partytab.cpp \ - net/eathena/gui/partytab.h \ - net/eathena/adminhandler.cpp \ +manaplus_SOURCES += net/eathena/adminhandler.cpp \ net/eathena/adminhandler.h \ net/eathena/attrs.h \ net/eathena/beinghandler.cpp \ diff --git a/src/net/eathena/gui/guildtab.cpp b/src/net/eathena/gui/guildtab.cpp deleted file mode 100644 index 7704c06ce..000000000 --- a/src/net/eathena/gui/guildtab.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#include "net/eathena/gui/guildtab.h" - -#include "debug.h" - -namespace EAthena -{ -GuildTab::GuildTab(const Widget2 *const widget) : - Ea::GuildTab(widget) -{ -} - -GuildTab::~GuildTab() -{ -} - -} // namespace EAthena diff --git a/src/net/eathena/gui/guildtab.h b/src/net/eathena/gui/guildtab.h deleted file mode 100644 index 30dd63352..000000000 --- a/src/net/eathena/gui/guildtab.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#ifndef NET_EATHENA_GUI_GUILDTAB_H -#define NET_EATHENA_GUI_GUILDTAB_H - -#include "net/ea/gui/guildtab.h" - -namespace EAthena -{ - -/** - * A tab for a guild chat channel. - */ -class GuildTab final : public Ea::GuildTab -{ - public: - explicit GuildTab(const Widget2 *const widget); - - A_DELETE_COPY(GuildTab) - - ~GuildTab(); -}; - -} // namespace EAthena - -#endif // NET_EATHENA_GUI_GUILDTAB_H diff --git a/src/net/eathena/gui/partytab.cpp b/src/net/eathena/gui/partytab.cpp deleted file mode 100644 index 0f1531470..000000000 --- a/src/net/eathena/gui/partytab.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#include "net/eathena/gui/partytab.h" - -#include "debug.h" - -namespace EAthena -{ - -PartyTab::PartyTab(const Widget2 *const widget) : - Ea::PartyTab(widget) -{ -} - -PartyTab::~PartyTab() -{ -} - -} // namespace EAthena diff --git a/src/net/eathena/gui/partytab.h b/src/net/eathena/gui/partytab.h deleted file mode 100644 index 2dfd333fb..000000000 --- a/src/net/eathena/gui/partytab.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#ifndef NET_EATHENA_GUI_PARTYTAB_H -#define NET_EATHENA_GUI_PARTYTAB_H - -#include "net/ea/gui/partytab.h" - -namespace EAthena -{ - -/** - * A tab for a party chat channel. - */ -class PartyTab final : public Ea::PartyTab -{ - public: - explicit PartyTab(const Widget2 *const widget); - - A_DELETE_COPY(PartyTab) - - ~PartyTab(); -}; - -} // namespace EAthena - -#endif // NET_EATHENA_GUI_PARTYTAB_H diff --git a/src/net/tmwa/gui/guildtab.cpp b/src/net/tmwa/gui/guildtab.cpp deleted file mode 100644 index a08555e91..000000000 --- a/src/net/tmwa/gui/guildtab.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#include "net/tmwa/gui/guildtab.h" - -#include "debug.h" - -namespace TmwAthena -{ -GuildTab::GuildTab(const Widget2 *const widget) : - Ea::GuildTab(widget) -{ -} - -GuildTab::~GuildTab() -{ -} - -} // namespace TmwAthena diff --git a/src/net/tmwa/gui/guildtab.h b/src/net/tmwa/gui/guildtab.h deleted file mode 100644 index a10c592ec..000000000 --- a/src/net/tmwa/gui/guildtab.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#ifndef NET_TMWA_GUI_GUILDTAB_H -#define NET_TMWA_GUI_GUILDTAB_H - -#include "net/ea/gui/guildtab.h" - -namespace TmwAthena -{ - -/** - * A tab for a guild chat channel. - */ -class GuildTab final : public Ea::GuildTab -{ - public: - explicit GuildTab(const Widget2 *const widget); - - A_DELETE_COPY(GuildTab) - - ~GuildTab(); -}; - -} // namespace TmwAthena - -#endif // NET_TMWA_GUI_GUILDTAB_H diff --git a/src/net/tmwa/gui/partytab.cpp b/src/net/tmwa/gui/partytab.cpp deleted file mode 100644 index c1890b937..000000000 --- a/src/net/tmwa/gui/partytab.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#include "net/tmwa/gui/partytab.h" - -#include "debug.h" - -namespace TmwAthena -{ - -PartyTab::PartyTab(const Widget2 *const widget) : - Ea::PartyTab(widget) -{ -} - -PartyTab::~PartyTab() -{ -} - -} // namespace TmwAthena diff --git a/src/net/tmwa/gui/partytab.h b/src/net/tmwa/gui/partytab.h deleted file mode 100644 index b028831c0..000000000 --- a/src/net/tmwa/gui/partytab.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * 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 . - */ - -#ifndef NET_TMWA_GUI_PARTYTAB_H -#define NET_TMWA_GUI_PARTYTAB_H - -#include "net/ea/gui/partytab.h" - -namespace TmwAthena -{ - -/** - * A tab for a party chat channel. - */ -class PartyTab final : public Ea::PartyTab -{ - public: - explicit PartyTab(const Widget2 *const widget); - - A_DELETE_COPY(PartyTab) - - ~PartyTab(); -}; - -} // namespace TmwAthena - -#endif // NET_TMWA_GUI_PARTYTAB_H -- cgit v1.2.3-70-g09d2