diff options
Diffstat (limited to 'src/applist.hpp')
-rw-r--r-- | src/applist.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/applist.hpp b/src/applist.hpp index bb80961..0f2285b 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -20,9 +20,9 @@ #include <string> #include <map> #include <memory> -//#include <experimental/optional> #include "wm-client.hpp" #include "request.hpp" +#include "wm-error.h" namespace wm { @@ -53,9 +53,8 @@ class AppList /* TODO: consider, which is better WMClient or std::string appid? if appid is key to manage resources, it is better to select std::string otherwise WMClient is better, IMO */ - bool requestFinished() const; - bool setAction(unsigned req_num, const struct WMAction &action); - bool setAction(unsigned req_num, const std::string &appid, const std::string &role, const std::string &area, bool visible = true); + WMError setAction(unsigned req_num, const struct WMAction &action); + WMError setAction(unsigned req_num, const std::string &appid, const std::string &role, const std::string &area, bool visible = true); bool setEndDrawFinished(unsigned req_num, const std::string &appid, const std::string &role); bool endDrawFullfilled(unsigned req_num); void removeRequest(unsigned req_num); |