summaryrefslogtreecommitdiffstats
path: root/AFBClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'AFBClient.h')
-rw-r--r--AFBClient.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/AFBClient.h b/AFBClient.h
index 983c2ad..964e2b0 100644
--- a/AFBClient.h
+++ b/AFBClient.h
@@ -3,8 +3,7 @@
#include <functional>
-class AFBClient
-{
+class AFBClient {
AFBClient();
~AFBClient();
@@ -12,17 +11,17 @@ class AFBClient
AFBClient &operator=(const AFBClient &) = delete;
public:
- typedef std::function<void(char const *label)> handler_fun;
+ using handler_fun = std::function<void(const char *)>;
enum EventType {
- Event_Active = 1,
- Event_Inactive,
+ Event_Active = 1,
+ Event_Inactive,
- Event_Visible,
- Event_Invisible,
+ Event_Visible,
+ Event_Invisible,
- Event_SyncDraw,
- Event_FlushDraw,
+ Event_SyncDraw,
+ Event_FlushDraw,
};
static AFBClient &instance();