aboutsummaryrefslogtreecommitdiffstats
path: root/src/windowmanager-client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windowmanager-client.hpp')
-rw-r--r--src/windowmanager-client.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/windowmanager-client.hpp b/src/windowmanager-client.hpp
index 045055b..fccaba7 100644
--- a/src/windowmanager-client.hpp
+++ b/src/windowmanager-client.hpp
@@ -34,6 +34,8 @@ public:
WMClient(const std::string &appid, unsigned layerID, unsigned surfaceID, const std::string &role);
WMClient(const std::string &appid, const std::string &role);
virtual ~WMClient();
+
+ std::string appID();
//WMClient::WMClient(const WMClient &obj);
/* const std::vector<optional<unsigned>> surfaceIDList();
optional<unsigned> surfaceID(role); */
@@ -43,7 +45,12 @@ public:
std::vector<unsigned> surfaces;
std::string id;
std::vector<std::string> roles;
+#if GTEST_ENABLED
+// This is for unit test. afb_make_event occurs sig11 if call not in afb-binding
+ std::unordered_map<std::string, std::string> event_list;
+#else
std::unordered_map<std::string, struct afb_event> event_list;
+#endif
//std::vector<Task *> requestingTask;
};
}