aboutsummaryrefslogtreecommitdiff
path: root/src/ui/new_contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_contact.h')
-rw-r--r--src/ui/new_contact.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/new_contact.h b/src/ui/new_contact.h
index 173b674..7a7ff96 100644
--- a/src/ui/new_contact.h
+++ b/src/ui/new_contact.h
@@ -56,10 +56,23 @@ typedef struct UI_NEW_CONTACT_Handle
56 guint idle_processing; 56 guint idle_processing;
57} UI_NEW_CONTACT_Handle; 57} UI_NEW_CONTACT_Handle;
58 58
59/**
60 * Initializes a handle for the new contact dialog
61 * of a given messenger application.
62 *
63 * @param app Messenger application
64 * @param handle New contact dialog handle
65 */
59void 66void
60ui_new_contact_dialog_init(MESSENGER_Application *app, 67ui_new_contact_dialog_init(MESSENGER_Application *app,
61 UI_NEW_CONTACT_Handle *handle); 68 UI_NEW_CONTACT_Handle *handle);
62 69
70/**
71 * Cleans up the allocated resources and resets the
72 * state of a given new contact dialog handle.
73 *
74 * @param handle New contact dialog handle
75 */
63void 76void
64ui_new_contact_dialog_cleanup(UI_NEW_CONTACT_Handle *handle); 77ui_new_contact_dialog_cleanup(UI_NEW_CONTACT_Handle *handle);
65 78