aboutsummaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-04 22:57:52 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-03-04 22:57:52 -0600
commit0f47066b171ba99fa7ac68bb3ccf0e92b18e78ab (patch)
tree87e61f9940fab44d33ee12c22ed754ba502d9429 /src/device.h
parent8c96b02c3ad3ee3286f75324ac6c262a091f0a43 (diff)
downloadayatana-indicator-power-0f47066b171ba99fa7ac68bb3ccf0e92b18e78ab.tar.gz
ayatana-indicator-power-0f47066b171ba99fa7ac68bb3ccf0e92b18e78ab.tar.bz2
ayatana-indicator-power-0f47066b171ba99fa7ac68bb3ccf0e92b18e78ab.zip
update the header / menuitem text / accessible text to reflect the changes in https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h45
1 files changed, 29 insertions, 16 deletions
diff --git a/src/device.h b/src/device.h
index 1f395a1..65c6767 100644
--- a/src/device.h
+++ b/src/device.h
@@ -116,22 +116,35 @@ IndicatorPowerDevice* indicator_power_device_new (const gchar * object_path,
IndicatorPowerDevice* indicator_power_device_new_from_variant (GVariant * variant);
-UpDeviceKind indicator_power_device_get_kind (const IndicatorPowerDevice * device);
-UpDeviceState indicator_power_device_get_state (const IndicatorPowerDevice * device);
-const gchar * indicator_power_device_get_object_path (const IndicatorPowerDevice * device);
-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);
-
-gchar * indicator_power_device_get_label (const IndicatorPowerDevice * device);
-
-void indicator_power_device_get_header (const IndicatorPowerDevice * device,
- gboolean show_time,
- gboolean show_percentage,
- gchar ** header,
- gchar ** a11y);
+UpDeviceKind indicator_power_device_get_kind (const IndicatorPowerDevice * device);
+UpDeviceState indicator_power_device_get_state (const IndicatorPowerDevice * device);
+const gchar * indicator_power_device_get_object_path (const IndicatorPowerDevice * device);
+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);
+
+
+void indicator_power_device_get_readable_text (const IndicatorPowerDevice * device,
+ gchar * str,
+ gulong size);
+
+void indicator_power_device_get_accessible_text (const IndicatorPowerDevice * device,
+ gchar * str,
+ gulong size);
+
+void indicator_power_device_get_readable_title (const IndicatorPowerDevice * device,
+ gchar * str,
+ gulong size,
+ gboolean want_time,
+ gboolean want_percent);
+
+void indicator_power_device_get_accessible_title (const IndicatorPowerDevice * device,
+ gchar * str,
+ gulong size,
+ gboolean want_time,
+ gboolean want_percent);
G_END_DECLS