aboutsummaryrefslogtreecommitdiff
path: root/src/ui/invite_contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/invite_contact.h')
-rw-r--r--src/ui/invite_contact.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/invite_contact.h b/src/ui/invite_contact.h
index 3c3175a..2630c84 100644
--- a/src/ui/invite_contact.h
+++ b/src/ui/invite_contact.h
@@ -39,10 +39,23 @@ typedef struct UI_INVITE_CONTACT_Handle
39 GtkButton *close_button; 39 GtkButton *close_button;
40} UI_INVITE_CONTACT_Handle; 40} UI_INVITE_CONTACT_Handle;
41 41
42/**
43 * Initializes a handle for the invite contact dialog
44 * of a given messenger application.
45 *
46 * @param app Messenger application
47 * @param handle Invite contact dialog handle
48 */
42void 49void
43ui_invite_contact_dialog_init(MESSENGER_Application *app, 50ui_invite_contact_dialog_init(MESSENGER_Application *app,
44 UI_INVITE_CONTACT_Handle *handle); 51 UI_INVITE_CONTACT_Handle *handle);
45 52
53/**
54 * Cleans up the allocated resources and resets the
55 * state of a given invite contact dialog handle.
56 *
57 * @param handle Invite contact dialog handle
58 */
46void 59void
47ui_invite_contact_dialog_cleanup(UI_INVITE_CONTACT_Handle *handle); 60ui_invite_contact_dialog_cleanup(UI_INVITE_CONTACT_Handle *handle);
48 61