diff options
Diffstat (limited to 'registry/source/registry.cxx')
-rw-r--r-- | registry/source/registry.cxx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx index a58a79c8bb76..c498f113c7c6 100644 --- a/registry/source/registry.cxx +++ b/registry/source/registry.cxx @@ -30,9 +30,6 @@ extern "C" { - -// acquire - static void REGISTRY_CALLTYPE acquire(RegHandle hReg) { ORegistry* pReg = static_cast<ORegistry*>(hReg); @@ -41,9 +38,6 @@ static void REGISTRY_CALLTYPE acquire(RegHandle hReg) pReg->acquire(); } - -// release - static void REGISTRY_CALLTYPE release(RegHandle hReg) { ORegistry* pReg = static_cast<ORegistry*>(hReg); @@ -55,9 +49,6 @@ static void REGISTRY_CALLTYPE release(RegHandle hReg) } } - -// getName - static RegError REGISTRY_CALLTYPE getName(RegHandle hReg, rtl_uString** pName) { if (hReg) @@ -78,9 +69,6 @@ static RegError REGISTRY_CALLTYPE getName(RegHandle hReg, rtl_uString** pName) return RegError::INVALID_REGISTRY; } - -// isReadOnly - static sal_Bool REGISTRY_CALLTYPE isReadOnly(RegHandle hReg) { if (hReg) @@ -89,9 +77,6 @@ static sal_Bool REGISTRY_CALLTYPE isReadOnly(RegHandle hReg) return false; } - -// createRegistry - static RegError REGISTRY_CALLTYPE createRegistry(rtl_uString* registryName, RegHandle* phRegistry) { @@ -110,9 +95,6 @@ static RegError REGISTRY_CALLTYPE createRegistry(rtl_uString* registryName, return RegError::NO_ERROR; } - -// openRootKey - static RegError REGISTRY_CALLTYPE openRootKey(RegHandle hReg, RegKeyHandle* phRootKey) { @@ -134,9 +116,6 @@ static RegError REGISTRY_CALLTYPE openRootKey(RegHandle hReg, return RegError::NO_ERROR; } - -// openRegistry - static RegError REGISTRY_CALLTYPE openRegistry(rtl_uString* registryName, RegHandle* phRegistry, RegAccessMode accessMode) @@ -157,9 +136,6 @@ static RegError REGISTRY_CALLTYPE openRegistry(rtl_uString* registryName, return RegError::NO_ERROR; } - -// closeRegistry - static RegError REGISTRY_CALLTYPE closeRegistry(RegHandle hReg) { if (hReg) @@ -184,9 +160,6 @@ static RegError REGISTRY_CALLTYPE closeRegistry(RegHandle hReg) } } - -// destroyRegistry - static RegError REGISTRY_CALLTYPE destroyRegistry(RegHandle hReg, rtl_uString* registryName) { @@ -235,9 +208,6 @@ static RegError REGISTRY_CALLTYPE dumpRegistry(RegHandle hReg, return pReg->dumpRegistry(hKey); } - -// initRegistry_Api - Registry_Api* REGISTRY_CALLTYPE initRegistry_Api() { static Registry_Api aApi= {&acquire, @@ -278,18 +248,12 @@ Registry_Api* REGISTRY_CALLTYPE initRegistry_Api() } - -// reg_openRootKey - RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry, RegKeyHandle* phRootKey) { return openRootKey(hRegistry, phRootKey); } - -// reg_openRegistry - RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName, RegHandle* phRegistry) { @@ -308,9 +272,6 @@ RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName, return RegError::NO_ERROR; } - -// reg_closeRegistry - RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry) { if (hRegistry) @@ -324,9 +285,6 @@ RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry) } } - -// reg_dumpRegistry - RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey) { ORegKey *pKey; |