summaryrefslogtreecommitdiff
path: root/libupower-glib/up-wakeups.h
diff options
context:
space:
mode:
Diffstat (limited to 'libupower-glib/up-wakeups.h')
-rw-r--r--libupower-glib/up-wakeups.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/libupower-glib/up-wakeups.h b/libupower-glib/up-wakeups.h
index a44fb2b..745971b 100644
--- a/libupower-glib/up-wakeups.h
+++ b/libupower-glib/up-wakeups.h
@@ -27,6 +27,8 @@
#define __UP_WAKEUPS_H
#include <glib-object.h>
+#include <gio/gio.h>
+
#include <libupower-glib/up-types.h>
#include <libupower-glib/up-device.h>
#include <libupower-glib/up-wakeup-item.h>
@@ -60,11 +62,20 @@ typedef struct
GType up_wakeups_get_type (void);
UpWakeups *up_wakeups_new (void);
+
+/* sync versions */
guint up_wakeups_get_total_sync (UpWakeups *wakeups,
+ GCancellable *cancellable,
GError **error);
GPtrArray *up_wakeups_get_data_sync (UpWakeups *wakeups,
+ GCancellable *cancellable,
GError **error);
-gboolean up_wakeups_has_capability_sync (UpWakeups *wakeups);
+gboolean up_wakeups_get_properties_sync (UpWakeups *wakeups,
+ GCancellable *cancellable,
+ GError **error);
+
+/* accessors */
+gboolean up_wakeups_get_has_capability (UpWakeups *wakeups);
G_END_DECLS