diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-29 13:59:04 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-29 13:59:04 +0000 |
commit | be6c8ab463d45f1526fe7a2a4e317e77cfba01f7 (patch) | |
tree | b41617c9813d8306d26fe4c04b24c1c0e0487004 /apps/plugin.h | |
parent | 0744c50a3893183a6de041247506a0cab549c540 (diff) |
Added functions for the split editor plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4974 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index dc8a273c99..3d5f9a5504 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -60,7 +60,7 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 25 +#define PLUGIN_API_VERSION 26 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -276,7 +276,23 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ +#ifdef HAVE_MAS3587F + void (*mpeg_set_pitch)(int pitch); + unsigned short (*peak_meter_scale_value)(unsigned short val, + int meterwidth); + void (*peak_meter_set_use_dbfs)(int use); + int (*peak_meter_get_use_dbfs)(void); +#endif +#ifdef HAVE_LCD_BITMAP + void (*lcd_puts_scroll_style)(int x, int y, unsigned char* string, int style); +#endif + void (*mpeg_flush_and_reload_tracks)(void); + int (*strncasecmp)(const char *s1, const char *s2, size_t n); + int (*mpeg_get_file_pos)(void); + unsigned long (*find_next_frame)(int fd, int *offset, + int max_offset, unsigned long last_header); + unsigned long (*mpeg_get_last_header)(void); }; /* defined by the plugin loader (plugin.c) */ |