We have a 3.9 release, update builds.pm
[maemo-rb.git] / apps / plugins / lib / helper.h
blob20f5ee285b17cd4a3b45425dfc7563e3b16b3f6f
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_ignore_timeout(void);
31 void backlight_use_settings(void);
32 #ifdef HAVE_REMOTE_LCD
33 void remote_backlight_force_on(void);
34 void remote_backlight_ignore_timeout(void);
35 void remote_backlight_use_settings(void);
36 #endif
38 #ifdef HAVE_BUTTON_LIGHT
39 void buttonlight_force_on(void);
40 void buttonlight_ignore_timeout(void);
41 void buttonlight_use_settings(void);
42 #endif
44 /**
45 * Backlight brightness adjustment settings
47 #ifdef HAVE_BACKLIGHT_BRIGHTNESS
48 void backlight_brightness_set(int brightness);
49 void backlight_brightness_use_setting(void);
50 #endif
52 #ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
53 void buttonlight_brightness_set(int brightness);
54 void buttonlight_brightness_use_setting(void);
55 #endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
57 #endif /* _LIB_HELPER_H_ */