aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-25 14:58:56 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-05-25 14:58:56 -0500
commit34c756aa7a894ee9c12f3dce0b4ae6e4ac6a30a8 (patch)
tree7903071895251f1b2cbdebeaac2e4014fbc62f2f /src/indicator-power.h
parent33f4e3d7024984b8b4f3b4fe0b1dfa4ec8ab5700 (diff)
downloadayatana-indicator-power-34c756aa7a894ee9c12f3dce0b4ae6e4ac6a30a8.tar.gz
ayatana-indicator-power-34c756aa7a894ee9c12f3dce0b4ae6e4ac6a30a8.tar.bz2
ayatana-indicator-power-34c756aa7a894ee9c12f3dce0b4ae6e4ac6a30a8.zip
modify IndicatorPower to use IndicatorPowerDevices internally
Diffstat (limited to 'src/indicator-power.h')
-rw-r--r--src/indicator-power.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/indicator-power.h b/src/indicator-power.h
index 39ac0ca..bd47535 100644
--- a/src/indicator-power.h
+++ b/src/indicator-power.h
@@ -26,6 +26,8 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libindicator/indicator.h>
#include <libindicator/indicator-object.h>
+#include "device.h"
+
G_BEGIN_DECLS
#define INDICATOR_POWER_TYPE (indicator_power_get_type ())
@@ -52,4 +54,8 @@ struct _IndicatorPower
GType indicator_power_get_type (void) G_GNUC_CONST;
+void indicator_power_set_devices (IndicatorPower * power,
+ IndicatorPowerDevice ** devices,
+ gsize deviceCount);
+
G_END_DECLS