summaryrefslogtreecommitdiff
path: root/src/gui/windows/eggselectiondialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-22 19:48:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-22 19:48:04 +0300
commitde4548a50ecb4d4700c9899044f50070f7d9a95a (patch)
treed54bc1bdf010b2a08cdf067fcaf64d92d42685b1 /src/gui/windows/eggselectiondialog.h
parentbf3c7384ad1b1fce8beac97f8715eb054158f72e (diff)
downloadmanaplus-de4548a50ecb4d4700c9899044f50070f7d9a95a.tar.gz
manaplus-de4548a50ecb4d4700c9899044f50070f7d9a95a.tar.bz2
manaplus-de4548a50ecb4d4700c9899044f50070f7d9a95a.tar.xz
manaplus-de4548a50ecb4d4700c9899044f50070f7d9a95a.zip
Add egg selection dialog.
Diffstat (limited to 'src/gui/windows/eggselectiondialog.h')
-rw-r--r--src/gui/windows/eggselectiondialog.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/gui/windows/eggselectiondialog.h b/src/gui/windows/eggselectiondialog.h
new file mode 100644
index 000000000..c8b310c8f
--- /dev/null
+++ b/src/gui/windows/eggselectiondialog.h
@@ -0,0 +1,45 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2004-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 <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GUI_WINDOWS_EGGSELECTIONDIALOG_H
+#define GUI_WINDOWS_EGGSELECTIONDIALOG_H
+
+#include "gui/widgets/selldialog.h"
+
+class EggSelectionDialog final : public SellDialog
+{
+ public:
+ /**
+ * Constructor.
+ *
+ * @see Window::Window
+ */
+ EggSelectionDialog();
+
+ A_DELETE_COPY(EggSelectionDialog)
+
+ protected:
+ void initButtons() override final;
+ void sellAction(const ActionEvent &event) override final;
+};
+
+#endif // GUI_WINDOWS_EGGSELECTIONDIALOG_H