aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-18 09:16:23 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-18 09:24:15 +0900
commit494fe928438bd08f6a5794a2a77119d5fa9dcdd2 (patch)
treeb501a193e3846f3c0932eeb2f9e33bc6ed148c78 /src/applist.hpp
parent5ae7f0df360a72a42b4722cbffddd169da21b4d0 (diff)
Use instead enum of bool visible
To improve readability, use enum TaskVisible instead of visible Change-Id: I40f15635a62177443e32725fe90a4d6d3f253f8a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/applist.hpp')
-rw-r--r--src/applist.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applist.hpp b/src/applist.hpp
index 6305a4b..9431ff6 100644
--- a/src/applist.hpp
+++ b/src/applist.hpp
@@ -55,7 +55,7 @@ class AppList
unsigned getRequestNumber(const std::string &appid) const;
unsigned addAllocateRequest(WMRequest req);
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);
+ WMError setAction(unsigned req_num, const std::string &appid, const std::string &role, const std::string &area, TaskVisible visible);
bool setEndDrawFinished(unsigned req_num, const std::string &appid, const std::string &role);
bool endDrawFullfilled(unsigned req_num);
void removeRequest(unsigned req_num);