diff options
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r-- | src/window_manager.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 60470b4..0eeebcd 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -514,6 +514,21 @@ bool WindowManager::api_client_set_render_order(char const* appid, const vector< return ret; } +string api_client_attach_service_surface(const char* appid, const char* dest, const char* service_surface) +{ + string uuid = "", s_dest; + s_dest = dest; + // uuid = generate_uuid_randam()); + auto client = g_app_list.lookUpClient(s_dest); + if(!client) + { + HMI_ERROR("Failed to look up destination [%s]", dest); + return uuid; + } + //string uuid = client->attachServiceSurface(appid); +} + + result<json_object *> WindowManager::api_get_display_info() { Screen screen = this->lc->getScreenInfo(); |