2
* * Copyright (C) 2008-2011 Ali <aliov@xfce.org>
4
* Licensed under the GNU General Public License Version 2
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
#ifndef __XFPM_ENUM_GLIB_H
22
#define __XFPM_ENUM_GLIB_H
32
XFPM_DEVICE_TYPE_UNKNOWN,
33
XFPM_DEVICE_TYPE_LINE_POWER,
34
XFPM_DEVICE_TYPE_BATTERY,
36
XFPM_DEVICE_TYPE_MONITOR,
37
XFPM_DEVICE_TYPE_MOUSE,
40
XFPM_DEVICE_TYPE_PHONE
46
XFPM_DEVICE_STATE_UNKNOWN,
47
XFPM_DEVICE_STATE_CHARGING,
48
XFPM_DEVICE_STATE_DISCHARGING,
49
XFPM_DEVICE_STATE_EMPTY,
50
XFPM_DEVICE_STATE_FULLY_CHARGED,
51
XFPM_DEVICE_STATE_PENDING_CHARGING,
52
XFPM_DEVICE_STATE_PENDING_DISCHARGING
61
XFPM_BATTERY_CHARGE_UNKNOWN,
62
XFPM_BATTERY_CHARGE_CRITICAL,
63
XFPM_BATTERY_CHARGE_LOW,
64
XFPM_BATTERY_CHARGE_OK
76
} XfpmShutdownRequest;
82
LID_TRIGGER_HIBERNATE,
83
LID_TRIGGER_LOCK_SCREEN,
85
} XfpmLidTriggerAction;
93
BUTTON_MON_BRIGHTNESS_UP,
94
BUTTON_MON_BRIGHTNESS_DOWN,
104
SHOW_ICON_WHEN_BATTERY_PRESENT,
105
SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING,
112
XFPM_POWER_MODE_NORMAL,
113
XFPM_POWER_MODE_PRESENTATION
119
#endif /* __XFPM_ENUM_GLIB_H */