main: better check_events implementation
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Fri, 30 Jun 2017 11:06:25 +0000 (13:06 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
commit18cc724bb76a6b2b6e9607ce6658cb9cc8f7ec0d
treede446173c94cc9e98106146c52dcb900cf404c51
parent22cf0bf96f4a94f5fbfec6f5dfc3adeb5b66e7ac
main: better check_events implementation

* Introduced helper struct Poller
* Implements check_events() and calls custom handlers on POLLIN.
* Moved status dump to genivi::controller.

Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/main.cpp
src/wayland.cpp
src/wayland.hpp