summaryrefslogtreecommitdiff
path: root/mate-session/gsm-systemd.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-09-12 17:42:23 +0200
committerraveit65 <[email protected]>2013-09-12 17:42:23 +0200
commitf0b5b1ab78879d64f80117415aacf029359afea5 (patch)
treef5aad4ebb742f341bf248aa8a1e554cdfd3b7401 /mate-session/gsm-systemd.h
parentf37bbe895ebe09cfa468884973aca490e7a6785e (diff)
downloadmate-session-manager-f0b5b1ab78879d64f80117415aacf029359afea5.tar.bz2
mate-session-manager-f0b5b1ab78879d64f80117415aacf029359afea5.tar.xz
fix systemd-login1 support for hibernate/suspend
Diffstat (limited to 'mate-session/gsm-systemd.h')
-rw-r--r--mate-session/gsm-systemd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-session/gsm-systemd.h b/mate-session/gsm-systemd.h
index 8e886ba..e0e21c4 100644
--- a/mate-session/gsm-systemd.h
+++ b/mate-session/gsm-systemd.h
@@ -89,10 +89,18 @@ gboolean gsm_systemd_can_stop (GsmSystemd *manager);
gboolean gsm_systemd_can_restart (GsmSystemd *manager);
+gboolean gsm_systemd_can_hibernate (GsmSystemd *manager);
+
+gboolean gsm_systemd_can_suspend (GsmSystemd *manager);
+
void gsm_systemd_attempt_stop (GsmSystemd *manager);
void gsm_systemd_attempt_restart (GsmSystemd *manager);
+void gsm_systemd_attempt_hibernate (GsmSystemd *manager);
+
+void gsm_systemd_attempt_suspend (GsmSystemd *manager);
+
void gsm_systemd_set_session_idle (GsmSystemd *manager,
gboolean is_idle);