diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.cpp | 2 | ||||
-rw-r--r-- | src/applist.cpp | 5 | ||||
-rw-r--r-- | src/applist.hpp | 6 |
3 files changed, 10 insertions, 3 deletions
diff --git a/src/app.cpp b/src/app.cpp index 324145f..69930a2 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -1314,7 +1314,7 @@ bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid } if(wm_err != WMError::SUCCESS){ HMI_ERROR("wm", "No floating surface for app: %s", id.c_str()); - //app_list->addFloatingClient(id, *lid, role); + app_list->addFloatingClient(id, *lid, role); HMI_NOTICE("wm", "%s : Waiting for surface creation", id.c_str()); return ret; } diff --git a/src/applist.cpp b/src/applist.cpp index 4e31c03..f5634fe 100644 --- a/src/applist.cpp +++ b/src/applist.cpp @@ -110,9 +110,14 @@ WMError AppList::lookUpFloatingSurface(unsigned pid, unsigned *surface) WMError AppList::lookUpFloatingSurface(const std::string &appid, unsigned *surface) { + HMI_ERROR("wm", "This function is not implemented"); return WMError::SUCCESS; } +void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role) +{ +} + WMError AppList::appendRole(const std::string &id, const std::string &role, unsigned surface) { WMError wm_err = WMError::NO_ENTRY; diff --git a/src/applist.hpp b/src/applist.hpp index 20e7cb5..a5a895a 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -53,10 +53,12 @@ class AppList void removeSurface(unsigned surface); WMError lookUpFloatingSurface(unsigned pid, unsigned *surface); WMError lookUpFloatingSurface(const std::string &appid, unsigned *surface); - WMError appendRole(const std::string &id, const std::string &role, unsigned surface); + WMError appendRole(const std::string &appid, const std::string &role, unsigned surface); + void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role); // Request Interface - unsigned currentRequestNumber() const; + unsigned + currentRequestNumber() const; unsigned getRequestNumber(const std::string &appid) const; unsigned addAllocateRequest(WMRequest req); /* TODO: consider, which is better WMClient or std::string appid? |