aboutsummaryrefslogtreecommitdiff
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
43 GtkButton *confirm_button; 43 GtkButton *confirm_button;
44} UI_NEW_ACCOUNT_Handle; 44} UI_NEW_ACCOUNT_Handle;
45 45
46/**
47 * Initializes a handle for the new account dialog
48 * of a given messenger application.
49 *
50 * @param app Messenger application
51 * @param handle New account dialog handle
52 */
46void 53void
47ui_new_account_dialog_init(MESSENGER_Application *app, 54ui_new_account_dialog_init(MESSENGER_Application *app,
48 UI_NEW_ACCOUNT_Handle *handle); 55 UI_NEW_ACCOUNT_Handle *handle);
49 56
57/**
58 * Cleans up the allocated resources and resets the
59 * state of a given new account dialog handle.
60 *
61 * @param handle New account dialog handle
62 */
50void 63void
51ui_new_account_dialog_cleanup(UI_NEW_ACCOUNT_Handle *handle); 64ui_new_account_dialog_cleanup(UI_NEW_ACCOUNT_Handle *handle);
52 65