summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-06-15 23:16:43 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-06-15 23:16:43 +0000
commitb876296c9bc9f010c29d90b4e502fcda5f0bf0c6 (patch)
tree4a061f91c98024b94837ca06700735bd114ccec7 /apps/plugin.h
parent8fb114169788f04b61b0e6480b4ac0d2fae9205f (diff)
downloadrockbox-b876296c9bc9f010c29d90b4e502fcda5f0bf0c6.tar.gz
rockbox-b876296c9bc9f010c29d90b4e502fcda5f0bf0c6.zip
Moved battery_level() to the end, where it doesn't break backwards compatibility
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4750 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8a871492f6..56a0ef6843 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -195,7 +195,6 @@ struct plugin_api {
195 int (*atoi)(const char *str); 195 int (*atoi)(const char *str);
196 struct tm* (*get_time)(void); 196 struct tm* (*get_time)(void);
197 void* (*plugin_get_buffer)(int* buffer_size); 197 void* (*plugin_get_buffer)(int* buffer_size);
198 int (*battery_level)(void);
199 198
200 /* new stuff, sort in next time the API gets broken! */ 199 /* new stuff, sort in next time the API gets broken! */
201#ifndef HAVE_LCD_CHARCELLS 200#ifndef HAVE_LCD_CHARCELLS
@@ -266,6 +265,7 @@ struct plugin_api {
266 int (*mas_codec_writereg)(int reg, unsigned int val); 265 int (*mas_codec_writereg)(int reg, unsigned int val);
267#endif 266#endif
268#endif 267#endif
268 int (*battery_level)(void);
269}; 269};
270 270
271/* defined by the plugin loader (plugin.c) */ 271/* defined by the plugin loader (plugin.c) */