summaryrefslogtreecommitdiff
path: root/src/gui/requesttrade.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-31 03:09:23 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-31 03:09:23 +0000
commitbe1f90d40f50eb67fa641bd55e109af8338239c7 (patch)
treef7776993ec2fd8934bddb2e148aa407f15d28ce3 /src/gui/requesttrade.h
parentefbf5fa72206086a7563ccfeddd601d324c7912f (diff)
downloadmana-be1f90d40f50eb67fa641bd55e109af8338239c7.tar.gz
mana-be1f90d40f50eb67fa641bd55e109af8338239c7.tar.bz2
mana-be1f90d40f50eb67fa641bd55e109af8338239c7.tar.xz
mana-be1f90d40f50eb67fa641bd55e109af8338239c7.zip
Made RequestTradeDialog inherit from ConfirmDialog.
Diffstat (limited to 'src/gui/requesttrade.h')
-rw-r--r--src/gui/requesttrade.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/gui/requesttrade.h b/src/gui/requesttrade.h
index d9ea67ed..5aa41ddb 100644
--- a/src/gui/requesttrade.h
+++ b/src/gui/requesttrade.h
@@ -24,18 +24,14 @@
#ifndef _TMW_REQUESTTRADE_
#define _TMW_REQUESTTRADE_
-#include <iosfwd>
-#include <guichan/actionlistener.hpp>
-
-#include "window.h"
-#include "../guichanfwd.h"
+#include "confirm_dialog.h"
/**
* The request trade dialog.
*
* \ingroup Interface
*/
-class RequestTradeDialog : public Window, public gcn::ActionListener
+class RequestTradeDialog : public ConfirmDialog
{
public:
/**
@@ -44,15 +40,6 @@ class RequestTradeDialog : public Window, public gcn::ActionListener
* @see Window::Window
*/
RequestTradeDialog(const std::string &name);
-
- /**
- * Called when receiving actions from the widgets.
- */
- void action(const std::string& eventId);
-
- private:
- gcn::Button *mAcceptButton;
- gcn::Button *mCancelButton;
};
#endif