aboutsummaryrefslogtreecommitdiffstats
path: root/AFBClient.h
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-01 14:39:28 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commitb4cf01ec167f17c5df96906741fb4c6690ed9164 (patch)
tree21833e8eff442d5e607b3c02f430b835055d9858 /AFBClient.h
parent49fe14f956c0bef44c047b7d6fc98412abaedace (diff)
Guard dispatch using a mutex, remove dipatch() timeout parameter
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'AFBClient.h')
-rw-r--r--AFBClient.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/AFBClient.h b/AFBClient.h
index 6625c44..b1694b8 100644
--- a/AFBClient.h
+++ b/AFBClient.h
@@ -3,12 +3,9 @@
#include <functional>
-extern "C"
-{
- struct json_object;
- struct afb_wsj1;
- struct sd_event;
-}
+struct json_object;
+struct afb_wsj1;
+struct sd_event;
class AFBClient
{
@@ -31,7 +28,7 @@ public:
static AFBClient &instance();
int init(int port, char const *token);
- int dispatch(uint64_t timeout);
+ int dispatch();
// WM API
int requestSurface(const char *label);