diff options
author | Richard Hughes <richard@hughsie.com> | 2010-03-29 16:42:35 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-03-29 16:42:35 +0100 |
commit | d1bd4d42fd383777d3c1e6586513f59ccdb2ea96 (patch) | |
tree | ed09d4a865d6fc5c49f35dac9ad513ce9a4b2034 /src/up-backend.h | |
parent | 4b5dc883e60adcd41d005eb6f9e2feb012a1a7de (diff) | |
download | upower-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.h | 2 |
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 |