Top | ![]() |
![]() |
![]() |
![]() |
#define | RYGEL_TYPE_MEDIA_FILE_ITEM |
struct | RygelMediaFileItem |
struct | RygelMediaFileItemClass |
Items representing non-file-accessible content should create their own MediaItem subclass.
#define RYGEL_TYPE_MEDIA_FILE_ITEM (rygel_media_file_item_get_type ())
The type for RygelMediaFileItem.
struct RygelMediaFileItem { RygelMediaItem parent_instance; RygelMediaFileItemPrivate * priv; };
Represents a file-accessible or http-accessible media item (music file, image file, video file, etc) with some pre-established metadata or a content placeholder for uploaded content.
Items representing non-file-accessible content should create their own MediaItem subclass.
struct RygelMediaFileItemClass { RygelMediaItemClass parent_class; RygelMediaResource* (*get_primary_resource) (RygelMediaFileItem* self); gchar* (*get_extension) (RygelMediaFileItem* self); void (*add_engine_resources) (RygelMediaFileItem* self, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*add_engine_resources_finish) (RygelMediaFileItem* self, GAsyncResult* _res_); void (*add_additional_resources) (RygelMediaFileItem* self, RygelHTTPServer* server); };
The class structure for RYGEL_TYPE_MEDIA_FILE_ITEM
. All the fields in this structure are private and should never be accessed directly.
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
asynchronous finish function for |
||