diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-26 12:15:15 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-26 12:15:15 +0000 |
commit | ada609a6e5ba7d942a76bab75170ee5cbe9b027f (patch) | |
tree | 7d9763540050dfc44758eda0d34fedc555de84a8 /libupower-glib/up-device.c | |
parent | 4885f802d1b168f08e475e75e8ab47dad39cdead (diff) | |
download | upower-ada609a6e5ba7d942a76bab75170ee5cbe9b027f.tar.gz |
trivial: add some more gtk-doc markup to the new objects
Diffstat (limited to 'libupower-glib/up-device.c')
-rw-r--r-- | libupower-glib/up-device.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c index c67822e..bb37b1f 100644 --- a/libupower-glib/up-device.c +++ b/libupower-glib/up-device.c @@ -260,6 +260,9 @@ up_device_changed_cb (DBusGProxy *proxy, UpDevice *device) /** * up_device_set_object_path_sync: + * @device: a #UpDevice instance. + * @object_path: The UPower object path. + * @error: a #GError, or %NULL. * * Sets the object path of the object and fills up initial properties. * @@ -328,6 +331,7 @@ out: /** * up_device_get_object_path: + * @device: a #UpDevice instance. * * Gets the object path for the device. * @@ -369,7 +373,7 @@ up_device_to_text_history (UpDevice *device, GString *string, const gchar *type) g_ptr_array_unref (array); } -/** +/* * up_device_bool_to_string: */ static const gchar * @@ -402,6 +406,7 @@ up_device_to_text_time_to_string (gint seconds) /** * up_device_to_text: + * @device: a #UpDevice instance. * * Converts the device to a string description. * @@ -514,6 +519,8 @@ up_device_to_text (UpDevice *device) /** * up_device_refresh_sync: + * @device: a #UpDevice instance. + * @error: a #GError, or %NULL. * * Refreshes properties on the device. * This function is normally not required. @@ -545,6 +552,11 @@ out: /** * up_device_get_history_sync: + * @device: a #UpDevice instance. + * @type: The type of history, known values are "rate" and "charge". + * @timespec: the amount of time to look back into time. + * @resolution: the resolution of data. + * @error: a #GError, or %NULL. * * Gets the device history. * @@ -626,6 +638,9 @@ out: /** * up_device_get_statistics_sync: + * @device: a #UpDevice instance. + * @type: the type of statistics. + * @error: a #GError, or %NULL. * * Gets the device current statistics. * |