aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-26 10:02:14 +0200
committerCharles Kerr <charles.kerr@canonical.com>2012-10-26 10:02:14 +0200
commitb7b7ffd56c91ae9622ffebfec4ea4400c96d2fce (patch)
treec5f5fe9fc6b005800e8a52c7c5a8f82a08e0d0b4 /src/indicator-power.h
parenta8d3382188e2fad083a287c9656052273f91e845 (diff)
downloadayatana-indicator-power-b7b7ffd56c91ae9622ffebfec4ea4400c96d2fce.tar.gz
ayatana-indicator-power-b7b7ffd56c91ae9622ffebfec4ea4400c96d2fce.tar.bz2
ayatana-indicator-power-b7b7ffd56c91ae9622ffebfec4ea4400c96d2fce.zip
Select the primary device based on the spec's criteria. Add tests to confirm.
Diffstat (limited to 'src/indicator-power.h')
-rw-r--r--src/indicator-power.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-power.h b/src/indicator-power.h
index a696b40..34d0d0e 100644
--- a/src/indicator-power.h
+++ b/src/indicator-power.h
@@ -55,4 +55,6 @@ GType indicator_power_get_type (void) G_GNUC_CONST;
void indicator_power_set_devices (IndicatorPower * power,
GSList * devices);
+IndicatorPowerDevice* indicator_power_choose_primary_device (GSList * devices);
+
G_END_DECLS