diff options
Diffstat (limited to 'src/linkmessage.cpp')
-rw-r--r-- | src/linkmessage.cpp | 43 |
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 | |||
3 | Bu::LinkMessage::LinkMessage( int nNewMsg ) | ||
4 | { | ||
5 | nMsg = nNewMsg; | ||
6 | } | ||
7 | |||
8 | Bu::LinkMessage::~LinkMessage() | ||
9 | { | ||
10 | } | ||
11 | |||
12 | /* | ||
13 | void LinkMessage::setBroadcast( bool bOn ) | ||
14 | { | ||
15 | bBroadcast = bOn; | ||
16 | } | ||
17 | |||
18 | bool LinkMessage::isBroadcast() | ||
19 | { | ||
20 | return bBroadcast; | ||
21 | } | ||
22 | |||
23 | |||
24 | void LinkMessage::setFromID( int id ) | ||
25 | { | ||
26 | nFromLinkID = id; | ||
27 | } | ||
28 | |||
29 | int LinkMessage::getFromID() | ||
30 | { | ||
31 | return nFromLinkID; | ||
32 | } | ||
33 | |||
34 | void LinkMessage::setToID( int id ) | ||
35 | { | ||
36 | nTargetLinkID = id; | ||
37 | } | ||
38 | |||
39 | int LinkMessage::getToID() | ||
40 | { | ||
41 | return nTargetLinkID; | ||
42 | } | ||
43 | */ | ||