diff options
Diffstat (limited to 'src/linkmessage.h')
| -rw-r--r-- | src/linkmessage.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/linkmessage.h b/src/linkmessage.h deleted file mode 100644 index 69423b3..0000000 --- a/src/linkmessage.h +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. | ||
| 3 | * | ||
| 4 | * This file is part of the libbu++ library and is released under the | ||
| 5 | * terms of the license contained in the file LICENSE. | ||
| 6 | */ | ||
| 7 | |||
| 8 | /**\file linkmessage.h | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef BU_LINKMESSAGE_H | ||
| 12 | #define BU_LINKMESSAGE_H | ||
| 13 | |||
| 14 | namespace Bu | ||
| 15 | { | ||
| 16 | /** | ||
| 17 | * A message to be broadcast accross ProgramLinks in a ProgramChain. Generally | ||
| 18 | * one would make a subclass of this in order to transmit more useful | ||
| 19 | * information, but sometimes it isn't necesarry. | ||
| 20 | */ | ||
| 21 | class LinkMessage | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** | ||
| 25 | * Construct a blank LinkMessage. | ||
| 26 | */ | ||
| 27 | LinkMessage() {}; | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Deconstruct a LinkMessage. | ||
| 31 | */ | ||
| 32 | virtual ~LinkMessage(); | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Create a LinkMessage object with a specific message assosiated with it | ||
| 36 | * to start with. | ||
| 37 | *@param nNewMsg The message to use in the Message object. | ||
| 38 | */ | ||
| 39 | LinkMessage( int nNewMsg ); | ||
| 40 | |||
| 41 | /** | ||
| 42 | * The message contained in the Message object. | ||
| 43 | */ | ||
| 44 | int nMsg; | ||
| 45 | }; | ||
| 46 | } | ||
| 47 | |||
| 48 | #endif | ||
