| Mex Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum MexFeedSearchMode; struct MexFeed; struct MexFeedClass; MexFeed * mex_feed_new (const char *title,const char *source); void mex_feed_search (MexFeed *feed,const char **search,MexFeedSearchMode mode,MexModel *results_model); MexProgram * mex_feed_lookup (MexFeed *feed,const char *id); MexProgram; MexFeedPrivate;
typedef enum
{
MEX_FEED_SEARCH_MODE_OR,
MEX_FEED_SEARCH_MODE_AND
} MexFeedSearchMode;
struct MexFeedClass {
MexGenericModelClass parent_class;
void (*refresh) (MexFeed *feed);
};
MexFeed * mex_feed_new (const char *title,const char *source);
Creates an empty MexFeed.
|
String containing the title. |
|
String containing the source. |
Returns : |
A MexFeed |
void mex_feed_search (MexFeed *feed,const char **search,MexFeedSearchMode mode,MexModel *results_model);
Searches feed for the terms found in search and puts the results
into results_feed;
|
A MexFeed |
|
A string array |
|
The MexFeedSearchMode |
|
A MexFeed to store the results of the search. |