aboutsummaryrefslogtreecommitdiffstats
path: root/src/windowmanager-client.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-20 23:08:13 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-21 12:21:42 +0900
commit973a7123c0bced7c7e7d9dc6dc5e990a0e2838ac (patch)
tree1f45c6b73578f839aef7f7ec7e66b3f06eb46eed /src/windowmanager-client.hpp
parent807c2bc45bf19059021eb3d94e2c1693a9c940b6 (diff)
[Local]: Lock Sequence from activateSurface to flushDraw
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/windowmanager-client.hpp')
-rw-r--r--src/windowmanager-client.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/windowmanager-client.hpp b/src/windowmanager-client.hpp
index 441dc77..045055b 100644
--- a/src/windowmanager-client.hpp
+++ b/src/windowmanager-client.hpp
@@ -22,6 +22,7 @@
#include <unordered_map>
extern "C" {
+#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
}
@@ -30,7 +31,8 @@ namespace wm {
class WMClient {
public:
WMClient();
- WMClient(const char* appid, unsigned layerID, unsigned surfaceID, const char* role);
+ WMClient(const std::string &appid, unsigned layerID, unsigned surfaceID, const std::string &role);
+ WMClient(const std::string &appid, const std::string &role);
virtual ~WMClient();
//WMClient::WMClient(const WMClient &obj);
/* const std::vector<optional<unsigned>> surfaceIDList();
@@ -39,10 +41,9 @@ public:
private:
unsigned layer;
std::vector<unsigned> surfaces;
- std::string appid;
+ std::string id;
std::vector<std::string> roles;
std::unordered_map<std::string, struct afb_event> event_list;
- unsigned request_number;
//std::vector<Task *> requestingTask;
};
}