wmauda: Fix installation dir
[dockapps.git] / wmpower-0.4.3 / src / power_management / toshiba / toshiba_lib.h
blob9f1074652943f7db8444bda5fedbc2031ad621a2
1 /***************************************************************************
2 toshiba_lib.h - description
3 -------------------
4 begin : Feb 10 2003
5 copyright : (C) 2003 by Noberasco Michele
6 e-mail : 2001s098@educ.disi.unige.it
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 * This program is distributed in the hope that it will be useful, *
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
19 * GNU General Public License for more details. *
20 * *
21 * You should have received a copy of the GNU General Public License *
22 * along with this program; if not, write to the *
23 * Free Software Foundation, Inc., *
24 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
25 * *
26 ***************************************************************************/
28 /***************************************************************************
29 Many thanks to Jonathan A. Buzzard for his Toshiba(tm) Linux Utilities
30 I could never have done this otherwise
31 ***************************************************************************/
33 #define TOSHIBA_LCD_MIN 0
34 #define TOSHIBA_LCD_MED 1
35 #define TOSHIBA_LCD_MAX 2
37 char toshiba_model[255];
39 int machine_is_toshiba(int *use_toshiba_hardware);
40 int toshiba_get_fan_status(int use_toshiba_hardware);
41 void toshiba_set_fan_status(int status);
42 void toshiba_set_lcd_brightness(int brightness, int allow_hardware_call);
43 void Toshiba_lcdBrightness_UpOneStep(int allow_hardware_call);
44 void Toshiba_lcdBrightness_DownOneStep(int allow_hardware_call);