summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-08 12:43:52 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 08:41:11 +0200
commit1f34524746a0849ee2c76241d7ac6934110009fe (patch)
tree5757a12140ae39bfd52f7fb434760ad428724663 /include/registry
parent1bdbe0b475464402716c1c304d28376f1c37d820 (diff)
remove reg keytype constants and related code
since we no longer support the RG_LINKTYPE stuff Change-Id: If388ecfa0c475471b99b26155ad554ec702ca734
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.h16
-rw-r--r--include/registry/registry.hxx19
-rw-r--r--include/registry/regtype.h14
3 files changed, 0 insertions, 49 deletions
diff --git a/include/registry/registry.h b/include/registry/registry.h
index 15e6c9dd42ff..68e6014cca40 100644
--- a/include/registry/registry.h
+++ b/include/registry/registry.h
@@ -283,22 +283,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueTyp
RegValue pValueList,
sal_uInt32 len);
-/** This function returns the type of a key.
-
- The registry differentiates two possible types:
- - RG_KEYTYPE represents a real key
- - RG_LINKTYPE used to represent a link (no longer used)
- @param[in] hKey identifies a currently open key. The key specified by keyName is a subkey
- of the key identified by hKey.
- @param[in] keyName points to a null terminated string specifying the name of the key which keytype
- will be returned.
- @param[out] pKeyType returns the type of the key.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getKeyType(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegKeyType* pKeyType);
-
/** This function resolves a keyname.
@param[in] hKey identifies a currently open key. The key specified by keyName is a subkey
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index 7f023a0504a9..f290d9a96571 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -67,7 +67,6 @@ struct Registry_Api
RegError (REGISTRY_CALLTYPE *getStringListValue) (RegKeyHandle, rtl_uString*, sal_Char***, sal_uInt32*);
RegError (REGISTRY_CALLTYPE *getUnicodeListValue)(RegKeyHandle, rtl_uString*, sal_Unicode***, sal_uInt32*);
RegError (REGISTRY_CALLTYPE *freeValueList) (RegValueType, RegValue, sal_uInt32);
- RegError (REGISTRY_CALLTYPE *getKeyType) (RegKeyHandle, rtl_uString*, RegKeyType*);
RegError (REGISTRY_CALLTYPE *getResolvedKeyName) (RegKeyHandle, rtl_uString*, sal_Bool, rtl_uString**);
RegError (REGISTRY_CALLTYPE *getKeyNames) (RegKeyHandle, rtl_uString*, rtl_uString***, sal_uInt32*);
RegError (REGISTRY_CALLTYPE *freeKeyNames) (rtl_uString**, sal_uInt32);
@@ -604,15 +603,6 @@ public:
*/
inline RegError deleteLink(const rtl::OUString& linkName);
- /** returns the type of the specified key.
-
- @param name specifies the name of the key or link.
- @param pKeyType returns the type of the key (always RG_KEYTYPE).
- @return REG_NO_ERROR if succeeds else an error code.
- */
- inline RegError getKeyType(const rtl::OUString& name,
- RegKeyType* pKeyType) const;
-
/** used to return the target of a link.
@deprecated Links are no longer supported.
@@ -1099,15 +1089,6 @@ inline RegError RegistryKey::deleteLink(const rtl::OUString& )
return REG_INVALID_KEY;
}
-inline RegError RegistryKey::getKeyType(const rtl::OUString& keyName,
- RegKeyType* pKeyType) const
- {
- if (m_registry.isValid())
- return m_registry.m_pApi->getKeyType(m_hImpl, keyName.pData, pKeyType);
- else
- return REG_INVALID_KEY;
- }
-
inline RegError RegistryKey::getLinkTarget(const rtl::OUString& ,
rtl::OUString& ) const
{
diff --git a/include/registry/regtype.h b/include/registry/regtype.h
index 9ae76a8a4288..97f4e44479a3 100644
--- a/include/registry/regtype.h
+++ b/include/registry/regtype.h
@@ -48,20 +48,6 @@ namespace o3tl
template<> struct typed_flags<RegAccessMode> : is_typed_flags<RegAccessMode, 0x07> {};
}
-/** defines the type of a registry key.
-
- The registry differs between normal keys which can contain subkeys or
- a value and link keys which navigate over the linktarget to an existing
- other key (which are no longer supported).
-*/
-enum SAL_DLLPUBLIC_RTTI RegKeyType
-{
- /// represents a real key
- RG_KEYTYPE,
- /// represents a link (which is no longer supported)
- RG_LINKTYPE
-};
-
/** defines the type of a key value.
A registry key can contain a value which has one of seven different types.