aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-18 16:18:19 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-18 16:18:19 +0900
commit494d3a09bdbc74c9005db421122cc60acb733443 (patch)
tree901f46c08b01d7eb6cb214b09c04c5dc769deb61 /src/window_manager.cpp
parentb7957f3fc1e5f5ce0525d62c67da64457ef1d9e0 (diff)
On the way to adding attach service surface
Change-Id: Ief7fe7ecbe2022b9b6b70e4f3df1c2e7a074075a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r--src/window_manager.cpp15
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();