aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-14 21:42:26 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-14 21:42:26 +0900
commitbb6647d071a188defa2a36b8aead23d48f7df85d (patch)
treeedaec5c91b69e0e2737f66e5859a97b0f20a469a /src/applist.cpp
parent419360d5e88e4036bc9f4fd6a5068052cf8b8703 (diff)
Remove unnecessary functions
Change-Id: Ia66c5358572a1a6ea03c6f1e713b187f60979e8c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/applist.cpp')
-rw-r--r--src/applist.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/applist.cpp b/src/applist.cpp
index 888ab71..1483ea0 100644
--- a/src/applist.cpp
+++ b/src/applist.cpp
@@ -225,6 +225,8 @@ WMError AppList::popFloatingSurface(unsigned pid, unsigned *surface)
// =================== Floating(Temporary) surface/client API ===================
+// TODO: After testing setRole, remove these API
+
WMError AppList::popFloatingSurface(const string &appid, unsigned *surface)
{
HMI_ERROR("This function is not implemented");
@@ -256,19 +258,6 @@ void AppList::removeFloatingSurface(unsigned surface)
this->floating_surfaces.erase(fwd_itr, this->floating_surfaces.end());
}
-WMError AppList::appendRole(const string &id, const string &role)
-{
- WMError wm_err = WMError::NO_ENTRY;
- if (this->contains(id))
- {
- auto x = this->lookUpClient(id);
- x->appendRole(role);
- wm_err = WMError::SUCCESS;
- }
- return wm_err;
-}
-
-
// =================== Request Date container API ===================
/**