summaryrefslogtreecommitdiff
path: root/firmware/export/button.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-09-26 10:03:56 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-09-26 10:03:56 +0000
commit537c7546f946d266e55fdbce03558352a3342908 (patch)
tree9e594c9d40ec54047fa858472f737bc4d7b7d406 /firmware/export/button.h
parent9f960e405f72e1f624797547e1ad8e9584206118 (diff)
downloadrockbox-537c7546f946d266e55fdbce03558352a3342908.zip
rockbox-537c7546f946d266e55fdbce03558352a3342908.tar.gz
rockbox-537c7546f946d266e55fdbce03558352a3342908.tar.bz2
rockbox-537c7546f946d266e55fdbce03558352a3342908.tar.xz
Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the headphones
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r--firmware/export/button.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 0e11da9..39dfbff 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -54,6 +54,9 @@ bool button_hold(void);
#ifdef HAS_REMOTE_BUTTON_HOLD
bool remote_button_hold(void);
#endif
+#ifdef HAVE_HEADPHONE_DETECTION
+bool headphones_inserted(void);
+#endif
#define BUTTON_NONE 0x00000000