summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8ee2534372..d44aa7d60b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -112,7 +112,7 @@ struct plugin_api {
112 /* lcd */ 112 /* lcd */
113 void (*lcd_clear_display)(void); 113 void (*lcd_clear_display)(void);
114 void (*lcd_puts)(int x, int y, const unsigned char *string); 114 void (*lcd_puts)(int x, int y, const unsigned char *string);
115 void (*lcd_puts_scroll)(int x, int y, unsigned char* string); 115 void (*lcd_puts_scroll)(int x, int y, const unsigned char* string);
116 void (*lcd_stop_scroll)(void); 116 void (*lcd_stop_scroll)(void);
117 void (*lcd_set_contrast)(int x); 117 void (*lcd_set_contrast)(int x);
118#ifdef HAVE_LCD_CHARCELLS 118#ifdef HAVE_LCD_CHARCELLS
@@ -211,7 +211,7 @@ struct plugin_api {
211 /* sound */ 211 /* sound */
212 void (*mpeg_sound_set)(int setting, int value); 212 void (*mpeg_sound_set)(int setting, int value);
213#ifndef SIMULATOR 213#ifndef SIMULATOR
214 void (*mp3_play_data)(unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size)); 214 void (*mp3_play_data)(const unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size));
215 void (*mp3_play_pause)(bool play); 215 void (*mp3_play_pause)(bool play);
216 void (*mp3_play_stop)(void); 216 void (*mp3_play_stop)(void);
217 bool (*mp3_is_playing)(void); 217 bool (*mp3_is_playing)(void);
@@ -264,7 +264,7 @@ struct plugin_api {
264#endif 264#endif
265 struct user_settings* global_settings; 265 struct user_settings* global_settings;
266 void (*backlight_set_timeout)(int index); 266 void (*backlight_set_timeout)(int index);
267 bool (*mp3info)(struct mp3entry *entry, char *filename, bool v1first); 267 bool (*mp3info)(struct mp3entry *entry, const char *filename, bool v1first);
268 int (*count_mp3_frames)(int fd, int startpos, int filesize, 268 int (*count_mp3_frames)(int fd, int startpos, int filesize,
269 void (*progressfunc)(int)); 269 void (*progressfunc)(int));
270 int (*create_xing_header)(int fd, int startpos, int filesize, 270 int (*create_xing_header)(int fd, int startpos, int filesize,
@@ -285,7 +285,8 @@ struct plugin_api {
285 int (*peak_meter_get_use_dbfs)(void); 285 int (*peak_meter_get_use_dbfs)(void);
286#endif 286#endif
287#ifdef HAVE_LCD_BITMAP 287#ifdef HAVE_LCD_BITMAP
288 void (*lcd_puts_scroll_style)(int x, int y, unsigned char* string, int style); 288 void (*lcd_puts_scroll_style)(int x, int y, const unsigned char* string,
289 int style);
289#endif 290#endif
290 void (*mpeg_flush_and_reload_tracks)(void); 291 void (*mpeg_flush_and_reload_tracks)(void);
291 int (*strncasecmp)(const char *s1, const char *s2, size_t n); 292 int (*strncasecmp)(const char *s1, const char *s2, size_t n);