summaryrefslogtreecommitdiff
path: root/comm/Message.cc
diff options
context:
space:
mode:
authorchatty1994-05-10 09:53:40 +0000
committerchatty1994-05-10 09:53:40 +0000
commitf781f26a3b504704558b8fbcf73ffb8426b285fd (patch)
treedeaee3c04ad0bf0129eed0d945fe9bda6ecae867 /comm/Message.cc
parent44c762cb8f968f11cf824c1926937633eaa4161e (diff)
downloadivy-league-f781f26a3b504704558b8fbcf73ffb8426b285fd.zip
ivy-league-f781f26a3b504704558b8fbcf73ffb8426b285fd.tar.gz
ivy-league-f781f26a3b504704558b8fbcf73ffb8426b285fd.tar.bz2
ivy-league-f781f26a3b504704558b8fbcf73ffb8426b285fd.tar.xz
replaced TRUE/FALSE by true/false
MsgBuffer -> IOS
Diffstat (limited to 'comm/Message.cc')
-rw-r--r--comm/Message.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/comm/Message.cc b/comm/Message.cc
index c116c51..7d42248 100644
--- a/comm/Message.cc
+++ b/comm/Message.cc
@@ -15,6 +15,7 @@
#include "cplus_bugs.h"
#include "Message.h"
+#include "IOS.h"
/*?class UchMessage
\typ{UchMessage} is the abstract base class for messages.
@@ -42,9 +43,8 @@ functions or \fun{operator $<<$}.
The default implementation does nothing.
?*/
void
-UchMessage :: WriteTo (UchMsgBuffer&)
+UchMessage :: WriteTo (UchIOS&)
{
- // nothing
}
/*?
@@ -58,7 +58,7 @@ functions or \fun{operator $>>$}.
The default implementation does nothing.
?*/
void
-UchMessage :: ReadFrom (UchMsgBuffer&, lword)
+UchMessage :: ReadFrom (UchIOS&, lword)
{
}
@@ -83,9 +83,9 @@ MyClient :: NewMessage (UchMsgBuffer& buffer, bool ask)
if (m) {
buffer.Get (m);
m->Activate (*this);
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}
\end{ccode}
However, this virtual function is only provided as a facility and is not used