11 AFBClient(const AFBClient &) = delete;
12 AFBClient &operator=(const AFBClient &) = delete;
15 typedef std::function<void(char const *label)> handler_fun;
28 static AFBClient &instance();
30 int init(int port, char const *token);
34 int requestSurface(const char *label);
35 int activateSurface(const char *label);
36 int deactivateSurface(const char *label);
37 int endDraw(const char *label);
39 void set_event_handler(enum EventType et, handler_fun f);