fix red.
[kugel-rb.git] / apps / plugins / lib / helper.h
blob92c1c2f934e7ed1688c3a3ac598353d91d6f3a0c
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Peter D'Hoye
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #ifndef _LIB_HELPER_H_
22 #define _LIB_HELPER_H_
24 #include "plugin.h"
26 /**
27 * Backlight on/off operations
29 void backlight_force_on(void);
30 void backlight_use_settings(void);
31 #ifdef HAVE_REMOTE_LCD
32 void remote_backlight_force_on(void);
33 void remote_backlight_use_settings(void);
34 #endif
35 #ifdef HAVE_BUTTON_LIGHT
36 void buttonlight_force_on(void);
37 void buttonlight_use_settings(void);
38 #endif
40 /**
41 * Backlight brightness adjustment settings
43 #ifdef HAVE_BACKLIGHT_BRIGHTNESS
44 void backlight_brightness_set(int brightness);
45 void backlight_brightness_use_setting(void);
46 #endif
49 #endif /* _LIB_HELPER_H_ */