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
|
|
|
|
*/
|
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_ */
|