summaryrefslogtreecommitdiffstats
path: root/apps/screens.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-07-08 15:32:56 +0000
committerNils Wallménius <nils@rockbox.org>2007-07-08 15:32:56 +0000
commit3f8c075f24fdcb4c471a4a0ae149f730e339450d (patch)
treed46767b1ff78debeaad90b9d9dfaf4615adbd29a /apps/screens.h
parent979c2b7c663ad6fc46263a3407abbd0c4b78e07f (diff)
downloadrockbox-3f8c075f24fdcb4c471a4a0ae149f730e339450d.tar.gz
rockbox-3f8c075f24fdcb4c471a4a0ae149f730e339450d.tar.bz2
rockbox-3f8c075f24fdcb4c471a4a0ae149f730e339450d.zip
ifdef out charging screen for targets that do not use it, + minor cleaning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13820 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.h')
-rw-r--r--apps/screens.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/screens.h b/apps/screens.h
index 6b576f164f..4d7704f7d5 100644
--- a/apps/screens.h
+++ b/apps/screens.h
@@ -24,10 +24,13 @@
struct screen;
-void usb_display_info(struct screen * display);
void usb_screen(void);
+#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) && defined(CPU_SH)
int charging_screen(void);
+#endif
+#if CONFIG_CHARGING || defined(SIMULATOR)
void charging_splash(void);
+#endif
#ifdef HAVE_MMC
int mmc_remove_request(void);