(UI companion) Add iterate function pointer to UI companion

This commit is contained in:
twinaphex 2015-04-12 02:12:30 +02:00
parent f8a31effb0
commit a5ddda8854
2 changed files with 4 additions and 2 deletions

View File

@ -50,5 +50,6 @@ const ui_companion_driver_t ui_companion_null = {
ui_companion_null_deinit,
NULL,
NULL,
NULL,
"null",
};

View File

@ -32,8 +32,9 @@ typedef struct ui_companion_driver
{
void *(*init)(void);
void (*deinit)(void *data);
void (*toggle_companion_ui)(void);
void (*notify_content_loaded)(void);
int (*iterate)(void *data, unsigned action);
void (*toggle_companion_ui)(void *data);
void (*notify_content_loaded)(void *data);
const char *ident;
} ui_companion_driver_t;