diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-12-19 18:55:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-12-19 18:55:51 +0000 |
commit | 72295a67230bceb2777fca41fda92098acc15fab (patch) | |
tree | 3f17efb5abf987de8b626428bb033ee91f4dca7f /src/afb_binding_api.hpp | |
parent | 691908f673fb67648c0d34c5ddf29fd8969487de (diff) | |
parent | 3f23c8903f4f67bce8d4c4c8d5b9762f06daefc7 (diff) |
Merge "Remove automatic code generation" into eel
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 + |