summaryrefslogtreecommitdiff
path: root/src/ui/new_account.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_account.h')
-rw-r--r--src/ui/new_account.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/new_account.h b/src/ui/new_account.h
index 703f28d..917bf24 100644
--- a/src/ui/new_account.h
+++ b/src/ui/new_account.h
@@ -43,10 +43,23 @@ typedef struct UI_NEW_ACCOUNT_Handle
GtkButton *confirm_button;
} UI_NEW_ACCOUNT_Handle;
+/**
+ * Initializes a handle for the new account dialog
+ * of a given messenger application.
+ *
+ * @param app Messenger application
+ * @param handle New account dialog handle
+ */
void
ui_new_account_dialog_init(MESSENGER_Application *app,
UI_NEW_ACCOUNT_Handle *handle);
+/**
+ * Cleans up the allocated resources and resets the
+ * state of a given new account dialog handle.
+ *
+ * @param handle New account dialog handle
+ */
void
ui_new_account_dialog_cleanup(UI_NEW_ACCOUNT_Handle *handle);