diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Handle.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Handle.h b/include/Handle.h index 3dbecae..3ef9408 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Handle.h,v 1.37 2007-05-30 11:57:08 pixel Exp $ */ +/* $Id: Handle.h,v 1.38 2008-01-21 17:19:07 pixel Exp $ */ #ifndef __HANDLE_H__ #define __HANDLE_H__ @@ -65,6 +65,8 @@ class Handle : public Base { void * mmap(off_t = 0, size_t = -1) throw (GeneralException); void munmap() throw (GeneralException); + + static int GetNbHandles(); protected: Handle(int h); int GetHandle() const; @@ -87,6 +89,7 @@ class Handle : public Base { bool mapped; size_t maplength; void * mappedarea; + static int nb_handles; }; Handle & operator<<(Handle &, const String &); |