Impl: use handler_fun instead of its full type
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Mon, 4 Sep 2017 12:53:35 +0000 (14:53 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Thu, 14 Sep 2017 12:04:51 +0000 (14:04 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
AFBClient.cpp

index 5fadc35..8ef7edc 100644 (file)
@@ -44,8 +44,7 @@ class AFBClient::Impl {
     int deactivateSurface(const char *label);
     int endDraw(const char *label);
 
-    void set_event_handler(enum EventType et,
-                           std::function<void(char const *label)> f);
+    void set_event_handler(enum EventType et, handler_fun f);
 
     Impl();
     ~Impl();