![]() |
![]() |
![]() |
Mex Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct MexGriloFeed; struct MexGriloFeedClass; void (*MexGriloFeedOpenCb) (MexGriloProgram *content
,MexGriloFeed *feed
); MexGriloOperation; enum MexGriloOperationType; void mex_grilo_feed_browse (MexGriloFeed *feed
,int offset
,int limit
); gboolean mex_grilo_feed_get_completed (MexGriloFeed *feed
); const MexGriloOperation * mex_grilo_feed_get_operation (MexGriloFeed *feed
); MexFeed * mex_grilo_feed_new (GrlSource *source
,const GList *query_keys
,const GList *metadata_keys
,GrlMedia *root
); void mex_grilo_feed_open (MexGriloFeed *feed
,MexGriloProgram *program
); void mex_grilo_feed_query (MexGriloFeed *feed
,const char *query
,int offset
,int limit
); void mex_grilo_feed_search (MexGriloFeed *feed
,const char *search_text
,int offset
,int limit
); void mex_grilo_feed_set_open_callback (MexGriloFeed *feed
,MexGriloFeedOpenCb callback
);
GObject +----MexGenericModel +----MexFeed +----MexGriloFeed +----MexGriloTrackerFeed
GEnum +----MexGriloOperationType
"completed" gboolean : Read "grilo-box" GrlMedia* : Read / Write / Construct Only "grilo-metadata-keys" gpointer : Read / Write / Construct Only "grilo-query-keys" gpointer : Read / Write / Construct Only "grilo-source" GrlSource* : Read / Write / Construct Only
struct MexGriloFeedClass { MexFeedClass parent_class; guint (*browse) (MexGriloFeed *feed, int offset, int limit, GrlSourceResultCb callback); guint (*query) (MexGriloFeed *feed, const char *query, int offset, int limit, GrlSourceResultCb callback); guint (*search) (MexGriloFeed *feed, const char *search_text, int offset, int limit, GrlSourceResultCb callback); void (*content_updated) (GrlSource *source, GPtrArray *changed_medias, GrlSourceChangeType change_type, gboolean known_location, MexGriloFeed *feed); };
typedef struct { MexGriloOperationType type; char *text; guint32 limit; guint32 count; guint32 offset; guint32 op_id; } MexGriloOperation;
typedef enum { MEX_GRILO_FEED_OPERATION_NONE, MEX_GRILO_FEED_OPERATION_BROWSE, MEX_GRILO_FEED_OPERATION_QUERY, MEX_GRILO_FEED_OPERATION_SEARCH } MexGriloOperationType;
const MexGriloOperation * mex_grilo_feed_get_operation (MexGriloFeed *feed
);
MexFeed * mex_grilo_feed_new (GrlSource *source
,const GList *query_keys
,const GList *metadata_keys
,GrlMedia *root
);
void mex_grilo_feed_query (MexGriloFeed *feed
,const char *query
,int offset
,int limit
);
void mex_grilo_feed_search (MexGriloFeed *feed
,const char *search_text
,int offset
,int limit
);
void mex_grilo_feed_set_open_callback (MexGriloFeed *feed
,MexGriloFeedOpenCb callback
);
"completed"
property"completed" gboolean : Read
Whether the current query has completed.
Default value: FALSE
"grilo-box"
property"grilo-box" GrlMedia* : Read / Write / Construct Only
Grilo box that represents the root.
"grilo-metadata-keys"
property"grilo-metadata-keys" gpointer : Read / Write / Construct Only
The Grilo metadata keys that the feed tries to retrieve when fully exploring the medias.
"grilo-query-keys"
property"grilo-query-keys" gpointer : Read / Write / Construct Only
The Grilo metadata keys that the feed tries to retrieve when querying.
"grilo-source"
property"grilo-source" GrlSource* : Read / Write / Construct Only
Grilo source for this feed.