--- parser3/src/include/pa_stylesheet_manager.h 2003/07/24 11:31:21 1.16 +++ parser3/src/include/pa_stylesheet_manager.h 2003/11/28 10:27:00 1.19 @@ -10,7 +10,7 @@ #ifndef PA_STYLESHEET_MANAGER_H #define PA_STYLESHEET_MANAGER_H -static const char* IDENT_STYLESHEET_MANAGER_H="$Date: 2003/07/24 11:31:21 $"; +static const char * const IDENT_STYLESHEET_MANAGER_H="$Date: 2003/11/28 10:27:00 $"; #include "pa_hash.h" @@ -33,23 +33,23 @@ public: 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_ptr get_connection(const String& file_spec); + Stylesheet_connection_ptr get_connection(String::Body file_spec); private: // cache - Stylesheet_connection* get_connection_from_cache(const String& file_spec); - void put_connection_to_cache(const String& file_spec, Stylesheet_connection& connection); + Stylesheet_connection* get_connection_from_cache(String::Body file_spec); + void put_connection_to_cache(String::Body file_spec, Stylesheet_connection& connection); private: time_t prev_expiration_pass_time; private: // for stylesheet /// caches connection - void close_connection(const String& file_spec, Stylesheet_connection& connection); + void close_connection(String::Body file_spec, Stylesheet_connection& connection); public: typedef Stack connection_cache_value_type; - typedef Hash connection_cache_type; + typedef Hash connection_cache_type; private: connection_cache_type connection_cache;