--- parser3/src/include/pa_cache_managers.h 2003/12/11 09:25:50 1.14 +++ parser3/src/include/pa_cache_managers.h 2004/04/01 11:43:53 1.17 @@ -1,16 +1,16 @@ /** @file Parser: cache managers center decl. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Date: 2003/12/11 09:25:50 $ + $Date: 2004/04/01 11:43:53 $ */ #ifndef PA_CACHE_MANAGERS_H #define PA_CACHE_MANAGERS_H -static const char * const IDENT_CACHE_MANAGERS_H="$Date: 2003/12/11 09:25:50 $"; +static const char * const IDENT_CACHE_MANAGERS_H="$Date: 2004/04/01 11:43:53 $"; #include "pa_hash.h" #include "pa_value.h" @@ -30,6 +30,7 @@ public: class Cache_managers: public Hash { public: Cache_managers(); + virtual ~Cache_managers(); /// maybe-expires all caches it contains, each cache manager desides it itself void maybe_expire(); @@ -37,6 +38,6 @@ public: }; /// global -extern Cache_managers cache_managers; +extern Cache_managers* cache_managers; #endif