summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/helper.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-08-13 22:31:11 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-08-13 22:31:11 +0000
commita5d4d67763a01f27453ae453c73e2bc4695131f9 (patch)
tree4c15a114b24ba96ec7f9096b06051c9d2f55c625 /apps/plugins/lib/helper.h
parent07a09041d6ca8c84280e9f9b372e8cc0eeb8166e (diff)
downloadrockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.zip
rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.tar.gz
rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.tar.bz2
rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.tar.xz
Also keep the backlight on in mpegplayer when plugged in. Fixes FS #7584. Created two helper functions for this, because this issue also exists in other plugins (to do). The helper functions are in the pluginlib in helper.[ch], where other common stuff can be put.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14321 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/helper.h')
-rw-r--r--apps/plugins/lib/helper.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/apps/plugins/lib/helper.h b/apps/plugins/lib/helper.h
new file mode 100644
index 0000000..abeac59
--- /dev/null
+++ b/apps/plugins/lib/helper.h
@@ -0,0 +1,30 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id: helper.h 10254 2007-08-14 19:44:44Z peter $
+ *
+ * Copyright (C) 2007 by Peter D'Hoye
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#ifndef _LIB_HELPER_H_
+#define _LIB_HELPER_H_
+
+#include "plugin.h"
+
+/**
+ * Backlight on/off operations
+ */
+void backlight_force_on(void);
+void backlight_use_settings(void);
+
+#endif