diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/Buffer.h | 3 | ||||
| -rw-r--r-- | include/Makefile.am | 2 | ||||
| -rw-r--r-- | include/Regex.h | 7 | 
3 files changed, 10 insertions, 2 deletions
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 <Exceptions.h> + +class Regex : public Base { +  public: +  private: +}; +  #else  #error This only works with a C++ compiler  #endif  | 
