~psusi/ubuntu/natty/gnome-power-manager/sleep

« back to all changes in this revision

Viewing changes to src/gpm-upower.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-07-14 16:19:03 UTC
  • Revision ID: james.westby@ubuntu.com-20100714161903-ji5dlfcj32q854gc
Tags: 2.30.1-1ubuntu2
* Add 00git-port-to-libupower.patch: Port from libdevkit-power to
  libupower-glib, the former will go away soon.
* debian/control.in: Replace libdevkit-power-gobject-dev with
  libupower-glib-dev build dependency.
* 12-add-appindicators.patch: Update to upower port.
* Add 13-energy-star.patch: Change default timings to be Energy Star 5.0
  compliant, except for automatic suspend on AC (since that might be both
  inconvenient, and suspend might not work at all). (LP: #604635)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define __GPM_DEVICEKIT_H
24
24
 
25
25
#include <glib-object.h>
26
 
#include <devkit-power-gobject/devicekit-power.h>
 
26
#include <libupower-glib/upower.h>
27
27
 
28
28
G_BEGIN_DECLS
29
29
 
30
 
const gchar     *gpm_device_type_to_localised_text      (DkpDeviceType   type,
 
30
const gchar     *gpm_device_kind_to_localised_text      (UpDeviceKind    kind,
31
31
                                                         guint           number);
32
 
const gchar     *gpm_device_type_to_icon                (DkpDeviceType   type);
33
 
const gchar     *gpm_device_technology_to_localised_text (DkpDeviceTechnology technology_enum);
34
 
gchar           *gpm_upower_get_device_icon             (DkpDevice *device);
35
 
gchar           *gpm_upower_get_device_summary          (DkpDevice *device);
36
 
gchar           *gpm_upower_get_device_description      (DkpDevice *device);
 
32
const gchar     *gpm_device_kind_to_icon                (UpDeviceKind    kind);
 
33
const gchar     *gpm_device_technology_to_localised_string (UpDeviceTechnology technology_enum);
 
34
gchar           *gpm_upower_get_device_icon             (UpDevice *device);
 
35
gchar           *gpm_upower_get_device_summary          (UpDevice *device);
 
36
gchar           *gpm_upower_get_device_description      (UpDevice *device);
37
37
 
38
38
G_END_DECLS
39
39