aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.hpp
diff options
context:
space:
mode:
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;
};