root/packages/lightdm-1.2.1/liblightdm-gobject/lightdm/power.h @ 6a31e2075568da34fe406409e3e90947f526dbfd

Revision 6a31e2075568da34fe406409e3e90947f526dbfd, 0.9 KB (checked in by Simone Piccardi <piccardi@…>, 11 months ago)

Patched lightdm sources. Now works when upgrading an LDAP expired
password.

  • Property mode set to 100644
Line 
1/*
2 * Copyright (C) 2010-2011 Robert Ancell.
3 * Author: Robert Ancell <robert.ancell@canonical.com>
4 *
5 * This library is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU Lesser General Public License as published by the Free
7 * Software Foundation; either version 3 of the License, or (at your option) any
8 * later version. See http://www.gnu.org/copyleft/lgpl.html the full text of the
9 * license.
10 */
11
12#ifndef _LIGHTDM_POWER_H_
13#define _LIGHTDM_POWER_H_
14
15G_BEGIN_DECLS
16
17gboolean lightdm_get_can_suspend (void);
18
19gboolean lightdm_suspend (GError **error);
20
21gboolean lightdm_get_can_hibernate (void);
22
23gboolean lightdm_hibernate (GError **error);
24
25gboolean lightdm_get_can_restart (void);
26
27gboolean lightdm_restart (GError **error);
28
29gboolean lightdm_get_can_shutdown (void);
30
31gboolean lightdm_shutdown (GError **error);
32
33G_END_DECLS
34
35#endif /* _LIGHTDM_POWER_H_ */
Note: See TracBrowser for help on using the browser.