diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Exceptions.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/Exceptions.h b/include/Exceptions.h index 901bd33..ebe8462 100644 --- a/include/Exceptions.h +++ b/include/Exceptions.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Exceptions.h,v 1.41 2005-02-17 08:33:49 pixel Exp $ */ +/* $Id: Exceptions.h,v 1.42 2005-06-20 22:43:35 pixel Exp $ */ #ifndef __EXCEPTIONS_H__ #define __EXCEPTIONS_H__ @@ -162,6 +162,12 @@ class Exit : public GeneralException { int code; }; + +/*! + The printer class, if it exists, will be used as another way to display + informations from printm. +*/ + class printer_t : public Base { public: virtual bool printm(int, const char *, va_list) = 0; @@ -169,6 +175,13 @@ class printer_t : public Base { extern printer_t * printer; + +/*! + The locker class, if it exists, will be used to produce interlocking + inside the nested classes when needed. Define it if you're going to build + a real threaded software with Baltisot. +*/ + class locker_t : public Base { public: virtual void lock() = 0; |