summaryrefslogtreecommitdiffstats
path: root/AFBClient.h
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-04 13:27:43 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commit6766079f68f6a7e2ccdd68b36e9eb206229dd4f7 (patch)
treed43593e9404ffe3bb9d375e239034b158c25f62e /AFBClient.h
parente91bb69cb8d5f239f1ad1d1d920b2d0141e21b5c (diff)
AFBClient: Pimpl'ed to hide impl details
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'AFBClient.h')
-rw-r--r--AFBClient.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/AFBClient.h b/AFBClient.h
index 05fa5a5..f42aeea 100644
--- a/AFBClient.h
+++ b/AFBClient.h
@@ -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