diff options
author | 2018-10-30 14:29:15 +0900 | |
---|---|---|
committer | 2018-10-30 14:29:15 +0900 | |
commit | b98e130e1dbedf7064678a1da4ebfaa0544c99d2 (patch) | |
tree | c9fb9513a23144e2edaefc5f54006efac55746cd /include/libhomescreen.hpp | |
parent | 8bf11a8668902565b0e9a23e320777f5fb611848 (diff) |
add source for ces2019
Diffstat (limited to 'include/libhomescreen.hpp')
-rw-r--r-- | include/libhomescreen.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libhomescreen.hpp b/include/libhomescreen.hpp index 4a92059..f07e62f 100644 --- a/include/libhomescreen.hpp +++ b/include/libhomescreen.hpp @@ -40,9 +40,12 @@ public: using handler_func = std::function<void(json_object*)>; enum EventType { + Event_ShowWindow = 1, Event_TapShortcut = 1, Event_OnScreenMessage, - Event_OnScreenReply + Event_OnScreenReply, + Event_AllocateRestriction, + Event_ReleaseRestriction }; static const std::vector<std::string> api_list; @@ -66,6 +69,9 @@ 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); + int showWindow(const char* id, json_object* json); private: int initialize_websocket(); |