diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-15 11:20:08 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-15 11:20:08 +0100 |
commit | 67b0b2494aa2f6d03b8fde92bf0309fffcbb6de6 (patch) | |
tree | 59c64769e97534af495b1ca16ab145fc950da2ef /common/message.h | |
parent | e7fbda45b408b369daf75307ccc6f20bef11dcce (diff) |
Added Message::Ready.
Diffstat (limited to 'common/message.h')
-rw-r--r-- | common/message.h | 10 |
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; }; |