From a23b30e3a3051393c8abd309be7376daf699a527 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Aug 2015 19:41:58 +0300 Subject: Move receive code from markethandler into separate file. --- src/net/eathena/marketrecv.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/net/eathena/marketrecv.h (limited to 'src/net/eathena/marketrecv.h') diff --git a/src/net/eathena/marketrecv.h b/src/net/eathena/marketrecv.h new file mode 100644 index 000000000..3686e5187 --- /dev/null +++ b/src/net/eathena/marketrecv.h @@ -0,0 +1,41 @@ +/* + * The ManaPlus Client + * Copyright (C) 2011-2015 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 . + */ + +#ifndef NET_EATHENA_MARKETRECV_H +#define NET_EATHENA_MARKETRECV_H + +#include "net/markethandler.h" + +#include "net/eathena/messagehandler.h" + +class BuyDialog; + +namespace EAthena +{ + namespace MarketRecv + { + extern BuyDialog *mBuyDialog; + + void processMarketOpen(Net::MessageIn &msg); + void processMarketBuyAck(Net::MessageIn &msg); + } // namespace MarketRecv +} // namespace EAthena + +#endif // NET_EATHENA_MARKETRECV_H -- cgit v1.2.3-70-g09d2