diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-11-29 13:12:43 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-11-30 17:44:40 +0000 |
commit | d9dc8ef258ed2ddeeca83775eee945dbfdae59c5 (patch) | |
tree | d2a8853847e48925c0ecbb82e58be0a3e52a6e36 /src/window_manager.hpp | |
parent | c5b67725974af99e50fa5dc02843c7d741add880 (diff) |
Migrates bindings v3
This patch migrates biding API of WM to v3.
Change-Id: I2f2b23a8af437a414e2a00d629d3e72d0614eb72
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r-- | src/window_manager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp index 8bfdb0f..30deb4b 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -176,7 +176,7 @@ class WindowManager void api_activate_window(char const *appid, char const *role, char const *drawing_area, const reply_func &reply); void api_deactivate_window(char const *appid, char const *role, const reply_func &reply); void api_enddraw(char const *appid, char const *role); - int api_subscribe(afb_req req, int event_id); + int api_subscribe(afb_req_t req, int event_id); result<json_object *> api_get_display_info(); result<json_object *> api_get_area_info(char const *role); void send_event(const std::string& evname, const std::string& role); @@ -218,7 +218,7 @@ class WindowManager void processNextRequest(); private: - std::map<std::string, struct afb_event> map_afb_event; + std::map<std::string, afb_event_t> map_afb_event; std::unordered_map<std::string, struct rect> area2size; std::shared_ptr<LayerControl> lc; PMWrapper pmw; |