diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 13:09:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 08:41:11 +0200 |
commit | 95600edeaf48a80a1e84c44b37f4035bc4db3070 (patch) | |
tree | ed62af7a330438526d33ece26606811de365d7ee /include/registry/regtype.h | |
parent | 1f34524746a0849ee2c76241d7ac6934110009fe (diff) |
convert RegValueType to scoped enum
Change-Id: Ic672e75db4d7323760577b19490ffa28d38965b6
Diffstat (limited to 'include/registry/regtype.h')
-rw-r--r-- | include/registry/regtype.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/registry/regtype.h b/include/registry/regtype.h index 97f4e44479a3..c6fe787cf3af 100644 --- a/include/registry/regtype.h +++ b/include/registry/regtype.h @@ -56,24 +56,24 @@ namespace o3tl to define own data structures and store these types in the registry. The UNO core reflection data is stored as a binary blob in the type registry. */ -enum SAL_DLLPUBLIC_RTTI RegValueType +enum class SAL_DLLPUBLIC_RTTI RegValueType { /// The key has no value or the value type is unknown. - RG_VALUETYPE_NOT_DEFINED, + NOT_DEFINED, /// The key has a value of type long - RG_VALUETYPE_LONG, + LONG, /// The key has a value of type ascii string - RG_VALUETYPE_STRING, + STRING, /// The key has a value of type unicode string - RG_VALUETYPE_UNICODE, + UNICODE, /// The key has a value of type binary - RG_VALUETYPE_BINARY, + BINARY, /// The key has a value of type long list - RG_VALUETYPE_LONGLIST, + LONGLIST, /// The key has a value of type ascii string list - RG_VALUETYPE_STRINGLIST, + STRINGLIST, /// The key has a value of type unicode string list - RG_VALUETYPE_UNICODELIST + UNICODELIST }; /// specifies the possible error codes which can occur using the registry API. |