summaryrefslogtreecommitdiff
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
guint idle_processing;
} UI_NEW_CONTACT_Handle;
+/**
+ * Initializes a handle for the new contact dialog
+ * of a given messenger application.
+ *
+ * @param app Messenger application
+ * @param handle New contact dialog handle
+ */
void
ui_new_contact_dialog_init(MESSENGER_Application *app,
UI_NEW_CONTACT_Handle *handle);
+/**
+ * Cleans up the allocated resources and resets the
+ * state of a given new contact dialog handle.
+ *
+ * @param handle New contact dialog handle
+ */
void
ui_new_contact_dialog_cleanup(UI_NEW_CONTACT_Handle *handle);