~seb128/indicator-power/use-universe-translations

« back to all changes in this revision

Viewing changes to src/service.h

  • Committer: CI Train Bot
  • Author(s): Charles Kerr, charles kerr
  • Date: 2016-01-05 14:37:48 UTC
  • mfrom: (290.1.24 lp-1470767-low-battery-sound)
  • Revision ID: ci-train-bot@canonical.com-20160105143748-8vkmb6yhgz603fus
Play a 'low battery' sound when the low battery notification is shown.
 Fixes: #1470767
Approved by: Ted Gould, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <glib-object.h>
25
25
 
26
26
#include "device-provider.h"
 
27
#include "notifier.h"
27
28
 
28
29
G_BEGIN_DECLS
29
30
 
64
65
 
65
66
GType indicator_power_service_get_type (void);
66
67
 
67
 
IndicatorPowerService * indicator_power_service_new (IndicatorPowerDeviceProvider * provider);
 
68
IndicatorPowerService * indicator_power_service_new (IndicatorPowerDeviceProvider * provider,
 
69
                                                     IndicatorPowerNotifier       * notifier);
68
70
 
69
71
void indicator_power_service_set_device_provider (IndicatorPowerService        * self,
70
72
                                                  IndicatorPowerDeviceProvider * provider);
71
73
 
 
74
void indicator_power_service_set_notifier (IndicatorPowerService  * self,
 
75
                                           IndicatorPowerNotifier * notifier);
 
76
 
72
77
IndicatorPowerDevice * indicator_power_service_choose_primary_device (GList * devices);
73
78
 
74
79