diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-17 09:04:03 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-17 09:04:03 +0200 |
commit | db31456921f9977d8fef8ed1dcee6517107358ff (patch) | |
tree | dcd098e7365d3d1b2fb8bc2170a4cf29c1a92a3c /libupower-glib/up-client.h | |
parent | a7870229ee32616ac9e55edbab1045d1dac171be (diff) | |
download | upower-db31456921f9977d8fef8ed1dcee6517107358ff.tar.gz |
all: Add GetCriticalAction daemon method
This allows desktop front-ends to get which action will
actually be taken when we hit critical battery.
This is not a property as availability of actions might
change over the course of the run of the system, and
we didn't want to make unnecessary D-Bus calls on startup.
Diffstat (limited to 'libupower-glib/up-client.h')
-rw-r--r-- | libupower-glib/up-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libupower-glib/up-client.h b/libupower-glib/up-client.h index 0f502d9..151f29b 100644 --- a/libupower-glib/up-client.h +++ b/libupower-glib/up-client.h @@ -81,6 +81,7 @@ gboolean up_client_enumerate_devices_sync (UpClient *client, GCancellable *cancellable, GError **error); UpDevice * up_client_get_display_device (UpClient *client); +char * up_client_get_critical_action (UpClient *client); /* accessors */ GPtrArray *up_client_get_devices (UpClient *client); |