| Top |
| void | (*data_changed) () |
| void | (*total_changed) () |
| UpWakeups * | up_wakeups_new () |
| guint | up_wakeups_get_total_sync () |
| GPtrArray * | up_wakeups_get_data_sync () |
| gboolean | up_wakeups_get_properties_sync () |
| gboolean | up_wakeups_get_has_capability () |
UpWakeups *
up_wakeups_new (void);
Gets a new object to allow querying the wakeups data from the server.
Since: 0.9.1
guint up_wakeups_get_total_sync (UpWakeups *wakeups,GCancellable *cancellable,GError **error);
Gets the the total number of wakeups per second from the daemon.
wakeups |
a UpWakeups instance. |
|
cancellable |
a GCancellable or |
|
error |
a GError, or |
Since: 0.9.1
GPtrArray * up_wakeups_get_data_sync (UpWakeups *wakeups,GCancellable *cancellable,GError **error);
Gets the wakeups data from the daemon.
wakeups |
a UpWakeups instance. |
|
cancellable |
a GCancellable or |
|
error |
a GError, or |
Since: 0.9.1
gboolean up_wakeups_get_properties_sync (UpWakeups *wakeups,GCancellable *cancellable,GError **error);
Gets properties from the daemon about wakeup data.
wakeups |
a UpWakeups instance. |
|
cancellable |
a GCancellable or |
|
error |
a GError, or |
Since: 0.9.1
gboolean
up_wakeups_get_has_capability (UpWakeups *wakeups);
Returns if the daemon supports getting the wakeup data.
Since: 0.9.1