From 405648ccafb1e6f47741480cc44e114271d319c0 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 5 Nov 2001 01:42:53 +0000 Subject: Late night changes --- include/Buffer.h | 3 ++- include/Makefile.am | 2 +- include/Regex.h | 7 +++++++ 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Buffer.h b/include/Buffer.h index c6bfcf4..cf57cb6 100644 --- a/include/Buffer.h +++ b/include/Buffer.h @@ -9,7 +9,7 @@ #define realloc_threshold 256 #endif -class Buffer: public Handle { +class Buffer : public Handle { public: Buffer(); ~Buffer(); @@ -18,6 +18,7 @@ class Buffer: public Handle { virtual bool CanRead(); virtual bool CanWrite(); virtual String GetName(); + Buffer operator=(const Buffer &); private: char * buffer; int realsiz, bufsiz, ptr; diff --git a/include/Makefile.am b/include/Makefile.am index 245640d..156307a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,4 +1,4 @@ include_HEADERS = \ Exceptions.h Handle.h String.h Output.h Socket.h HttpServ.h Variables.h Menu.h \ Action.h Message.h Form.h Confirm.h Table.h IRC.h Task.h Buffer.h General.h \ -CopyJob.h ReadJob.h +CopyJob.h ReadJob.h Regex.h diff --git a/include/Regex.h b/include/Regex.h index 363be99..66f6fc3 100644 --- a/include/Regex.h +++ b/include/Regex.h @@ -2,6 +2,13 @@ #define __REGEX_H__ #ifdef __cplusplus +#include + +class Regex : public Base { + public: + private: +}; + #else #error This only works with a C++ compiler #endif -- cgit v1.2.3