summaryrefslogtreecommitdiff
path: root/common/message.h
diff options
context:
space:
mode:
authorOle Daniel Evensen <ole_daniel_evensen@hotmail.com>2010-11-15 11:21:26 +0100
committerOle Daniel Evensen <ole_daniel_evensen@hotmail.com>2010-11-15 11:21:26 +0100
commit129781a715f88c9398a5716af1aa1203b1fee89a (patch)
tree59c64769e97534af495b1ca16ab145fc950da2ef /common/message.h
parente7fbda45b408b369daf75307ccc6f20bef11dcce (diff)
parent67b0b2494aa2f6d03b8fde92bf0309fffcbb6de6 (diff)
Merge branch 'master' of ssh://git.jvnv.net/srv/git/aotenjou
Diffstat (limited to 'common/message.h')
-rw-r--r--common/message.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h
index 3587229..b2d3078 100644
--- a/common/message.h
+++ b/common/message.h
@@ -90,6 +90,16 @@ namespace Message {
virtual void deserialize(uint8_t* data, std::size_t bytes);
};
+ class Ready : public Base {
+ public:
+ typedef boost::shared_ptr<Ready> p;
+
+ Ready();
+
+ virtual std::pair<uint8_t*, std::size_t> serialize();
+ virtual void deserialize(uint8_t* data, std::size_t bytes);
+ };
+
typedef boost::shared_ptr<Base> p;
};