From 0dae1f5ce5d24d5d89ba5257148cd091ea411ec7 Mon Sep 17 00:00:00 2001 From: "Junseok, Kim" Date: Wed, 12 Aug 2020 21:06:47 +0900 Subject: [PATCH] DSWaylandServer: add initializer of m_glovalVersion and m_displayDestroyedListener Added initializer of m_glovalVersion and m_displayDestroyedListener for all dswayland-server classes Change-Id: Ic4c7fca6653f395a9c491918c0e844852b88e512 Signed-off-by: Junseok, Kim --- src/DSWaylandServer/dswayland-server-eom.cpp | 8 + src/DSWaylandServer/dswayland-server-eom.h | 1 + .../dswayland-server-fullscreen-shell.cpp | 16 ++ .../dswayland-server-fullscreen-shell.h | 2 + .../dswayland-server-input-method.cpp | 32 ++++ .../dswayland-server-input-method.h | 4 + .../dswayland-server-presentation-time.cpp | 16 ++ .../dswayland-server-presentation-time.h | 2 + src/DSWaylandServer/dswayland-server-scaler.cpp | 16 ++ src/DSWaylandServer/dswayland-server-scaler.h | 2 + .../dswayland-server-screenshooter.cpp | 8 + .../dswayland-server-screenshooter.h | 1 + .../dswayland-server-text-cursor-position.cpp | 8 + .../dswayland-server-text-cursor-position.h | 1 + src/DSWaylandServer/dswayland-server-text.cpp | 16 ++ src/DSWaylandServer/dswayland-server-text.h | 2 + .../dswayland-server-tizen-dpms.cpp | 8 + src/DSWaylandServer/dswayland-server-tizen-dpms.h | 1 + .../dswayland-server-tizen-extension.cpp | 200 +++++++++++++++++++++ .../dswayland-server-tizen-extension.h | 25 +++ src/DSWaylandServer/dswayland-server-tizen-hwc.cpp | 16 ++ src/DSWaylandServer/dswayland-server-tizen-hwc.h | 2 + .../dswayland-server-tizen-launch.cpp | 24 +++ .../dswayland-server-tizen-launch.h | 3 + .../dswayland-server-tizen-remote-surface.cpp | 32 ++++ .../dswayland-server-tizen-remote-surface.h | 4 + .../dswayland-server-tizen-surface.cpp | 16 ++ .../dswayland-server-tizen-surface.h | 2 + .../dswayland-server-tizen_policy_ext.cpp | 16 ++ .../dswayland-server-tizen_policy_ext.h | 2 + src/DSWaylandServer/dswayland-server-transform.cpp | 16 ++ src/DSWaylandServer/dswayland-server-transform.h | 2 + src/DSWaylandServer/dswayland-server-tzsh.cpp | 128 +++++++++++++ src/DSWaylandServer/dswayland-server-tzsh.h | 16 ++ src/DSWaylandServer/dswayland-server-wayland.cpp | 160 +++++++++++++++++ src/DSWaylandServer/dswayland-server-wayland.h | 20 +++ .../dswayland-server-xdg-shell-unstable-v6.cpp | 40 +++++ .../dswayland-server-xdg-shell-unstable-v6.h | 5 + src/DSWaylandServer/dswayland-server-xdg-shell.cpp | 40 +++++ src/DSWaylandServer/dswayland-server-xdg-shell.h | 5 + 40 files changed, 918 insertions(+) diff --git a/src/DSWaylandServer/dswayland-server-eom.cpp b/src/DSWaylandServer/dswayland-server-eom.cpp index d5f67fc..a6ff4a1 100644 --- a/src/DSWaylandServer/dswayland-server-eom.cpp +++ b/src/DSWaylandServer/dswayland-server-eom.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-eom.h b/src/DSWaylandServer/dswayland-server-eom.h index d68ecae..4630191 100644 --- a/src/DSWaylandServer/dswayland-server-eom.h +++ b/src/DSWaylandServer/dswayland-server-eom.h @@ -179,6 +179,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_eom *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-fullscreen-shell.cpp b/src/DSWaylandServer/dswayland-server-fullscreen-shell.cpp index 6ede38d..1062e0d 100644 --- a/src/DSWaylandServer/dswayland-server-fullscreen-shell.cpp +++ b/src/DSWaylandServer/dswayland-server-fullscreen-shell.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -258,6 +266,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -266,6 +276,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -274,6 +286,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -282,6 +296,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-fullscreen-shell.h b/src/DSWaylandServer/dswayland-server-fullscreen-shell.h index c384908..97ab3a6 100644 --- a/src/DSWaylandServer/dswayland-server-fullscreen-shell.h +++ b/src/DSWaylandServer/dswayland-server-fullscreen-shell.h @@ -131,6 +131,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { _wl_fullscreen_shell *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -210,6 +211,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { _wl_fullscreen_shell_mode_feedback *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-input-method.cpp b/src/DSWaylandServer/dswayland-server-input-method.cpp index c556a9c..3fcce7a 100644 --- a/src/DSWaylandServer/dswayland-server-input-method.cpp +++ b/src/DSWaylandServer/dswayland-server-input-method.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1086,6 +1094,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1094,6 +1104,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1102,6 +1114,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1110,6 +1124,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1337,6 +1353,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1345,6 +1363,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1353,6 +1373,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1361,6 +1383,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1505,6 +1529,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1513,6 +1539,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1521,6 +1549,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1529,6 +1559,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-input-method.h b/src/DSWaylandServer/dswayland-server-input-method.h index cea8f8c..3d2b501 100644 --- a/src/DSWaylandServer/dswayland-server-input-method.h +++ b/src/DSWaylandServer/dswayland-server-input-method.h @@ -302,6 +302,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_input_method_context *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -385,6 +386,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_input_method *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -467,6 +469,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_input_panel *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -572,6 +575,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_input_panel_surface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-presentation-time.cpp b/src/DSWaylandServer/dswayland-server-presentation-time.cpp index 57a016e..1f75f74 100644 --- a/src/DSWaylandServer/dswayland-server-presentation-time.cpp +++ b/src/DSWaylandServer/dswayland-server-presentation-time.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -233,6 +241,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -241,6 +251,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -249,6 +261,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -257,6 +271,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-presentation-time.h b/src/DSWaylandServer/dswayland-server-presentation-time.h index 7ff0917..f3d3637 100644 --- a/src/DSWaylandServer/dswayland-server-presentation-time.h +++ b/src/DSWaylandServer/dswayland-server-presentation-time.h @@ -110,6 +110,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wp_presentation *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -196,6 +197,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wp_presentation_feedback *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-scaler.cpp b/src/DSWaylandServer/dswayland-server-scaler.cpp index ddd5321..a323847 100644 --- a/src/DSWaylandServer/dswayland-server-scaler.cpp +++ b/src/DSWaylandServer/dswayland-server-scaler.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -213,6 +221,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -221,6 +231,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -229,6 +241,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -237,6 +251,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-scaler.h b/src/DSWaylandServer/dswayland-server-scaler.h index 50206c8..230fb71 100644 --- a/src/DSWaylandServer/dswayland-server-scaler.h +++ b/src/DSWaylandServer/dswayland-server-scaler.h @@ -106,6 +106,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_scaler *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -214,6 +215,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_viewport *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-screenshooter.cpp b/src/DSWaylandServer/dswayland-server-screenshooter.cpp index adccc4d..52c432f 100644 --- a/src/DSWaylandServer/dswayland-server-screenshooter.cpp +++ b/src/DSWaylandServer/dswayland-server-screenshooter.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-screenshooter.h b/src/DSWaylandServer/dswayland-server-screenshooter.h index 8f8f983..fc55245 100644 --- a/src/DSWaylandServer/dswayland-server-screenshooter.h +++ b/src/DSWaylandServer/dswayland-server-screenshooter.h @@ -101,6 +101,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { screenshooter *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-text-cursor-position.cpp b/src/DSWaylandServer/dswayland-server-text-cursor-position.cpp index a98c5d0..ff63823 100644 --- a/src/DSWaylandServer/dswayland-server-text-cursor-position.cpp +++ b/src/DSWaylandServer/dswayland-server-text-cursor-position.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-text-cursor-position.h b/src/DSWaylandServer/dswayland-server-text-cursor-position.h index efe52f2..736ec03 100644 --- a/src/DSWaylandServer/dswayland-server-text-cursor-position.h +++ b/src/DSWaylandServer/dswayland-server-text-cursor-position.h @@ -99,6 +99,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { text_cursor_position *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-text.cpp b/src/DSWaylandServer/dswayland-server-text.cpp index dd09ddd..a5e4d3c 100644 --- a/src/DSWaylandServer/dswayland-server-text.cpp +++ b/src/DSWaylandServer/dswayland-server-text.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1180,6 +1188,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1188,6 +1198,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1196,6 +1208,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1204,6 +1218,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-text.h b/src/DSWaylandServer/dswayland-server-text.h index 20c4721..eb437ef 100644 --- a/src/DSWaylandServer/dswayland-server-text.h +++ b/src/DSWaylandServer/dswayland-server-text.h @@ -377,6 +377,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_text_input *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -458,6 +459,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_text_input_manager *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen-dpms.cpp b/src/DSWaylandServer/dswayland-server-tizen-dpms.cpp index b4355b5..d3e7cda 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-dpms.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen-dpms.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen-dpms.h b/src/DSWaylandServer/dswayland-server-tizen-dpms.h index d162f6d..4d73523 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-dpms.h +++ b/src/DSWaylandServer/dswayland-server-tizen-dpms.h @@ -127,6 +127,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_dpms_manager *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen-extension.cpp b/src/DSWaylandServer/dswayland-server-tizen-extension.cpp index 5634e9e..94a0000 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-extension.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen-extension.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -213,6 +221,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -221,6 +231,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -229,6 +241,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -237,6 +251,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -397,6 +413,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -405,6 +423,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -413,6 +433,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -421,6 +443,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1524,6 +1548,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1532,6 +1558,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1540,6 +1568,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1548,6 +1578,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1730,6 +1762,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1738,6 +1772,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1746,6 +1782,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1754,6 +1792,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1935,6 +1975,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1943,6 +1985,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1951,6 +1995,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1959,6 +2005,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2158,6 +2206,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2166,6 +2216,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2174,6 +2226,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2182,6 +2236,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2789,6 +2845,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2797,6 +2855,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2805,6 +2865,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2813,6 +2875,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3300,6 +3364,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3308,6 +3374,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3316,6 +3384,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3324,6 +3394,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3540,6 +3612,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3548,6 +3622,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3556,6 +3632,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3564,6 +3642,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3843,6 +3923,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3851,6 +3933,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3859,6 +3943,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3867,6 +3953,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4065,6 +4153,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4073,6 +4163,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4081,6 +4173,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4089,6 +4183,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4358,6 +4454,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4366,6 +4464,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4374,6 +4474,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4382,6 +4484,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4542,6 +4646,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4550,6 +4656,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4558,6 +4666,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4566,6 +4676,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4904,6 +5016,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4912,6 +5026,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4920,6 +5036,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4928,6 +5046,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -5195,6 +5315,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -5203,6 +5325,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -5211,6 +5335,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -5219,6 +5345,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -5394,6 +5522,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -5402,6 +5532,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -5410,6 +5542,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -5418,6 +5552,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -5844,6 +5980,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -5852,6 +5990,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -5860,6 +6000,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -5868,6 +6010,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -6097,6 +6241,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -6105,6 +6251,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -6113,6 +6261,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -6121,6 +6271,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -6278,6 +6430,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -6286,6 +6440,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -6294,6 +6450,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -6302,6 +6460,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -6516,6 +6676,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -6524,6 +6686,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -6532,6 +6696,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -6540,6 +6706,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -6724,6 +6892,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -6732,6 +6902,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -6740,6 +6912,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -6748,6 +6922,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -6931,6 +7107,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -6939,6 +7117,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -6947,6 +7127,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -6955,6 +7137,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -7174,6 +7358,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -7182,6 +7368,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -7190,6 +7378,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -7198,6 +7388,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -7429,6 +7621,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -7437,6 +7631,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -7445,6 +7641,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -7453,6 +7651,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen-extension.h b/src/DSWaylandServer/dswayland-server-tizen-extension.h index a3172f4..6b092ea 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-extension.h +++ b/src/DSWaylandServer/dswayland-server-tizen-extension.h @@ -102,6 +102,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_surface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -185,6 +186,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_resource *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -554,6 +556,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_policy *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -646,6 +649,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_visibility *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -735,6 +739,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_position *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -834,6 +839,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_move_resize *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1045,6 +1051,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_gesture *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1224,6 +1231,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_keyrouter *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1320,6 +1328,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_screenshooter *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1440,6 +1449,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_screenmirror *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1541,6 +1551,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_video *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1648,6 +1659,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_video_object *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1737,6 +1749,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_subsurface_watcher *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1868,6 +1881,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_viewport *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2000,6 +2014,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_destination_mode *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2087,6 +2102,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_embedded_compositor *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2274,6 +2290,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_input_device_manager *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2386,6 +2403,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_input_device *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2471,6 +2489,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_launchscreen *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2591,6 +2610,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_launch_image *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2683,6 +2703,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_effect *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2777,6 +2798,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_display_policy *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2897,6 +2919,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_indicator *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2997,6 +3020,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_clipboard *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -3085,6 +3109,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_screen_rotation *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen-hwc.cpp b/src/DSWaylandServer/dswayland-server-tizen-hwc.cpp index a9d2ad8..c4f0df1 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-hwc.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen-hwc.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -215,6 +223,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -223,6 +233,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -231,6 +243,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -239,6 +253,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen-hwc.h b/src/DSWaylandServer/dswayland-server-tizen-hwc.h index c83151f..9344392 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-hwc.h +++ b/src/DSWaylandServer/dswayland-server-tizen-hwc.h @@ -103,6 +103,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_hwc *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -180,6 +181,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_hwc_commit_feedback *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen-launch.cpp b/src/DSWaylandServer/dswayland-server-tizen-launch.cpp index c8af51d..f84892d 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-launch.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen-launch.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -249,6 +257,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -257,6 +267,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -265,6 +277,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -273,6 +287,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -494,6 +510,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -502,6 +520,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -510,6 +530,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -518,6 +540,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen-launch.h b/src/DSWaylandServer/dswayland-server-tizen-launch.h index d62a6a9..fa93b85 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-launch.h +++ b/src/DSWaylandServer/dswayland-server-tizen-launch.h @@ -113,6 +113,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_launch_effect *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -240,6 +241,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_launch_splash *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -366,6 +368,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_launch_appinfo *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen-remote-surface.cpp b/src/DSWaylandServer/dswayland-server-tizen-remote-surface.cpp index 005d160..2f0512d 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-remote-surface.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen-remote-surface.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -276,6 +284,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -284,6 +294,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -292,6 +304,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -300,6 +314,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -514,6 +530,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -522,6 +540,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -530,6 +550,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -538,6 +560,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1070,6 +1094,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1078,6 +1104,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1086,6 +1114,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1094,6 +1124,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen-remote-surface.h b/src/DSWaylandServer/dswayland-server-tizen-remote-surface.h index 68467c2..de250ee 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-remote-surface.h +++ b/src/DSWaylandServer/dswayland-server-tizen-remote-surface.h @@ -123,6 +123,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_remote_surface_manager *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -223,6 +224,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_remote_surface_provider *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -477,6 +479,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_remote_surface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -565,6 +568,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_remote_surface_region *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen-surface.cpp b/src/DSWaylandServer/dswayland-server-tizen-surface.cpp index 4be5176..d721fba 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-surface.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen-surface.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -213,6 +221,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -221,6 +231,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -229,6 +241,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -237,6 +251,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen-surface.h b/src/DSWaylandServer/dswayland-server-tizen-surface.h index ed6aceb..96a5632 100644 --- a/src/DSWaylandServer/dswayland-server-tizen-surface.h +++ b/src/DSWaylandServer/dswayland-server-tizen-surface.h @@ -102,6 +102,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_surface_shm *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -187,6 +188,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_surface_shm_flusher *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tizen_policy_ext.cpp b/src/DSWaylandServer/dswayland-server-tizen_policy_ext.cpp index 9506ca8..6a035da 100644 --- a/src/DSWaylandServer/dswayland-server-tizen_policy_ext.cpp +++ b/src/DSWaylandServer/dswayland-server-tizen_policy_ext.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -235,6 +243,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -243,6 +253,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -251,6 +263,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -259,6 +273,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tizen_policy_ext.h b/src/DSWaylandServer/dswayland-server-tizen_policy_ext.h index 8ee3662..66d7b92 100644 --- a/src/DSWaylandServer/dswayland-server-tizen_policy_ext.h +++ b/src/DSWaylandServer/dswayland-server-tizen_policy_ext.h @@ -106,6 +106,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_policy_ext *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -227,6 +228,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_rotation *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-transform.cpp b/src/DSWaylandServer/dswayland-server-transform.cpp index 565b71a..3cfa511 100644 --- a/src/DSWaylandServer/dswayland-server-transform.cpp +++ b/src/DSWaylandServer/dswayland-server-transform.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -213,6 +221,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -221,6 +231,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -229,6 +241,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -237,6 +251,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-transform.h b/src/DSWaylandServer/dswayland-server-transform.h index 8b5baf9..52ce46c 100644 --- a/src/DSWaylandServer/dswayland-server-transform.h +++ b/src/DSWaylandServer/dswayland-server-transform.h @@ -102,6 +102,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_transform *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -194,6 +195,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_rotator *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-tzsh.cpp b/src/DSWaylandServer/dswayland-server-tzsh.cpp index 7d865d0..ba422df 100644 --- a/src/DSWaylandServer/dswayland-server-tzsh.cpp +++ b/src/DSWaylandServer/dswayland-server-tzsh.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -387,6 +395,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -395,6 +405,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -403,6 +415,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -411,6 +425,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -706,6 +722,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -714,6 +732,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -722,6 +742,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -730,6 +752,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -900,6 +924,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -908,6 +934,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -916,6 +944,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -924,6 +954,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1110,6 +1142,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1118,6 +1152,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1126,6 +1162,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1134,6 +1172,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1431,6 +1471,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1439,6 +1481,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1447,6 +1491,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1455,6 +1501,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1617,6 +1665,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1625,6 +1675,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1633,6 +1685,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1641,6 +1695,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1832,6 +1888,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1840,6 +1898,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1848,6 +1908,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1856,6 +1918,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2118,6 +2182,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2126,6 +2192,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2134,6 +2202,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2142,6 +2212,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2282,6 +2354,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2290,6 +2364,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2298,6 +2374,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2306,6 +2384,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2463,6 +2543,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2471,6 +2553,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2479,6 +2563,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2487,6 +2573,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2627,6 +2715,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2635,6 +2725,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2643,6 +2735,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2651,6 +2745,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2868,6 +2964,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2876,6 +2974,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2884,6 +2984,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2892,6 +2994,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3151,6 +3255,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3159,6 +3265,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3167,6 +3275,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3175,6 +3285,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3374,6 +3486,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3382,6 +3496,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3390,6 +3506,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3398,6 +3516,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3729,6 +3849,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3737,6 +3859,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3745,6 +3869,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3753,6 +3879,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-tzsh.h b/src/DSWaylandServer/dswayland-server-tzsh.h index a573556..4e58000 100644 --- a/src/DSWaylandServer/dswayland-server-tzsh.h +++ b/src/DSWaylandServer/dswayland-server-tzsh.h @@ -154,6 +154,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tizen_ws_shell *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -300,6 +301,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_quickpanel *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -392,6 +394,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_tvsrv *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -488,6 +491,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_region *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -620,6 +624,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -703,6 +708,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_indicator *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -809,6 +815,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_quickpanel *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -920,6 +927,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_screensaver_manager *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1004,6 +1012,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_screensaver *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1095,6 +1104,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_cbhm *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1175,6 +1185,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_dummy_extension *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1272,6 +1283,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_softkey *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1407,6 +1419,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_softkey *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1520,6 +1533,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_magnifier *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1657,6 +1671,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_service_launcher *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1752,6 +1767,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { tws_shared_widget_launch *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-wayland.cpp b/src/DSWaylandServer/dswayland-server-wayland.cpp index d9d66ac..d9a1fe8 100644 --- a/src/DSWaylandServer/dswayland-server-wayland.cpp +++ b/src/DSWaylandServer/dswayland-server-wayland.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -195,6 +203,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -203,6 +213,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -211,6 +223,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -219,6 +233,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -378,6 +394,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -386,6 +404,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -394,6 +414,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -402,6 +424,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -586,6 +610,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -594,6 +620,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -602,6 +630,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -610,6 +640,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -776,6 +808,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -784,6 +818,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -792,6 +828,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -800,6 +838,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -958,6 +998,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -966,6 +1008,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -974,6 +1018,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -982,6 +1028,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1254,6 +1302,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1262,6 +1312,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1270,6 +1322,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1278,6 +1332,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1568,6 +1624,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1576,6 +1634,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1584,6 +1644,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1592,6 +1654,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1902,6 +1966,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1910,6 +1976,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1918,6 +1986,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1926,6 +1996,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2087,6 +2159,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2095,6 +2169,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2103,6 +2179,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2111,6 +2189,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2255,6 +2335,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2263,6 +2345,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2271,6 +2355,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2279,6 +2365,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -2660,6 +2748,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -2668,6 +2758,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -2676,6 +2768,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -2684,6 +2778,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3031,6 +3127,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3039,6 +3137,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3047,6 +3147,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3055,6 +3157,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3286,6 +3390,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3294,6 +3400,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3302,6 +3410,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3310,6 +3420,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3677,6 +3789,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3685,6 +3799,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -3693,6 +3809,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -3701,6 +3819,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -3987,6 +4107,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -3995,6 +4117,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4003,6 +4127,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4011,6 +4137,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4313,6 +4441,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4321,6 +4451,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4329,6 +4461,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4337,6 +4471,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4575,6 +4711,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4583,6 +4721,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4591,6 +4731,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4599,6 +4741,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4785,6 +4929,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4793,6 +4939,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4801,6 +4949,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4809,6 +4959,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -4970,6 +5122,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -4978,6 +5132,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -4986,6 +5142,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -4994,6 +5152,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-wayland.h b/src/DSWaylandServer/dswayland-server-wayland.h index 2a1bc52..85dcffb 100644 --- a/src/DSWaylandServer/dswayland-server-wayland.h +++ b/src/DSWaylandServer/dswayland-server-wayland.h @@ -91,6 +91,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_callback *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -177,6 +178,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_compositor *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -272,6 +274,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_shm_pool *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -467,6 +470,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_shm *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -550,6 +554,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_buffer *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -666,6 +671,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_data_offer *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -774,6 +780,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_data_source *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -885,6 +892,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_data_device *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -979,6 +987,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_data_device_manager *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1065,6 +1074,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_shell *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1233,6 +1243,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_shell_surface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1375,6 +1386,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_surface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1481,6 +1493,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_seat *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1609,6 +1622,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_pointer *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1712,6 +1726,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_keyboard *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1807,6 +1822,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_touch *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -1921,6 +1937,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_output *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2017,6 +2034,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_region *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2108,6 +2126,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_subcompositor *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -2216,6 +2235,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { wl_subsurface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.cpp b/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.cpp index 5758fc4..63d8e1e 100644 --- a/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.cpp +++ b/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -267,6 +275,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -275,6 +285,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -283,6 +295,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -291,6 +305,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -543,6 +559,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -551,6 +569,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -559,6 +579,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -567,6 +589,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -805,6 +829,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -813,6 +839,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -821,6 +849,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -829,6 +859,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1240,6 +1272,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1248,6 +1282,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1256,6 +1292,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1264,6 +1302,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.h b/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.h index 26363d1..e6784a6 100644 --- a/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.h +++ b/src/DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.h @@ -124,6 +124,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { zxdg_shell_v6 *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -269,6 +270,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { zxdg_positioner_v6 *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -383,6 +385,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { zxdg_surface_v6 *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -556,6 +559,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { zxdg_toplevel_v6 *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -651,6 +655,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { zxdg_popup_v6 *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; diff --git a/src/DSWaylandServer/dswayland-server-xdg-shell.cpp b/src/DSWaylandServer/dswayland-server-xdg-shell.cpp index 8440d58..0cb664b 100644 --- a/src/DSWaylandServer/dswayland-server-xdg-shell.cpp +++ b/src/DSWaylandServer/dswayland-server-xdg-shell.cpp @@ -30,6 +30,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -38,6 +40,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -46,6 +50,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -54,6 +60,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -267,6 +275,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -275,6 +285,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -283,6 +295,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -291,6 +305,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -543,6 +559,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -551,6 +569,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -559,6 +579,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -567,6 +589,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -805,6 +829,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -813,6 +839,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -821,6 +849,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -829,6 +859,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } @@ -1240,6 +1272,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(client, id, version); } @@ -1248,6 +1282,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(display, version); } @@ -1256,6 +1292,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { init(resource); } @@ -1264,6 +1302,8 @@ namespace DSWaylandServer { : m_resource_map() , m_resource(NULL) , m_global(NULL) + , m_globalVersion(0) + , m_displayDestroyedListener() { } diff --git a/src/DSWaylandServer/dswayland-server-xdg-shell.h b/src/DSWaylandServer/dswayland-server-xdg-shell.h index ec0494a..4a90969 100644 --- a/src/DSWaylandServer/dswayland-server-xdg-shell.h +++ b/src/DSWaylandServer/dswayland-server-xdg-shell.h @@ -124,6 +124,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { xdg_wm_base *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -277,6 +278,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { xdg_positioner *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -391,6 +393,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { xdg_surface *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -568,6 +571,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { xdg_toplevel *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; @@ -663,6 +667,7 @@ namespace DSWaylandServer { uint32_t m_globalVersion; struct DisplayDestroyedListener : ::wl_listener { xdg_popup *parent; + DisplayDestroyedListener(): parent(NULL) {} }; DisplayDestroyedListener m_displayDestroyedListener; }; -- 2.7.4