From f44633df7f1bea8920bcb5a2b39ee0c334e9da8d Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 29 Nov 1993 15:45:14 +0000 Subject: Removed useless default constructor Changed return type of Ask and ConvertAnswer --- comm/MsgStream.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'comm/MsgStream.h') diff --git a/comm/MsgStream.h b/comm/MsgStream.h index c2b8e1f..bfa8e78 100644 --- a/comm/MsgStream.h +++ b/comm/MsgStream.h @@ -41,11 +41,11 @@ enum TYPE { MSG = 1, ASK, ANS, SYNC, ASYNC, OK }; void ProcessInput (UchMsgBuffer&, bool); int ReadInput (); + public: - UchMsgStream (); - UchMsgStream (const UchMsgStream&); - UchMsgStream (UchAddress*, UchAddress*); - ~UchMsgStream (); + UchMsgStream (const UchMsgStream&); + UchMsgStream (UchAddress* = 0, UchAddress* = 0); + ~UchMsgStream (); void InputBuffer (int min, int grow, int max); void OutputBuffer (int min, int grow, int max); @@ -57,10 +57,10 @@ inline void FlushSize (int n) { OutSize = n; } inline bool GetSyncMode () { return Sync; } inline void SetSyncMode (bool s) { Sync = s; Flush (); } virtual bool NewMessage (UchMsgBuffer&, bool); -virtual void* ConvertAnswer (UchMsgBuffer&); +virtual UchMessage* ConvertAnswer (UchMsgBuffer&); virtual void Delete (); void Send (UchMessage&, bool = FALSE); - void* Ask (UchMessage&); + UchMessage* Ask (UchMessage&); void Reply (UchMessage&); void Flush (); void Send (UchMsgBuffer&, bool = FALSE); -- cgit v1.1