summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-06-15 22:54:37 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-06-15 22:54:37 +0000
commitdd265830cb56057280728ffbfbbcc2d62db127c4 (patch)
tree9701d010fb8ab69893ef139b9649529cb1ac8f1e /apps/plugin.c
parent5b9c4c12974adedbdf8cafd151716eb82d6f26be (diff)
downloadrockbox-dd265830cb56057280728ffbfbbcc2d62db127c4.zip
rockbox-dd265830cb56057280728ffbfbbcc2d62db127c4.tar.gz
rockbox-dd265830cb56057280728ffbfbbcc2d62db127c4.tar.bz2
rockbox-dd265830cb56057280728ffbfbbcc2d62db127c4.tar.xz
Added battery_level()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4748 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index c950c66..c4fd101 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -41,6 +41,7 @@
#include "ata.h"
#include "talk.h"
#include "mp3data.h"
+#include "powermgmt.h"
#ifdef HAVE_LCD_BITMAP
#include "widgets.h"
@@ -166,6 +167,7 @@ static struct plugin_api rockbox_api = {
atoi,
get_time,
plugin_get_buffer,
+ battery_level,
/* new stuff at the end, sort into place next time the API gets incompatible */