VLC 4.0.0-dev
|
#include <vlc_diffutil.h>
Data Fields | |
void(* | insert )(void *opaque, const void *listOld, uint32_t posOld, const void *listNew, uint32_t posNew) |
notify that the item from listNew at position posNew is inserted in list listOld at position posOld | |
void(* | remove )(void *opaque, const void *listOld, uint32_t posOld, const void *listNew, uint32_t posNew) |
notify that the item from listOld at position posOld is removed | |
void(* | equal )(void *opaque, const void *listOld, uint32_t posOld, const void *listNew, uint32_t posNew) |
notify that the item as posOld from the old list listOld is unchanged, the respective item position in the new list is at the position posNew in listNew | |
void(* vlc_diffutil_snake_callback_t::equal) (void *opaque, const void *listOld, uint32_t posOld, const void *listNew, uint32_t posNew) |
notify that the item as posOld from the old list listOld is unchanged, the respective item position in the new list is at the position posNew in listNew
Referenced by vlc_diffutil_walk_snake().
void(* vlc_diffutil_snake_callback_t::insert) (void *opaque, const void *listOld, uint32_t posOld, const void *listNew, uint32_t posNew) |
notify that the item from listNew at position posNew is inserted in list listOld at position posOld
opaque | user data from function vlc_diffutil_walk_snake |
listOld | pointer to the old model |
posOld | position of the element inserted in the old model (before removal) |
listNew | pointer to the new model |
posNew | position of the element inserted in the new model |
Referenced by vlc_diffutil_walk_snake().
void(* vlc_diffutil_snake_callback_t::remove) (void *opaque, const void *listOld, uint32_t posOld, const void *listNew, uint32_t posNew) |
notify that the item from listOld at position posOld is removed
opaque | user data from function vlc_diffutil_walk_snake |
listOld | pointer to the old model |
posOld | position of the element removed in the old model |
listNew | pointer to the new model |
posNew | position of the element removed in the new model (before removal) |
Referenced by vlc_diffutil_build_change_list(), and vlc_diffutil_walk_snake().