forked from len0rd/rockbox
Accept a quick patch from Alexander Levin to neaten up the #defines and comments from my earlier commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19897 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ee8c479dff
commit
036fb05dfd
13 changed files with 52 additions and 36 deletions
|
@ -126,12 +126,12 @@ void* plugin_get_buffer(size_t *buffer_size);
|
|||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 140
|
||||
#define PLUGIN_API_VERSION 141
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
new function which are "waiting" at the end of the function table) */
|
||||
#define PLUGIN_MIN_API_VERSION 140
|
||||
#define PLUGIN_MIN_API_VERSION 141
|
||||
|
||||
/* plugin return codes */
|
||||
enum plugin_status {
|
||||
|
@ -312,7 +312,7 @@ struct plugin_api {
|
|||
int height);
|
||||
#endif
|
||||
void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen);
|
||||
char (*viewportmanager_set_statusbar)(char enabled);
|
||||
int (*viewportmanager_set_statusbar)(int enable_status);
|
||||
/* list */
|
||||
void (*gui_synclist_init)(struct gui_synclist * lists,
|
||||
list_get_name callback_get_item_name, void * data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue