AFBClient: Pimpl'ed to hide impl details
[staging/windowmanager.git] / AFBClient.h
index 05fa5a5..f42aeea 100644 (file)
@@ -3,9 +3,6 @@
 
 #include <functional>
 
-struct afb_wsj1;
-struct sd_event;
-
 class AFBClient
 {
     AFBClient();
@@ -38,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