summaryrefslogtreecommitdiff
path: root/src/up-backend.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-03-29 16:42:35 +0100
committerRichard Hughes <richard@hughsie.com>2010-03-29 16:42:35 +0100
commitd1bd4d42fd383777d3c1e6586513f59ccdb2ea96 (patch)
treeed09d4a865d6fc5c49f35dac9ad513ce9a4b2034 /src/up-backend.h
parent4b5dc883e60adcd41d005eb6f9e2feb012a1a7de (diff)
downloadupower-d1bd4d42fd383777d3c1e6586513f59ccdb2ea96.tar.gz
Get the suspend and hibernate commands from the backend, rather than hardcoding Linux specifics
Diffstat (limited to 'src/up-backend.h')
-rw-r--r--src/up-backend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/up-backend.h b/src/up-backend.h
index 2384388..d485a2e 100644
--- a/src/up-backend.h
+++ b/src/up-backend.h
@@ -71,6 +71,8 @@ gboolean up_backend_kernel_can_suspend (UpBackend *backend);
gboolean up_backend_kernel_can_hibernate (UpBackend *backend);
gboolean up_backend_has_encrypted_swap (UpBackend *backend);
gfloat up_backend_get_used_swap (UpBackend *backend);
+const gchar *up_backend_get_suspend_command (UpBackend *backend);
+const gchar *up_backend_get_hibernate_command (UpBackend *backend);
G_END_DECLS