2 // Created by mfritzsc on 7/11/17.
5 #ifndef TMCAGLWM_APP_HPP
6 #define TMCAGLWM_APP_HPP
8 #include <json-c/json.h>
11 #include "afb_binding_api.hpp"
13 #include "wayland.hpp"
27 struct binding_api api;
29 // This is the one thing, we do not own.
30 struct wl::display *display;
32 std::unique_ptr<struct genivi::controller> controller;
33 std::vector<std::unique_ptr<struct wl::output>> outputs;
40 App(App const &) = delete;
41 App &operator=(App const &) = delete;
44 int dispatch_events();
50 #endif // TMCAGLWM_APP_HPP