summaryrefslogtreecommitdiff
path: root/src/up-daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/up-daemon.h')
-rw-r--r--src/up-daemon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/up-daemon.h b/src/up-daemon.h
index c919a91..d2bcf91 100644
--- a/src/up-daemon.h
+++ b/src/up-daemon.h
@@ -85,8 +85,12 @@ gboolean up_daemon_suspend (UpDaemon *daemon,
DBusGMethodInvocation *context);
gboolean up_daemon_about_to_sleep (UpDaemon *daemon,
DBusGMethodInvocation *context);
+gboolean up_daemon_suspend_allowed (UpDaemon *daemon,
+ DBusGMethodInvocation *context);
gboolean up_daemon_hibernate (UpDaemon *daemon,
DBusGMethodInvocation *context);
+gboolean up_daemon_hibernate_allowed (UpDaemon *daemon,
+ DBusGMethodInvocation *context);
gboolean up_daemon_can_suspend (UpDaemon *daemon,
gboolean interactive,
DBusGMethodInvocation *context);