summaryrefslogtreecommitdiff
path: root/src/messageout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messageout.h')
-rw-r--r--src/messageout.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/messageout.h b/src/messageout.h
index 245c3dca..41a6b983 100644
--- a/src/messageout.h
+++ b/src/messageout.h
@@ -40,6 +40,11 @@ class MessageOut
MessageOut();
/**
+ * Constructor that takes a message ID.
+ */
+ MessageOut(short id);
+
+ /**
* Destructor.
*/
~MessageOut();
@@ -60,12 +65,12 @@ class MessageOut
* a call to this method.
*/
const Packet *getPacket();
-
+
/**
* Returns the content of the message.
*/
char *getData();
-
+
/**
* Returns the length of the data.
*/