--- parser3/src/include/pa_stylesheet_manager.h 2001/11/08 14:47:32 1.7 +++ parser3/src/include/pa_stylesheet_manager.h 2002/08/01 11:41:16 1.14 @@ -1,11 +1,8 @@ /** @file Parser: Stylesheet manager decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) - - $Id: pa_stylesheet_manager.h,v 1.7 2001/11/08 14:47:32 paf Exp $ - + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) global sql driver manager, must be thread-safe */ @@ -13,7 +10,8 @@ #ifndef PA_STYLESHEET_MANAGER_H #define PA_STYLESHEET_MANAGER_H -#include "pa_config_includes.h" +static const char* IDENT_STYLESHEET_MANAGER_H="$Date: 2002/08/01 11:41:16 $"; + #include "pa_pool.h" #include "pa_hash.h" #include "pa_table.h" @@ -24,6 +22,7 @@ // forwards class Stylesheet_connection; +class Stylesheet_connection_ptr; /** XSLT stylesheet driver manager maintains @@ -34,12 +33,12 @@ class Stylesheet_manager : public Cache_ 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