diff options
author | Vegard Storheil Eriksen <zyp@sakuya.local> | 2010-11-07 22:08:48 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@sakuya.local> | 2010-11-07 22:08:48 +0100 |
commit | 64fdd300fe671292db68b9a94e4df0321f08ae07 (patch) | |
tree | b2af38ba54b166f0f7969bcd4e41d3f815939f41 /common/message.h | |
parent | 7c660aeee9763a6baf4a45ebcc1c029e3a43222e (diff) |
Add a temporary payload to messages.
Diffstat (limited to 'common/message.h')
-rw-r--r-- | common/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h index 57258c1..eee5ac7 100644 --- a/common/message.h +++ b/common/message.h @@ -3,6 +3,8 @@ #include <boost/shared_ptr.hpp> +#include <string> + class Message { private: Message(); @@ -14,6 +16,9 @@ class Message { static p create(); + //! Temporary payload. + std::string payload; + //! Serialize message. std::pair<uint8_t*, std::size_t> serialize(); |