From 44d94a1a9e863dea9a2c30349fd723b3b661ded1 Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 28 Nov 2000 17:07:44 +0000 Subject: * Removed smart pointers * Removed global.h --- comm/MsgBuffer.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'comm/MsgBuffer.h') diff --git a/comm/MsgBuffer.h b/comm/MsgBuffer.h index 869933b..442787e 100644 --- a/comm/MsgBuffer.h +++ b/comm/MsgBuffer.h @@ -3,10 +3,10 @@ * * by Michel Beaudouin-Lafon * - * Copyright 1990-1995 + * Copyright 1990-1997 * Laboratoire de Recherche en Informatique (LRI) * - * Messages, buffers + * Buffers for messages * * $Id$ * $CurLog$ @@ -16,18 +16,17 @@ #define Buffer_H_ #include "cplus_bugs.h" -#include "global.h" -#include "ccu/SmartPointer.h" +#include "ccu/bool.h" +#include "ccu/word.h" #include "IOS.h" class CcuString; class UchMessage; // Buffer is the buffer itself, End points after its last byte // Start and Stop limit its content -// UchMsgBuffer derives from CcuSmartData to be able to have smart pointers (pUchMsgBuffer) // a buffer grows and shrinks automatically // -class UchMsgBuffer : public CcuSmartData, public UchIOS { +class UchMsgBuffer : public UchIOS { protected: byte* Begin; byte* Start; @@ -102,6 +101,5 @@ public: friend UchMsgBuffer& DbgPrint (UchMsgBuffer&, int); }; -PointerClass (pUchMsgBuffer, UchMsgBuffer) - #endif /* Buffer_H_ */ + -- cgit v1.1