diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2017-12-19 13:35:55 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-12-19 09:36:53 +0000 |
commit | 3f23c8903f4f67bce8d4c4c8d5b9762f06daefc7 (patch) | |
tree | 65aea0889bc4c21a47a91dcb3b266a6bea1b8689 /src/afb_binding_api.hpp | |
parent | b3f280dd0264f05626d5bc7d896f4b33c9f01e3d (diff) |
Remove automatic code generation
To handle the request from binder(applications) more flexibly,
we have to remove automatic code generation.
Change-Id: Id14ab749cca68b5aa30376ba3ac543372df87233
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/afb_binding_api.hpp')
-rw-r--r-- | src/afb_binding_api.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/afb_binding_api.hpp b/src/afb_binding_api.hpp new file mode 100644 index 0000000..ba6b1d1 --- /dev/null +++ b/src/afb_binding_api.hpp @@ -0,0 +1,29 @@ +#include "result.hpp" + +#include <json-c/json.h> + +namespace wm { + +struct App; + +struct binding_api { + typedef wm::result<json_object *> result_type; + struct wm::App *app; + void send_event(char const *evname, char const *label); + void send_event(char const *evname, char const *label, char const *area); + result_type requestsurface(char const* drawing_name); + result_type requestsurfacexdg(char const* drawing_name, char const* ivi_id); + result_type activatesurface(char const* drawing_name, char const* drawing_area); + result_type deactivatesurface(char const* drawing_name); + result_type enddraw(char const* drawing_name); + result_type wm_subscribe(); + result_type list_drawing_names(); + result_type ping(); + result_type debug_status(); + result_type debug_layers(); + result_type debug_surfaces(); + result_type debug_terminate(); +}; + +} // namespace wm + |