uiDecls.h : Added explicit numbers to enum's comments.

This commit is contained in:
kevin 2022-05-21 09:28:17 -04:00
parent 1557b65072
commit c4b6568833

View File

@ -13,27 +13,27 @@ namespace cw
typedef enum typedef enum
{ {
kInvalidOpId, kInvalidOpId, // 0
kConnectOpId, // A new remote user interface was connected kConnectOpId, // 1 A new remote user interface was connected
kInitOpId, // A remote user interface instance was created and is available. It needs to be updated with the current state of the UI from the server. kInitOpId, // 2 A remote user interface instance was created and is available. It needs to be updated with the current state of the UI from the server.
kValueOpId, // The value of a remote user interface control changed. Send this value to the application engine. kValueOpId, // 3 The value of a remote user interface control changed. Send this value to the application engine.
kCorruptOpId, // The value of the remote user interface is invalid or corrupt. kCorruptOpId, // 4 The value of the remote user interface is invalid or corrupt.
kClickOpId, // A element on a remote user interface was clicked. kClickOpId, // 5 A element on a remote user interface was clicked.
kSelectOpId, // An element on a remote user interface was is 'selected' or 'deselected'. kSelectOpId, // 6 An element on a remote user interface was is 'selected' or 'deselected'.
kEchoOpId, // A remote user interface is requesting an application engine value. The the current value of a ui element must be sent to the remote UI. kEchoOpId, // 7 A remote user interface is requesting an application engine value. The the current value of a ui element must be sent to the remote UI.
kIdleOpId, // The application (UI server) is idle and waiting for the next event from a remote UI. kIdleOpId, // 8 The application (UI server) is idle and waiting for the next event from a remote UI.
kDisconnectOpId // A reemot user interface was disconnected. kDisconnectOpId // 9 A remote user interface was disconnected.
} opId_t; } opId_t;
typedef enum typedef enum
{ {
kInvalidTId, kInvalidTId, // 0
kBoolTId, kBoolTId, // 1
kIntTId, kIntTId, // 2
kUIntTId, kUIntTId, // 3
kFloatTId, kFloatTId, // 4
kDoubleTId, kDoubleTId, // 5
kStringTId kStringTId // 6
} dtypeId_t; } dtypeId_t;