diff options
author | 2018-06-04 17:54:11 +0900 | |
---|---|---|
committer | 2018-06-04 17:54:11 +0900 | |
commit | 1e55798ce66d927f649284441202bc6ae1df328b (patch) | |
tree | 6038f5733eed19478e92d00a5b4b18f6d8174dff /src/app.hpp | |
parent | e7326524e43bd9dfb37b5c75d85779476ee7cfe4 (diff) |
Adopt error code and message into Window Manager
Change-Id: I942cc33350436bcdb477e7a5cda4a36e502044da
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/app.hpp b/src/app.hpp index 25a72cb..d13fd4d 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -33,6 +33,7 @@ #include "wayland_ivi_wm.hpp" #include "hmi-debug.h" #include "request.hpp" +#include "wm-error.h" namespace wl { @@ -261,7 +262,7 @@ struct App void emit_invisible(char const *label); void emit_visible(char const *label); - bool do_transition(unsigned sequence_number); + WMError do_transition(unsigned sequence_number); void do_enddraw(unsigned sequence_number); void process_request(); @@ -281,8 +282,8 @@ struct App // The following function is temporary. // Then will be removed when layermanager is finished void lm_layout_change(const char *drawing_name); - bool lm_layout_change(const struct WMAction &action); - bool lm_release(const struct WMAction &action); + WMError lm_layout_change(const struct WMAction &action); + WMError lm_release(const struct WMAction &action); void lm_enddraw(const char *drawing_name); }; |