Remove useless functions 11/15611/3
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Tue, 24 Jul 2018 00:20:54 +0000 (09:20 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Tue, 24 Jul 2018 07:57:00 +0000 (07:57 +0000)
These functions are not used anymore because of upgrade of
wayland-ivi-extension

* layer_configuration
* layer_orientation
* layer_screen

Change-Id: I794fa13a3203b929c8fc49d6fb96b14004aa0fcc
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/wayland_ivi_wm.cpp
src/wayland_ivi_wm.hpp

index e0c395c..dd6fbf8 100644 (file)
@@ -675,26 +675,6 @@ void controller::layer_destination_rectangle_changed(struct layer *l, uint32_t l
     this->lprops[layer_id].dst_rect = rect{width, height, x, y};
 }
 
-void controller::layer_configuration(struct layer *l, int32_t width,
-                                     int32_t height)
-{
-    HMI_DEBUG("wm", "compositor::layer %s @ %d w %i h %i", __func__, l->id,
-              width, height);
-    this->lprops[l->id].size = size{uint32_t(width), uint32_t(height)};
-}
-
-void controller::layer_orientation(struct layer *l, int32_t orientation)
-{
-    HMI_DEBUG("wm", "compositor::layer %s @ %d o %i", __func__, l->id,
-              orientation);
-    this->lprops[l->id].orientation = orientation;
-}
-
-void controller::layer_screen(struct layer *l, struct wl_output *screen)
-{
-    HMI_DEBUG("wm", "compositor::layer %s @ %d s %p", __func__, l->id, screen);
-}
-
 void controller::layer_destroyed(struct layer *l, uint32_t layer_id)
 {
     HMI_DEBUG("wm", "compositor::layer %s @ %d", __func__, layer_id);
index 06c1e1b..ac9a7fc 100644 (file)
@@ -317,9 +317,6 @@ struct controller : public wayland_proxy<struct ivi_wm>
     void layer_destroyed(struct layer *l, uint32_t layer_id);
     void layer_error_detected(uint32_t object_id,
                               uint32_t error_code, char const *error_text);
-    void layer_configuration(struct layer *l, int32_t width, int32_t height);
-    void layer_orientation(struct layer *l, int32_t orientation);
-    void layer_screen(struct layer *l, struct wl_output *screen);
 };
 } // namespace compositor