aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-25 12:19:14 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-25 12:19:14 +0900
commitd2c062959c55c61a4e350f6df480d46d2a8d769c (patch)
tree4b5c932b5d45ebf395b64a4bfccc67f5ce5bfc07 /src/window_manager.hpp
parent494d3a09bdbc74c9005db421122cc60acb733443 (diff)
Implement attachApp
Change-Id: I4082fd400fd2f82fcb6cbbcc66d584fb0a572827 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r--src/window_manager.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp
index 7bd0802..481d16c 100644
--- a/src/window_manager.hpp
+++ b/src/window_manager.hpp
@@ -135,6 +135,17 @@ struct TmpClient
unsigned pid;
};
+struct TmpService
+{
+ std::string appid; // Used to search who create service surface
+ std::string dest; // Used to attach service to destination application
+ std::string service;// The name of service surface
+ std::string uuid; // uuid
+ TmpService(const std::string& app, const std::string& dst,
+ const std::string& svc, const std::string& uuid)
+ : appid(app), dest(dst), service(svc), uuid(uuid) {}
+};
+
class WindowManager
{
public:
@@ -249,7 +260,7 @@ class WindowManager
rect_map area_info;
// FOR CES DEMO
std::unordered_map<unsigned, struct TmpClient> tmp_surface2app;
- std::vector<struct TmpClient> tmp_apps;
+ std::vector<struct TmpService> tmp_services;
static const char* kDefaultOldRoleDb;
};