20#ifndef INCLUDED_COMPHELPER_CONFIGURATIONHELPER_HXX
21#define INCLUDED_COMPHELPER_CONFIGURATIONHELPER_HXX
23#include <com/sun/star/uno/Reference.h>
24#include <com/sun/star/uno/Any.hxx>
25#include <rtl/ustring.hxx>
89 static css::uno::Reference< css::uno::XInterface > openConfig(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
90 const OUString& sPackage,
118 static css::uno::Any readRelativeKey(
const css::uno::Reference< css::uno::XInterface >& xCFG ,
119 const OUString& sRelPath,
120 const OUString& sKey );
148 static void writeRelativeKey(
const css::uno::Reference< css::uno::XInterface >& xCFG ,
149 const OUString& sRelPath,
150 const OUString& sKey ,
151 const css::uno::Any& aValue );
182 static css::uno::Reference< css::uno::XInterface > makeSureSetNodeExists(
const css::uno::Reference< css::uno::XInterface >& xCFG ,
183 const OUString& sRelPathToSet,
184 const OUString& sSetNode );
199 static void flush(
const css::uno::Reference< css::uno::XInterface >& xCFG);
211 static css::uno::Any readDirectKey(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
212 const OUString& sPackage,
213 const OUString& sRelPath,
214 const OUString& sKey ,
227 static void writeDirectKey(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
228 const OUString& sPackage,
229 const OUString& sRelPath,
230 const OUString& sKey ,
231 const css::uno::Any& aValue ,
#define COMPHELPER_DLLPUBLIC
EConfigurationModes
specify all possible modes, which can be used to open a configuration access.