Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
+App::~App() {
+ g_app = nullptr;
+}
+
int App::init() {
if (!this->display->ok()) {
return -1;
int App::init() {
if (!this->display->ok()) {
return -1;
std::vector<std::unique_ptr<struct wl::output>> outputs;
App(wl::display *d);
std::vector<std::unique_ptr<struct wl::output>> outputs;
App(wl::display *d);
+ ~App();
+
+ App(App const &) = delete;
+ App &operator=(App const &) = delete;
int init();
int dispatch_events();
int init();
int dispatch_events();