diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-06-18 14:50:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-06-18 14:50:28 +0000 |
commit | 812f36c023c4ede3188f77a68536ebaec4c53bbb (patch) | |
tree | 67e17739daaf1afb73dc6e0a18cd8e992142e246 /configmgr/source/inc/requestoptions.hxx | |
parent | a6eb00bc8ea629c674238bc8e4273b9fc3ea81ac (diff) |
INTEGRATION: CWS cfgapi (1.5.20); FILE MERGED
2004/05/31 12:47:14 ssmith 1.5.20.1: #28725# #28728# adding XFlushable and XRefreshable
Diffstat (limited to 'configmgr/source/inc/requestoptions.hxx')
-rw-r--r-- | configmgr/source/inc/requestoptions.hxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/configmgr/source/inc/requestoptions.hxx b/configmgr/source/inc/requestoptions.hxx index a0b91fd84de5..3c8dda35859e 100644 --- a/configmgr/source/inc/requestoptions.hxx +++ b/configmgr/source/inc/requestoptions.hxx @@ -2,9 +2,9 @@ * * $RCSfile: requestoptions.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2004-01-20 16:26:18 $ + * last change: $Author: hr $ $Date: 2004-06-18 15:50:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,12 +91,14 @@ namespace configmgr RequestOptions() : m_sLocale() , m_sEntity() - , m_bEnableAsync(false) + , m_bEnableAsync(true) + , m_bReload(false) {} /// @returns <TRUE/>, if data can be written asynchronously bool isAsyncEnabled() const { return m_bEnableAsync; } - + /// @returns <TRUE/>, if data is reloaded into cache + bool isRefreshEnabled() const { return m_bReload; } /** @returns <TRUE/>, if a locale is specified, <BR/> <FALSE/>, if the default locale should be used @@ -135,7 +137,8 @@ namespace configmgr /// marks asyncronous access a enabled or disabled void enableAsync(bool _bEnable = true) { m_bEnableAsync = _bEnable; } - + /// enforce a refresh to cache + void forceRefresh(bool _bEnable = true) { m_bReload = _bEnable; } // comparison/container helpers /// return a hash code for this object sal_Int32 hashCode() const; @@ -145,6 +148,7 @@ namespace configmgr Locale m_sLocale; /// locale to fetch data for Entity m_sEntity; /// user/group/role to fetch data for bool m_bEnableAsync; /// true, if data may be + bool m_bReload; /// reload into cache from backend }; // --------------------------------------------------------------------------- |