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
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2007-08-13 22:31:11 +00:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
2009-01-16 10:34:40 +00:00
|
|
|
void backlight_force_on(void);
|
2011-01-24 12:29:16 +00:00
|
|
|
void backlight_ignore_timeout(void);
|
2009-01-16 10:34:40 +00:00
|
|
|
void backlight_use_settings(void);
|
2007-11-29 23:55:58 +00:00
|
|
|
#ifdef HAVE_REMOTE_LCD
|
2009-01-16 10:34:40 +00:00
|
|
|
void remote_backlight_force_on(void);
|
2011-01-24 12:29:16 +00:00
|
|
|
void remote_backlight_ignore_timeout(void);
|
2009-01-16 10:34:40 +00:00
|
|
|
void remote_backlight_use_settings(void);
|
2007-11-29 23:55:58 +00:00
|
|
|
#endif
|
2010-11-01 13:37:00 +00:00
|
|
|
|
2008-05-08 21:23:31 +00:00
|
|
|
#ifdef HAVE_BUTTON_LIGHT
|
2009-01-16 10:34:40 +00:00
|
|
|
void buttonlight_force_on(void);
|
2011-01-24 12:29:16 +00:00
|
|
|
void buttonlight_ignore_timeout(void);
|
2009-01-16 10:34:40 +00:00
|
|
|
void buttonlight_use_settings(void);
|
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
|
2009-01-16 10:34:40 +00:00
|
|
|
void backlight_brightness_set(int brightness);
|
|
|
|
void backlight_brightness_use_setting(void);
|
2007-08-13 22:31:11 +00:00
|
|
|
#endif
|
2008-05-18 00:14:34 +00:00
|
|
|
|
2010-11-01 13:37:00 +00:00
|
|
|
#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
|
|
|
|
void buttonlight_brightness_set(int brightness);
|
|
|
|
void buttonlight_brightness_use_setting(void);
|
|
|
|
#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
|
2008-05-18 00:14:34 +00:00
|
|
|
|
|
|
|
#endif /* _LIB_HELPER_H_ */
|