X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwm_client.hpp;h=5342b76efa243f2a8cd9d9e1cb35d6619d868b46;hb=516f8db80ee3c9d935c9f42468d9bdd6a05b67de;hp=7c6c0b4fc3305e8cbef9f9aeb987e0318f13c512;hpb=314d4708597af784bb16275c20f6b65dcff2460f;p=apps%2Fagl-service-windowmanager.git 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 #include #include +#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);