Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
AFBClient: Pimpl'ed to hide impl details
[staging/windowmanager.git]
/
AFBClient.h
diff --git
a/AFBClient.h
b/AFBClient.h
index
05fa5a5
..
f42aeea
100644
(file)
--- a/
AFBClient.h
+++ b/
AFBClient.h
@@
-3,9
+3,6
@@
#include <functional>
#include <functional>
-struct afb_wsj1;
-struct sd_event;
-
class AFBClient
{
AFBClient();
class AFBClient
{
AFBClient();
@@
-38,8
+35,9
@@
public:
void set_event_handler(enum EventType et,
std::function<void(char const *label)> f);
void set_event_handler(enum EventType et,
std::function<void(char const *label)> f);
+ struct Impl;
+
private:
private:
- struct afb_wsj1 *wsj1;
- struct sd_event *loop;
+ Impl *d;
};
#endif // AFBCLIENT_H
};
#endif // AFBCLIENT_H