2 ivi-shell/ivi-layout-export.h | 19 +++++++++++++++++++
3 ivi-shell/ivi-layout.c | 2 ++
4 2 files changed, 21 insertions(+)
6 diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
7 index 8a92009..7f93c82 100644
8 --- a/ivi-shell/ivi-layout-export.h
9 +++ b/ivi-shell/ivi-layout-export.h
10 @@ -185,6 +185,25 @@ struct ivi_controller_interface {
11 int32_t (*commit_changes)(void);
14 + * \brief Creates an ivi_layout_surface.
16 + * \return IVI_SUCCEEDED if the method call was successful
17 + * \return IVI_FAILED if the method call was failed
19 + struct ivi_layout_surface* (*surface_create)(
20 + struct weston_surface *wl_surface,
21 + uint32_t id_surface);
24 + * \brief Configure an ivi_layout_surface
26 + * \return IVI_SUCCEEDED if the method call was successful
27 + * \return IVI_FAILED if the method call was failed
29 + void (*surface_configure)(struct ivi_layout_surface *ivisurf,
30 + int32_t width, int32_t height);
33 * surface controller interface
36 diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
37 index 51d0a8d..76891bf 100644
38 --- a/ivi-shell/ivi-layout.c
39 +++ b/ivi-shell/ivi-layout.c
40 @@ -2870,6 +2870,8 @@ static struct ivi_controller_interface ivi_controller_interface = {
42 .commit_changes = ivi_layout_commit_changes,
44 + .surface_create = ivi_layout_surface_create,
45 + .surface_configure = ivi_layout_surface_configure,
47 * surface controller interfaces