--- parser3/src/include/pa_cache_managers.h 2003/01/31 12:10:43 1.9.2.4 +++ parser3/src/include/pa_cache_managers.h 2003/02/03 11:55:33 1.9.2.6 @@ -1,16 +1,16 @@ /** @file Parser: cache managers center decl. - Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Date: 2003/01/31 12:10:43 $ + $Date: 2003/02/03 11:55:33 $ */ #ifndef PA_CACHE_MANAGERS_H #define PA_CACHE_MANAGERS_H -static const char* IDENT_CACHE_MANAGERS_H="$Date: 2003/01/31 12:10:43 $"; +static const char* IDENT_CACHE_MANAGERS_H="$Date: 2003/02/03 11:55:33 $"; #include "pa_hash.h" #include "pa_value.h" @@ -24,9 +24,10 @@ public: virtual ValuePtr get_status(Pool& pool, StringPtr source) =0; virtual void maybe_expire_cache() {} }; +DECLARE_OBJECT_PTR(Cache_manager); /// maintains name=>Cache_manager association, can expire its contents -class Cache_managers: public Hash { +class Cache_managers: public Hash { public: /// maybe-expires all caches it contains, each cache manager desides it itself void maybe_expire();