summaryrefslogtreecommitdiff
path: root/src/net/messagein.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-14 14:52:47 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-14 14:52:47 +0000
commiteb753d99914a0941ad7e2cfa4c8a364723340fc9 (patch)
tree4b43acd7426ae91c5f8ec90e75118b30931baafb /src/net/messagein.h
parent760d4498bd6a7a079cbff9b79d4dfcdde2e4665e (diff)
downloadmana-client-eb753d99914a0941ad7e2cfa4c8a364723340fc9.tar.gz
mana-client-eb753d99914a0941ad7e2cfa4c8a364723340fc9.tar.bz2
mana-client-eb753d99914a0941ad7e2cfa4c8a364723340fc9.tar.xz
mana-client-eb753d99914a0941ad7e2cfa4c8a364723340fc9.zip
Added stream operator for char, short and long reading and writing.
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r--src/net/messagein.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h
index 9a61ce7d..087d325c 100644
--- a/src/net/messagein.h
+++ b/src/net/messagein.h
@@ -31,6 +31,10 @@
*/
class MessageIn
{
+ friend char& operator<<(char &lhs, MessageIn &msg);
+ friend short& operator<<(short &lhs, MessageIn &msg);
+ friend long& operator<<(long &lhs, MessageIn &msg);
+
public:
/**
* Constructor.