diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-03 10:20:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-03 15:41:16 +0200 |
commit | cade2b8f9f9c39fc7bc6960f5faf591860be58ae (patch) | |
tree | ed5bcf93a5aab0aed4e67081720c6c4065c2fca9 /registry/inc | |
parent | 6556043364877c0ac74c07b509856dccfe52e43a (diff) |
No need for a C API here
Change-Id: Ie453a7c97a762932884c5c41b13607a170368107
Diffstat (limited to 'registry/inc')
-rw-r--r-- | registry/inc/regapi.hxx (renamed from registry/inc/registry.h) | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/registry/inc/registry.h b/registry/inc/regapi.hxx index 8af32faa94ec..c84dab43fa61 100644 --- a/registry/inc/registry.h +++ b/registry/inc/regapi.hxx @@ -17,18 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_REGISTRY_INC_REGISTRY_H -#define INCLUDED_REGISTRY_INC_REGISTRY_H +#ifndef INCLUDED_REGISTRY_INC_REGAPI_HXX +#define INCLUDED_REGISTRY_INC_REGAPI_HXX #include <stddef.h> #include <rtl/ustring.h> #include <registry/regtype.h> #include <registry/regdllapi.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - /** This function creates the specified key. If the key already exists in the registry, the function opens the key only. @@ -295,7 +291,7 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueTyp */ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey, rtl_uString* keyName, - sal_Bool firstLinkOnly, + bool firstLinkOnly, rtl_uString** pResolvedName); /** This function loads registry information from a file and save it under the @@ -350,8 +346,8 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey, REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_mergeKey(RegKeyHandle hKey, rtl_uString* keyName, rtl_uString* regFileName, - sal_Bool bWarnings, - sal_Bool bReport); + bool bWarnings, + bool bReport); /** This function creates a new registry with the specified name and creates a root key. @@ -388,7 +384,7 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uS @param hReg identifies a currently open registry. @return TRUE if accessmode is read only else FALSE. */ -REG_DLLPUBLIC sal_Bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg); +REG_DLLPUBLIC bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg); /** This function opens a registry with the specified name. @@ -431,10 +427,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry */ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey); -#ifdef __cplusplus -} -#endif - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |