2007-08-13 22:31:11 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
2007-08-13 22:37:44 +00:00
|
|
|
* $Id$
|
2007-08-13 22:31:11 +00:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
2008-05-13 09:57:56 +00:00
|
|
|
void backlight_force_on(const struct plugin_api* rb);
|
|
|
|
void backlight_use_settings(const struct plugin_api* rb);
|
2007-11-29 23:55:58 +00:00
|
|
|
#ifdef HAVE_REMOTE_LCD
|
2008-05-13 09:57:56 +00:00
|
|
|
void remote_backlight_force_on(const struct plugin_api* rb);
|
|
|
|
void remote_backlight_use_settings(const struct plugin_api* rb);
|
2007-11-29 23:55:58 +00:00
|
|
|
#endif
|
2008-05-08 21:23:31 +00:00
|
|
|
#ifdef HAVE_BUTTON_LIGHT
|
2008-05-13 09:57:56 +00:00
|
|
|
void buttonlight_force_on(const struct plugin_api* rb);
|
|
|
|
void buttonlight_use_settings(const struct plugin_api* rb);
|
2008-05-08 21:23:31 +00:00
|
|
|
#endif
|
2008-05-18 00:14:34 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Backlight brightness adjustment settings
|
|
|
|
*/
|
|
|
|
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
|
|
|
|
void backlight_brightness_set(const struct plugin_api *rb,
|
|
|
|
int brightness);
|
|
|
|
void backlight_brightness_use_setting(const struct plugin_api *rb);
|
2007-08-13 22:31:11 +00:00
|
|
|
#endif
|
2008-05-18 00:14:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* _LIB_HELPER_H_ */
|