diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 20:15:10 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 21:33:02 +0100 |
commit | bd8a6c93391eb8c40cd30c0c5a84abb8afef2f0a (patch) | |
tree | cd81eacd2a4c81ddcb0e9b9e6f0af5cfd12c2bb8 /registry | |
parent | d10470bf1a2e170b80815d136eb5d83fc29b76ca (diff) |
registry: remove obsolete methods
Diffstat (limited to 'registry')
-rw-r--r-- | registry/inc/registry/registry.h | 29 | ||||
-rw-r--r-- | registry/source/regkey.cxx | 38 |
2 files changed, 0 insertions, 67 deletions
diff --git a/registry/inc/registry/registry.h b/registry/inc/registry/registry.h index 5374d65f0e99..43d058fb2d28 100644 --- a/registry/inc/registry/registry.h +++ b/registry/inc/registry/registry.h @@ -279,25 +279,6 @@ RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType, RegValue pValueList, sal_uInt32 len); -/** This function used to create a link. - - @obsolete Links are no longer supported. - - @return REG_INVALID_LINK -*/ -RegError REGISTRY_CALLTYPE reg_createLink(RegKeyHandle hKey, - rtl_uString* linkName, - rtl_uString* linkTarget); - -/** This function used to delete a link. - - @obsolete Links are no longer supported. - - @return REG_INVALID_LINK -*/ -RegError REGISTRY_CALLTYPE reg_deleteLink(RegKeyHandle hKey, - rtl_uString* linkName); - /** This function returns the type of a key. The registry differentiates two possible types: @@ -312,16 +293,6 @@ RegError REGISTRY_CALLTYPE reg_getKeyType(RegKeyHandle hKey, rtl_uString* keyName, RegKeyType* pKeyType); -/** This function used to return the linktarget of a link. - - @obsolete Links are no longer supported. - - @return REG_INVALID_LINK -*/ -RegError REGISTRY_CALLTYPE reg_getLinkTarget(RegKeyHandle hKey, - rtl_uString* linkName, - rtl_uString** pLinkTarget); - /** This function resolves a keyname. and returns the resolved keyName in pResolvedName. diff --git a/registry/source/regkey.cxx b/registry/source/regkey.cxx index b0446c73b07a..1ae99626686e 100644 --- a/registry/source/regkey.cxx +++ b/registry/source/regkey.cxx @@ -960,31 +960,6 @@ RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType, } //********************************************************************* -// reg_createLink -// -RegError REGISTRY_CALLTYPE reg_createLink(RegKeyHandle hKey, - rtl_uString* linkName, - rtl_uString* linkTarget) -{ - if (!hKey) - return REG_INVALID_KEY; - - return createLink(hKey, linkName, linkTarget); -} - -//********************************************************************* -// reg_deleteLink -// -RegError REGISTRY_CALLTYPE reg_deleteLink(RegKeyHandle hKey, - rtl_uString* linkName) -{ - if (!hKey) - return REG_INVALID_KEY; - - return deleteLink(hKey, linkName); -} - -//********************************************************************* // reg_getKeyType // RegError REGISTRY_CALLTYPE reg_getKeyType(RegKeyHandle hKey, @@ -998,19 +973,6 @@ RegError REGISTRY_CALLTYPE reg_getKeyType(RegKeyHandle hKey, } //********************************************************************* -// reg_getLinkTarget -// -RegError REGISTRY_CALLTYPE reg_getLinkTarget(RegKeyHandle hKey, - rtl_uString* linkName, - rtl_uString** pLinkTarget) -{ - if (!hKey) - return REG_INVALID_KEY; - - return getLinkTarget(hKey, linkName, pLinkTarget); -} - -//********************************************************************* // reg_getResolvedKeyName // RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey, |