summaryrefslogtreecommitdiff
path: root/src/net/eathena/marketrecv.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-27 19:41:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-27 19:41:58 +0300
commita23b30e3a3051393c8abd309be7376daf699a527 (patch)
tree44a5ce6c04839de3178390b7984b5db80a75959b /src/net/eathena/marketrecv.h
parentd3044d1572e42a28d21590aff4499896cd2e2b92 (diff)
downloadmv-a23b30e3a3051393c8abd309be7376daf699a527.tar.gz
mv-a23b30e3a3051393c8abd309be7376daf699a527.tar.bz2
mv-a23b30e3a3051393c8abd309be7376daf699a527.tar.xz
mv-a23b30e3a3051393c8abd309be7376daf699a527.zip
Move receive code from markethandler into separate file.
Diffstat (limited to 'src/net/eathena/marketrecv.h')
-rw-r--r--src/net/eathena/marketrecv.h41
1 files changed, 41 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+ */
+
+#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