1 /*
2  * * Copyright (C) 2008-2011 Ali <aliov@xfce.org>
3  *
4  * Licensed under the GNU General Public License Version 2
5  *
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.
10  *
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.
15  *
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
19  */
20 
21 #ifndef __XFPM_SETTINGS_H
22 #define __XFPM_SETTINGS_H
23 
24 #include <gtk/gtkx.h>
25 #include <xfconf/xfconf.h>
26 
27 GtkWidget *xfpm_settings_dialog_new   (XfconfChannel *channel,
28                                        gboolean auth_suspend,
29                                        gboolean auth_hibernate,
30                                        gboolean can_suspend,
31                                        gboolean can_hibernate,
32                                        gboolean can_shutdown,
33                                        gboolean has_battery,
34                                        gboolean has_lcd_brightness,
35                                        gboolean has_lid,
36                                        gboolean has_sleep_button,
37                                        gboolean has_hibernate_button,
38                                        gboolean has_power_button,
39                                        gboolean has_battery_button,
40                                        Window id,
41                                        gchar *device_id,
42                                        GtkApplication *gtk_app);
43 void     xfpm_settings_show_device_id (gchar *device_id);
44 
45 #endif /* __XFPM_SETTINGS_H */
46