diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-26 12:09:03 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-26 12:09:26 +0000 |
commit | 4885f802d1b168f08e475e75e8ab47dad39cdead (patch) | |
tree | 1760157ee8439317c49c33b3edb67ac4b80fbce8 /libupower-glib/up-device.h | |
parent | 21012c7d2ee72c16f818857169184de7972587aa (diff) | |
download | upower-4885f802d1b168f08e475e75e8ab47dad39cdead.tar.gz |
trivial: add two more functions to DkpDevice for getting the stats and history
Diffstat (limited to 'libupower-glib/up-device.h')
-rw-r--r-- | libupower-glib/up-device.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libupower-glib/up-device.h b/libupower-glib/up-device.h index d29a5a0..57c0bc6 100644 --- a/libupower-glib/up-device.h +++ b/libupower-glib/up-device.h @@ -76,6 +76,14 @@ gboolean up_device_refresh_sync (UpDevice *device, gboolean up_device_set_object_path_sync (UpDevice *device, const gchar *object_path, GError **error); +GPtrArray *up_device_get_history_sync (UpDevice *device, + const gchar *type, + guint timespec, + guint resolution, + GError **error); +GPtrArray *up_device_get_statistics_sync (UpDevice *device, + const gchar *type, + GError **error); /* accessors */ const gchar *up_device_get_object_path (UpDevice *device); |