diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-09-08 15:33:48 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-09-08 15:33:48 +0900 |
commit | 516f8db80ee3c9d935c9f42468d9bdd6a05b67de (patch) | |
tree | 8d360e89ae2693bf1e5849ec3b7ca40ba7eb09b1 /src/wm_client.hpp | |
parent | 314d4708597af784bb16275c20f6b65dcff2460f (diff) |
Return WMError instead of bool
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_client.hpp')
-rw-r--r-- | src/wm_client.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp index 7c6c0b4..5342b76 100644 --- a/src/wm_client.hpp +++ b/src/wm_client.hpp @@ -20,6 +20,7 @@ #include <vector> #include <string> #include <unordered_map> +#include "wm_error.hpp" extern "C" { @@ -58,7 +59,7 @@ class WMClient void setRole(const std::string& role); void appendRole(const std::string& role); //bool addSurface(const std::string& role, unsigned surface); - bool addSurface(unsigned surface); + WMError addSurface(unsigned surface); bool removeSurfaceIfExist(unsigned surface); bool removeRole(const std::string& role); |