summaryrefslogtreecommitdiff
path: root/src/listeners/requesttradelistener.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-21 12:28:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-21 20:26:12 +0300
commitf4fe732ccbd65fd584b7787f3b5aec904a85d11b (patch)
tree5cf6023ab3713316326547026c10f2fb4ce6d8b8 /src/listeners/requesttradelistener.h
parentc78423448941517eeae0a60e703a5dc2976aed0c (diff)
downloadmanaverse-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.tar.gz
manaverse-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.tar.bz2
manaverse-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.tar.xz
manaverse-f4fe732ccbd65fd584b7787f3b5aec904a85d11b.zip
Fix code style.
Diffstat (limited to 'src/listeners/requesttradelistener.h')
-rw-r--r--src/listeners/requesttradelistener.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/listeners/requesttradelistener.h b/src/listeners/requesttradelistener.h
index 54cbce8de..6d549dcfd 100644
--- a/src/listeners/requesttradelistener.h
+++ b/src/listeners/requesttradelistener.h
@@ -20,10 +20,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef LISTENERS_REQUESTTRADELISTENER_H
+#define LISTENERS_REQUESTTRADELISTENER_H
+
#include "being/playerrelations.h"
#include "gui/windows/confirmdialog.h"
+#include "net/net.h"
#include "net/tradehandler.h"
#include "listeners/actionlistener.h"
@@ -49,3 +53,5 @@ struct RequestTradeListener final : public ActionListener
Net::getTradeHandler()->respond(eventId == "yes");
}
};
+
+#endif // LISTENERS_REQUESTTRADELISTENER_H