aboutsummaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-31 13:00:31 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-05-31 13:00:31 -0500
commitb18b5862fb4e69773bf89328f4c65fdd344d8f1a (patch)
tree46cdc1da11912d024171291734821037fde61f6f /src/device.h
parent89c515defeb4403ec9452221f130be1007e0c7df (diff)
downloadayatana-indicator-power-b18b5862fb4e69773bf89328f4c65fdd344d8f1a.tar.gz
ayatana-indicator-power-b18b5862fb4e69773bf89328f4c65fdd344d8f1a.tar.bz2
ayatana-indicator-power-b18b5862fb4e69773bf89328f4c65fdd344d8f1a.zip
Add indicator_power_device_get_icon_names().
The main goal of this change is to make it possible to test the device's icon. A secondary goal is to clarify in the code how indicator-power's icons differ from the ones recommended by GSD.
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index e9de044..9b82830 100644
--- a/src/device.h
+++ b/src/device.h
@@ -94,6 +94,11 @@ const gchar * indicator_power_device_get_icon (const IndicatorPowerDevice
gdouble indicator_power_device_get_percentage (const IndicatorPowerDevice * device);
time_t indicator_power_device_get_time (const IndicatorPowerDevice * device);
+GStrv indicator_power_device_get_icon_names (const IndicatorPowerDevice * device);
+GIcon * indicator_power_device_get_gicon (const IndicatorPowerDevice * device);
+
+
+
G_END_DECLS