From b876296c9bc9f010c29d90b4e502fcda5f0bf0c6 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 15 Jun 2004 23:16:43 +0000 Subject: 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 --- apps/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 { int (*atoi)(const char *str); struct tm* (*get_time)(void); void* (*plugin_get_buffer)(int* buffer_size); - int (*battery_level)(void); /* new stuff, sort in next time the API gets broken! */ #ifndef HAVE_LCD_CHARCELLS @@ -266,6 +265,7 @@ struct plugin_api { int (*mas_codec_writereg)(int reg, unsigned int val); #endif #endif + int (*battery_level)(void); }; /* defined by the plugin loader (plugin.c) */ -- cgit v1.2.3