diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libhomescreen.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/libhomescreen.hpp b/include/libhomescreen.hpp index 4a92059..7785b74 100644 --- a/include/libhomescreen.hpp +++ b/include/libhomescreen.hpp @@ -42,7 +42,9 @@ public: enum EventType { Event_TapShortcut = 1, Event_OnScreenMessage, - Event_OnScreenReply + Event_OnScreenReply, + Event_AllocateRestriction, + Event_ReleaseRestriction }; static const std::vector<std::string> api_list; @@ -66,7 +68,8 @@ public: int call(const char* verb, struct json_object* arg); int subscribe(const std::string& event_name); int unsubscribe(const std::string& event_name); - + int allocateRestriction(const char* area); + int releaseRestriction(const char* area); private: int initialize_websocket(); |