summaryrefslogtreecommitdiff
path: root/shell/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-22 08:34:06 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-22 08:34:06 +0000
commit4915369b72cab9c70d89b9d49db2e42398b11c37 (patch)
tree54c6578162a3f812071d4ad62633ec5361876c29 /shell/source
parent699d5a0b9f7570afecd8328bf2cb7f39b3f38832 (diff)
INTEGRATION: CWS printsetting (1.5.40); FILE MERGED
2006/03/08 13:35:59 obr 1.5.40.1: #i50817# patch applied with minor modifications
Diffstat (limited to 'shell/source')
-rw-r--r--shell/source/backends/gconfbe/gconfbackend.hxx31
1 files changed, 29 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfbackend.hxx b/shell/source/backends/gconfbe/gconfbackend.hxx
index 44a1c9b7a443..748062325eb8 100644
--- a/shell/source/backends/gconfbe/gconfbackend.hxx
+++ b/shell/source/backends/gconfbe/gconfbackend.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: gconfbackend.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 19:46:47 $
+ * last change: $Author: obo $ $Date: 2006-03-22 09:34:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -87,6 +87,28 @@ namespace lang = css::lang ;
namespace backend = css::configuration::backend ;
+/** Structure containing the mapping between OOffice and Gconf keys.
+ AlOO specifies whether the key is protected, if key is protected it
+ can not be over riden in subsequent higher layers
+*/
+struct keyMapping
+{
+ keyMapping(){};
+ rtl::OUString mOOName;
+ rtl::OUString mOOType;
+ rtl::OUString mGconfName;
+ sal_Bool mbProtected;
+};
+
+typedef keyMapping KeyMappingInfo;
+typedef std::multimap<rtl::OUString, KeyMappingInfo> KeyMappingTable;
+
+/*Time Stamp mapping table used to store timestamps of updated components
+ when a notification is recieved. It is needed as you cannot access gconf key
+ timestamps via the Gconf api */
+
+typedef std::multimap<rtl::OUString, rtl::OUString> TSMappingTable;
+
//------------------------------------------------------------------------------
/*
@@ -214,6 +236,11 @@ class GconfBackend : public BackendBase {
/** Mutex for reOOurces protection */
osl::Mutex mMutex ;
+ KeyMappingTable mKeyMap;
+
+ /** List of component TimeStamps */
+ TSMappingTable mTSMap;
+
static GconfBackend* mInstance;
/** List of listener */