diff options
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/app.hpp b/src/app.hpp index 5f6ec83..1904245 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -32,6 +32,7 @@ #include "result.hpp" #include "wayland_ivi_wm.hpp" #include "hmi-debug.h" +#include "request.hpp" namespace wl { struct display; @@ -243,12 +244,13 @@ struct App { void emit_invisible(char const *label); void emit_visible(char const *label); - bool do_allocate_window_resource(unsigned sequence_number); + bool do_transition(unsigned sequence_number); + void do_enddraw(unsigned sequence_number); void process_request(); void set_timer(); void stop_timer(); - const char *check_surface_exist(unsigned req_num, const char *drawing_name); + const char *check_surface_exist(const char *drawing_name); void activate(int id); void deactivate(int id); @@ -261,7 +263,9 @@ struct App { // The following function is temporary. // Then will be removed when layermanager is finished - void lm_layout_change(unsigned req_num, const char* drawing_name); + void lm_layout_change(const char* drawing_name); + bool lm_layout_change(const struct WMAction &action); + bool lm_release(const struct WMAction &action); void lm_enddraw(const char* drawing_name); }; |