Remove unnecessary functions
[apps/agl-service-windowmanager-2017.git] / src / applist.cpp
index 888ab71..1483ea0 100644 (file)
@@ -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 ===================
 
 /**