aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.cpp
diff options
context:
space:
mode:
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 ===================
/**