diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-05-31 14:00:12 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-05-31 14:00:12 -0500 |
commit | 8476e802d84ee91e50dd6556d8293ece77033201 (patch) | |
tree | 4b7a0ae968a467501c41574432dbd48731075835 /src/device.h | |
parent | 97867c31fd3f4767fe891de31786b7b32d6dd35a (diff) | |
download | ayatana-indicator-power-8476e802d84ee91e50dd6556d8293ece77033201.tar.gz ayatana-indicator-power-8476e802d84ee91e50dd6556d8293ece77033201.tar.bz2 ayatana-indicator-power-8476e802d84ee91e50dd6556d8293ece77033201.zip |
Move private indicator-power function build_device_time_details() to device.c to public function indicator_power_device_get_time_details() so that we can unit test the user-visible strings.
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h index 11cd83b..566b196 100644 --- a/src/device.h +++ b/src/device.h @@ -94,6 +94,11 @@ time_t indicator_power_device_get_time (const IndicatorPowerDevice GStrv indicator_power_device_get_icon_names (const IndicatorPowerDevice * device); GIcon * indicator_power_device_get_gicon (const IndicatorPowerDevice * device); +void indicator_power_device_get_time_details (const IndicatorPowerDevice * device, + gchar ** short_details, + gchar ** details, + gchar ** accessible_name); + |