--- parser3/src/include/pa_stylesheet_manager.h 2001/11/08 11:04:12 1.6 +++ parser3/src/include/pa_stylesheet_manager.h 2002/02/08 08:30:14 1.12 @@ -1,10 +1,10 @@ /** @file Parser: Stylesheet manager decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_stylesheet_manager.h,v 1.6 2001/11/08 11:04:12 paf Exp $ + $Id: pa_stylesheet_manager.h,v 1.12 2002/02/08 08:30:14 paf Exp $ global sql driver manager, must be thread-safe @@ -13,7 +13,6 @@ #ifndef PA_STYLESHEET_MANAGER_H #define PA_STYLESHEET_MANAGER_H -#include "pa_config_includes.h" #include "pa_pool.h" #include "pa_hash.h" #include "pa_table.h" @@ -24,22 +23,23 @@ // forwards class Stylesheet_connection; +class Stylesheet_connection_ptr; /** XSLT stylesheet driver manager maintains stylesheet cache expiring unused stylesheets */ -class Stylesheet_manager : public Pooled, public Cache_manager { +class Stylesheet_manager : public Cache_manager { friend class Stylesheet_connection; public: Stylesheet_manager(Pool& apool); - ~Stylesheet_manager(); + virtual ~Stylesheet_manager(); /** check for disk update of "{file_spec}" or "{file_spec}.stamp", if not updated return cached version[if any] otherwise load/compile/return */ - Stylesheet_connection& get_connection(const String& file_spec); + Stylesheet_connection_ptr get_connection(const String& file_spec); private: // cache