summaryrefslogtreecommitdiff
path: root/src/net/protocoldefine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-31 01:59:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-31 01:59:16 +0300
commit366de9963d24841483e6ed8ff4a88f775a1c2fcf (patch)
tree087cfce87b177e792d51444005d34ff2983af24e /src/net/protocoldefine.h
parent44f92f0feec1cad267fe8584a5a275de98134b4a (diff)
downloadplus-366de9963d24841483e6ed8ff4a88f775a1c2fcf.tar.gz
plus-366de9963d24841483e6ed8ff4a88f775a1c2fcf.tar.bz2
plus-366de9963d24841483e6ed8ff4a88f775a1c2fcf.tar.xz
plus-366de9963d24841483e6ed8ff4a88f775a1c2fcf.zip
Rename packetdefine.h to protocoldefine.h
Diffstat (limited to 'src/net/protocoldefine.h')
-rw-r--r--src/net/protocoldefine.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/net/protocoldefine.h b/src/net/protocoldefine.h
new file mode 100644
index 000000000..a44289994
--- /dev/null
+++ b/src/net/protocoldefine.h
@@ -0,0 +1,26 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 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_PACKETDEFINE_H
+#define NET_PACKETDEFINE_H
+
+#define packet(name, id) static const int name = id
+
+#endif // NET_PACKETDEFINE_H