/usr/include/lightdm-gobject-1/lightdm/power.h is in liblightdm-gobject-1-dev 1.18.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /*
* Copyright (C) 2010-2011 Robert Ancell.
* Author: Robert Ancell <robert.ancell@canonical.com>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2 or version 3 of the License.
* See http://www.gnu.org/copyleft/lgpl.html the full text of the license.
*/
#ifndef LIGHTDM_POWER_H_
#define LIGHTDM_POWER_H_
G_BEGIN_DECLS
gboolean lightdm_get_can_suspend (void);
gboolean lightdm_suspend (GError **error);
gboolean lightdm_get_can_hibernate (void);
gboolean lightdm_hibernate (GError **error);
gboolean lightdm_get_can_restart (void);
gboolean lightdm_restart (GError **error);
gboolean lightdm_get_can_shutdown (void);
gboolean lightdm_shutdown (GError **error);
G_END_DECLS
#endif /* LIGHTDM_POWER_H_ */
|