X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=AFBClient.h;h=964e2b0d8f3a05a148001eb3e69d73777caff717;hb=c720d0ed2d95b6f73a6e26bfda1ef853cd41be25;hp=983c2ad6b4ec7b2a01a06b8c39c3f042ed22c699;hpb=839032bb4aa57418289d829dd57f66b094ceb700;p=staging%2Fwindowmanager.git diff --git a/AFBClient.h b/AFBClient.h index 983c2ad..964e2b0 100644 --- a/AFBClient.h +++ b/AFBClient.h @@ -3,8 +3,7 @@ #include -class AFBClient -{ +class AFBClient { AFBClient(); ~AFBClient(); @@ -12,17 +11,17 @@ class AFBClient AFBClient &operator=(const AFBClient &) = delete; public: - typedef std::function handler_fun; + using handler_fun = std::function; 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();