summaryrefslogtreecommitdiff
path: root/src/linkmessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linkmessage.cpp')
-rw-r--r--src/linkmessage.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/linkmessage.cpp b/src/linkmessage.cpp
new file mode 100644
index 0000000..abe113c
--- /dev/null
+++ b/src/linkmessage.cpp
@@ -0,0 +1,43 @@
1#include "bu/linkmessage.h"
2
3Bu::LinkMessage::LinkMessage( int nNewMsg )
4{
5 nMsg = nNewMsg;
6}
7
8Bu::LinkMessage::~LinkMessage()
9{
10}
11
12/*
13void LinkMessage::setBroadcast( bool bOn )
14{
15 bBroadcast = bOn;
16}
17
18bool LinkMessage::isBroadcast()
19{
20 return bBroadcast;
21}
22
23
24void LinkMessage::setFromID( int id )
25{
26 nFromLinkID = id;
27}
28
29int LinkMessage::getFromID()
30{
31 return nFromLinkID;
32}
33
34void LinkMessage::setToID( int id )
35{
36 nTargetLinkID = id;
37}
38
39int LinkMessage::getToID()
40{
41 return nTargetLinkID;
42}
43*/