diff options
author | Richard Hughes <richard@hughsie.com> | 2010-03-26 12:49:01 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-03-26 12:49:01 +0000 |
commit | 6d607a406cef0484cab383e36a5e216a19320ec6 (patch) | |
tree | 90288937a72be8114bc6f289aa39b0f2b7f7d972 /libupower-glib/up-history-item.h | |
parent | daa2d5f3b745e52e9b2a9117d8020e7d4378369a (diff) | |
download | upower-6d607a406cef0484cab383e36a5e216a19320ec6.tar.gz |
Convert the daemon to using objects from libupower-glib, not devkit-power-gobject
Diffstat (limited to 'libupower-glib/up-history-item.h')
-rw-r--r-- | libupower-glib/up-history-item.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libupower-glib/up-history-item.h b/libupower-glib/up-history-item.h index a573590..8378060 100644 --- a/libupower-glib/up-history-item.h +++ b/libupower-glib/up-history-item.h @@ -60,9 +60,13 @@ void up_history_item_set_value (UpHistoryItem *history_item, guint up_history_item_get_time (UpHistoryItem *history_item); void up_history_item_set_time (UpHistoryItem *history_item, guint time); +void up_history_item_set_time_to_present (UpHistoryItem *history_item); UpDeviceState up_history_item_get_state (UpHistoryItem *history_item); void up_history_item_set_state (UpHistoryItem *history_item, UpDeviceState state); +gchar *up_history_item_to_string (UpHistoryItem *history_item); +gboolean up_history_item_set_from_string (UpHistoryItem *history_item, + const gchar *text); G_END_DECLS |