1
0
Fork 0
forked from len0rd/rockbox

Text viewer: * Only show those options which really exist. * Basic button functions now available on all targets. * Implemented option setting in a more straightforward way (like the core options menus).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9874 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-05-03 23:16:53 +00:00
parent 542d9b5942
commit 2343a1935d
3 changed files with 128 additions and 120 deletions

View file

@ -68,6 +68,7 @@
#include "menu.h"
#include "rbunicode.h"
#include "list.h"
#include "talk.h"
#ifdef HAVE_REMOTE_LCD
#include "lcd-remote.h"
@ -103,7 +104,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
#define PLUGIN_API_VERSION 20
#define PLUGIN_API_VERSION 21
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@ -515,6 +516,10 @@ struct plugin_api {
void (*lcd_setmargins)(int x, int y);
#endif
int (*utf8seek)(const unsigned char* utf8, int offset);
bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit,
int* variable, void (*function)(int), int step, int min,
int max, void (*formatter)(char*, int, int, const char*) );
};
/* plugin header */