diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-31 03:09:23 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-31 03:09:23 +0000 |
commit | be1f90d40f50eb67fa641bd55e109af8338239c7 (patch) | |
tree | f7776993ec2fd8934bddb2e148aa407f15d28ce3 /src/gui/requesttrade.h | |
parent | efbf5fa72206086a7563ccfeddd601d324c7912f (diff) | |
download | mana-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.h | 17 |
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 |