Impl: made 'returned' boolean atomic
[staging/windowmanager.git] / AFBClient.h
index b1694b8..f42aeea 100644 (file)
@@ -3,10 +3,6 @@
 
 #include <functional>
 
-struct json_object;
-struct afb_wsj1;
-struct sd_event;
-
 class AFBClient
 {
     AFBClient();
@@ -39,8 +35,9 @@ public:
     void set_event_handler(enum EventType et,
           std::function<void(char const *label)> f);
 
+    struct Impl;
+
 private:
-    struct afb_wsj1 *wsj1;
-    struct sd_event *loop;
+    Impl *d;
 };
 #endif // AFBCLIENT_H