• eucan's avatar
    ivi-shell: rework layer_add_notification API · 3750d1b2
    eucan authored
    The layer_add_notification API accepts a simple
    wl_listener instead of a ivi-shell specific notification
    function. Therefore, the API is renamed to layer_add_listener.
    
    This change has several advantages:
    1. Code cleanup
    2. No dynamic memory allocation. Listeners are allocated
       by controller plugins
    3. Remove API is not needed. Controller plugins can easily
       remove the listener link.
    
    This patch also remove two APIs which are not needed:
    - ivi_layout_layer_remove_notification
    - ivi_layout_layer_remove_notification_by_callback
    Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
    Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    3750d1b2
Name
Last commit
Last update
clients Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc/doxygen Loading commit data...
fullscreen-shell Loading commit data...
ivi-shell Loading commit data...
m4 Loading commit data...
man Loading commit data...
protocol Loading commit data...
shared Loading commit data...
src Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
notes.txt Loading commit data...
releasing.txt Loading commit data...
weston.ini.in Loading commit data...