summaryrefslogtreecommitdiff
path: root/configmgr/source/winreg.hxx
diff options
context:
space:
mode:
authorJanos Farago <farago.janos@andrews.hu>2013-09-03 09:42:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-10 11:16:39 +0200
commit5a02076358a547bae8a9b596d9722a7cd2d46c34 (patch)
tree4aebd3e8b9d59fb78c40279d5b1bbe351986c6a6 /configmgr/source/winreg.hxx
parentbe4b57b6da08231635f843529fed6fa53c931d02 (diff)
Windows registry configuration backend
The goal is to manage LibreOffice configuration centrally in the enterprise. In Windows Server environment using Group Policies is a common solution for configuration management. Therefore it is required that LibreOffice can read configuration data from Windows registry, too. Windows registry is another configuration layer on the top of normal xml based configuration. For example the following registry setting: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\o] "Value"="Example Corp." "Final"=dword:00000001 becomes the following in configuration: <item oor:path="/org.openoffice.UserProfile/Data"> <prop oor:name="o" oor:finalized="true"> <value>Example Corp.</value> </prop> </item> Change-Id: I2cdd83fc93922bf2806417bfd1b83f85cc926d4c Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'configmgr/source/winreg.hxx')
-rw-r--r--configmgr/source/winreg.hxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/configmgr/source/winreg.hxx b/configmgr/source/winreg.hxx
new file mode 100644
index 000000000000..020977262beb
--- /dev/null
+++ b/configmgr/source/winreg.hxx
@@ -0,0 +1,22 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ */
+
+#ifndef INCLUDED_CONFIGMGR_SOURCE_WINREG_HXX
+#define INCLUDED_CONFIGMGR_SOURCE_WINREG_HXX
+
+namespace configmgr {
+
+bool dumpWindowsRegistry(OUString* pFileURL);
+
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */