summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-08 14:55:43 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 08:41:11 +0200
commite2931bce34a274167da52792d07b19743d488aa0 (patch)
tree94935326a3b5753335ff507463393db63a325c6e /include/registry
parent0833143c271ae444ca83ec16923db9f403f98b86 (diff)
convert RTMethodMode to scoped enum
Change-Id: I81599570698eb92abf14fa6386d8545c2031e863
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/types.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/registry/types.h b/include/registry/types.h
index dcc1152ab11b..6d87f84b4d9a 100644
--- a/include/registry/types.h
+++ b/include/registry/types.h
@@ -232,21 +232,21 @@ union RTConstValueUnion {
A method can be synchron or asynchron (oneway). The const attribute for
methods was removed so that the const values are deprecated.
*/
-enum RTMethodMode {
+enum class RTMethodMode {
/// indicates an invalid mode
- RT_MODE_INVALID,
+ INVALID,
/// indicates the asynchronous mode of a method
- RT_MODE_ONEWAY,
+ ONEWAY,
/// @deprecated
- RT_MODE_ONEWAY_CONST,
+ ONEWAY_CONST,
/// indicated the synchronous mode of a method
- RT_MODE_TWOWAY,
+ TWOWAY,
/// @deprecated
- RT_MODE_TWOWAY_CONST,
+ TWOWAY_CONST,
/**
Indicates an extended attribute getter (that has a 'raises' clause) of an
@@ -254,7 +254,7 @@ enum RTMethodMode {
@since UDK 3.2.0
*/
- RT_MODE_ATTRIBUTE_GET,
+ ATTRIBUTE_GET,
/**
Indicates an extended attribute setter (that has a 'raises' clause) of an
@@ -262,7 +262,7 @@ enum RTMethodMode {
@since UDK 3.2.0
*/
- RT_MODE_ATTRIBUTE_SET
+ ATTRIBUTE_SET
};
/** specifies the mode of a parameter.