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.hpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/windowmanager-client.hpp b/src/windowmanager-client.hpp
index fccaba7..833187a 100644
--- a/src/windowmanager-client.hpp
+++ b/src/windowmanager-client.hpp
@@ -21,15 +21,18 @@
#include <string>
#include <unordered_map>
-extern "C" {
+extern "C"
+{
#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
}
-namespace wm {
+namespace wm
+{
-class WMClient {
-public:
+class WMClient
+{
+ public:
WMClient();
WMClient(const std::string &appid, unsigned layerID, unsigned surfaceID, const std::string &role);
WMClient(const std::string &appid, const std::string &role);
@@ -46,13 +49,13 @@ public:
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
+ // 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;
};
-}
+} // namespace wm
#endif \ No newline at end of file