diff options
Diffstat (limited to 'telepathy-glib/handle-repo.h')
-rw-r--r-- | telepathy-glib/handle-repo.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/telepathy-glib/handle-repo.h b/telepathy-glib/handle-repo.h index 99d993347..ec6f1adc4 100644 --- a/telepathy-glib/handle-repo.h +++ b/telepathy-glib/handle-repo.h @@ -30,11 +30,16 @@ #include <glib-object.h> +#include <gio/gio.h> + #include <telepathy-glib/intset.h> #include <telepathy-glib/handle.h> G_BEGIN_DECLS +/* Forward declaration to avoid circular includes */ +typedef struct _TpBaseConnection TpBaseConnection; + /* Forward declaration because it's in the HandleRepo API */ #define TP_TYPE_HANDLE_SET (tp_handle_set_get_type ()) @@ -115,6 +120,18 @@ TpHandle tp_handle_ensure (TpHandleRepoIface *self, const gchar *id, gpointer context, GError **error) G_GNUC_WARN_UNUSED_RESULT; +_TP_AVAILABLE_IN_UNRELEASED +void tp_handle_ensure_async (TpHandleRepoIface *self, + TpBaseConnection *connection, + const gchar *id, + gpointer context, + GAsyncReadyCallback callback, + gpointer user_data); +_TP_AVAILABLE_IN_UNRELEASED +TpHandle tp_handle_ensure_finish (TpHandleRepoIface *self, + GAsyncResult *result, + GError **error); + void tp_handle_set_qdata (TpHandleRepoIface *repo, TpHandle handle, GQuark key_id, gpointer data, GDestroyNotify destroy); gpointer tp_handle_get_qdata (TpHandleRepoIface *repo, TpHandle handle, |