Top | ![]() |
![]() |
![]() |
![]() |
RygelTrackableContainerRygelTrackableContainer — The base class for containers that provide automatic change tracking. |
Derived classes should implement the add_child()
and remove_child()
virtual functions to keep track of child items and child containers.
Rygel server plugins (See RygelMediaServer) may then call rygel_trackable_container_add_child_tracked()
and rygel_trackable_container_remove_child_tracked()
to add and remove items, which will then cause the “container_updated” signal to be emitted.
typedef struct _RygelTrackableContainer RygelTrackableContainer;
The base class for containers that provide automatic change tracking.
Derived classes should implement the add_child()
and remove_child()
virtual functions to keep track of child items and child containers.
Rygel server plugins (See RygelMediaServer) may then call rygel_trackable_container_add_child_tracked()
and rygel_trackable_container_remove_child_tracked()
to add and remove items, which will then cause the “container_updated” signal to be emitted.
struct RygelTrackableContainerIface { GTypeInterface parent_iface; void (*add_child) (RygelTrackableContainer* self, RygelMediaObject* object, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*add_child_finish) (RygelTrackableContainer* self, GAsyncResult* _res_); void (*remove_child) (RygelTrackableContainer* self, RygelMediaObject* object, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*remove_child_finish) (RygelTrackableContainer* self, GAsyncResult* _res_); gchar* (*get_service_reset_token) (RygelTrackableContainer* self); void (*set_service_reset_token) (RygelTrackableContainer* self, const gchar* token); guint32 (*get_system_update_id) (RygelTrackableContainer* self); };
Interface for creating RygelTrackableContainer implementations.
the parent interface structure |
||
virtual method used internally |
||
asynchronous finish function used internally |
||
virtual method used internally |
||
asynchronous finish function used internally |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |