diff options
Diffstat (limited to 'src/gui/windows/npcselldialog.h')
-rw-r--r-- | src/gui/windows/npcselldialog.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/gui/windows/npcselldialog.h b/src/gui/windows/npcselldialog.h deleted file mode 100644 index 688932a1b..000000000 --- a/src/gui/windows/npcselldialog.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_WINDOWS_NPCSELLDIALOG_H -#define GUI_WINDOWS_NPCSELLDIALOG_H - -#include "enums/simpletypes/beingid.h" - -#include "gui/widgets/selldialog.h" - -/** - * The sell dialog. - * - * \ingroup Interface - */ -class NpcSellDialog final : public SellDialog -{ - public: - /** - * Constructor. - * - * @see Window::Window - */ - explicit NpcSellDialog(const BeingId npcId); - - A_DELETE_COPY(NpcSellDialog) - - void close() override final; - - protected: - void sellAction(const ActionEvent &event) override final; - - void sellOneItem(); - - void sellManyItems(const std::string &eventId); - - BeingId mNpcId; -}; - -#endif // GUI_WINDOWS_NPCSELLDIALOG_H |