--- parser3/src/include/pa_stylesheet_connection.h 2001/09/25 09:36:51 1.4 +++ parser3/src/include/pa_stylesheet_connection.h 2001/10/02 17:11:41 1.8 @@ -1,11 +1,10 @@ /** @file - Parser: stylesheet fstylesheet decl. + Parser: Stylesheet connection decl. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_stylesheet_connection.h,v 1.4 2001/09/25 09:36:51 parser Exp $ + $Id: pa_stylesheet_connection.h,v 1.8 2001/10/02 17:11:41 parser Exp $ */ #ifndef PA_STYLESHEET_CONNECTION_H @@ -17,8 +16,6 @@ #include "pa_exception.h" #include "pa_common.h" -#include - // defines #define STYLESHEET_FILENAME_STAMP_SUFFIX ".stamp" @@ -63,8 +60,9 @@ public: bool connected() { return fstylesheet!=0; } - const XalanCompiledStylesheet& stylesheet() { - if(time_t new_disk_time=get_new_disk_time()) + const XalanCompiledStylesheet& stylesheet(bool nocache) { + time_t new_disk_time=get_new_disk_time(); + if(nocache || new_disk_time) load(new_disk_time); return *fstylesheet; }