diff options
author | Senko Rasic <senko.rasic@collabora.co.uk> | 2007-08-29 11:02:07 +0000 |
---|---|---|
committer | Senko Rasic <senko.rasic@collabora.co.uk> | 2007-08-29 11:02:07 +0000 |
commit | c3b08e0f0adac295d60b99e3d127406fbac4905d (patch) | |
tree | f26a727f0d961921acbd2b12345c10ae09645315 /src/vcard-manager.h | |
parent | 4a2e57e01ec31e4bf094758e4432abb44503e442 (diff) |
use the new vcard editing interface in conn-avatars
Diffstat (limited to 'src/vcard-manager.h')
-rw-r--r-- | src/vcard-manager.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/src/vcard-manager.h b/src/vcard-manager.h index 13c58d4a9..a1536726a 100644 --- a/src/vcard-manager.h +++ b/src/vcard-manager.h @@ -31,6 +31,7 @@ G_BEGIN_DECLS typedef struct _GabbleVCardManagerClass GabbleVCardManagerClass; typedef struct _GabbleVCardManagerRequest GabbleVCardManagerRequest; +typedef struct _GabbleVCardManagerEditRequest GabbleVCardManagerEditRequest; /** * GabbleVCardManagerError: @@ -95,14 +96,6 @@ GabbleVCardManagerRequest *gabble_vcard_manager_request (GabbleVCardManager *, GObject *object, GError **error); -GabbleVCardManagerRequest *gabble_vcard_manager_edit (GabbleVCardManager *, - guint timeout, - GabbleVCardManagerCb, - gpointer user_data, - GObject *object, - ...) - G_GNUC_NULL_TERMINATED; - void gabble_vcard_manager_cancel_request (GabbleVCardManager *manager, GabbleVCardManagerRequest *request); @@ -116,6 +109,23 @@ gboolean gabble_vcard_manager_get_cached (GabbleVCardManager *, LmMessageNode **); void gabble_vcard_manager_invalidate_cache (GabbleVCardManager *, TpHandle); +typedef void (*GabbleVCardManagerEditCb)(GabbleVCardManager *self, + GabbleVCardManagerEditRequest *request, + LmMessageNode *vcard, + GError *error, + gpointer user_data); + +GabbleVCardManagerEditRequest *gabble_vcard_manager_edit (GabbleVCardManager *, + guint timeout, + GabbleVCardManagerEditCb, + gpointer user_data, + GObject *object, + ...) + G_GNUC_NULL_TERMINATED; + + +void gabble_vcard_manager_remove_edit_request (GabbleVCardManagerEditRequest *); + G_END_DECLS #endif |