summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalrecv.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-26 16:44:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-26 16:44:50 +0300
commitda649050e6a92a199e1ba6ec09f456b184e51809 (patch)
tree6dadd6b56e821fe715799f4e6b0c15c225a7134d /src/net/eathena/generalrecv.h
parent653447ca463eaf573e7123896155b538b8dec869 (diff)
downloadmanaplus-da649050e6a92a199e1ba6ec09f456b184e51809.tar.gz
manaplus-da649050e6a92a199e1ba6ec09f456b184e51809.tar.bz2
manaplus-da649050e6a92a199e1ba6ec09f456b184e51809.tar.xz
manaplus-da649050e6a92a199e1ba6ec09f456b184e51809.zip
Move receive code from generalhandler into separate file.
Diffstat (limited to 'src/net/eathena/generalrecv.h')
-rw-r--r--src/net/eathena/generalrecv.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/net/eathena/generalrecv.h b/src/net/eathena/generalrecv.h
new file mode 100644
index 000000000..d18c81a09
--- /dev/null
+++ b/src/net/eathena/generalrecv.h
@@ -0,0 +1,39 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * 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_GENERALRECV_H
+#define NET_EATHENA_GENERALRECV_H
+
+#include "net/generalhandler.h"
+
+#include "net/eathena/messagehandler.h"
+
+namespace EAthena
+{
+ namespace GeneralRecv
+ {
+ void processConnectionProblem(Net::MessageIn &msg);
+ void processMapNotFound(Net::MessageIn &msg);
+ } // namespace GeneralRecv
+} // namespace EAthena
+
+#endif // NET_EATHENA_GENERALRECV_H