summaryrefslogtreecommitdiff
path: root/src/ui/contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/contacts.h')
-rw-r--r--src/ui/contacts.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/contacts.h b/src/ui/contacts.h
index 6bb3475..f63b554 100644
--- a/src/ui/contacts.h
+++ b/src/ui/contacts.h
@@ -39,10 +39,23 @@ typedef struct UI_CONTACTS_Handle
GtkButton *close_button;
} UI_CONTACTS_Handle;
+/**
+ * Initializes a handle for the contacts dialog
+ * of a given messenger application.
+ *
+ * @param app Messenger application
+ * @param handle Contacts dialog handle
+ */
void
ui_contacts_dialog_init(MESSENGER_Application *app,
UI_CONTACTS_Handle *handle);
+/**
+ * Cleans up the allocated resources and resets the
+ * state of a given contacts dialog handle.
+ *
+ * @param handle Contacts dialog handle
+ */
void
ui_contacts_dialog_cleanup(UI_CONTACTS_Handle *handle);