diff options
Diffstat (limited to 'server/include/event_subscription_base.h')
-rw-r--r-- | server/include/event_subscription_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/include/event_subscription_base.h b/server/include/event_subscription_base.h index b181dfd..635abba 100644 --- a/server/include/event_subscription_base.h +++ b/server/include/event_subscription_base.h @@ -25,9 +25,9 @@ //TODO: rework (events and polls separated ?) -enum EVENT_SUBTYPE { - EVENT_SUBTYPE_REPEATED = 0, //periodic firing based on timer - EVENT_SUBTYPE_EVENT = 1, //fired on event occurs (only can be used for data which support this event type) +enum EVENT_MODE { + EVENT_MODE_REPEATED = 0, //periodic firing based on timer + EVENT_MODE_EVENT = 1, //fired on event occurs (only can be used for data which support this event type) }; class event_subscription_base @@ -37,7 +37,7 @@ public: { subscription_request = *req; } - const EVENT_SUBTYPE get_subtype() + const EVENT_MODE get_subtype() { return subtype; } @@ -48,7 +48,7 @@ public: virtual ~event_subscription_base(){} protected: - EVENT_SUBTYPE subtype = EVENT_SUBTYPE::EVENT_SUBTYPE_EVENT; + EVENT_MODE subtype = EVENT_MODE::EVENT_MODE_EVENT; client_event_subscription_request subscription_request; }; |