From 8f53a6e879f360e80941cb6e9d502d7522bbeeba Mon Sep 17 00:00:00 2001 From: TheJackiMonster Date: Sat, 23 Apr 2022 19:13:29 +0200 Subject: Added doxygen comments to all functions in the headers Signed-off-by: TheJackiMonster --- src/ui/accounts.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/ui/accounts.h') diff --git a/src/ui/accounts.h b/src/ui/accounts.h index a71e31e..9bfedff 100644 --- a/src/ui/accounts.h +++ b/src/ui/accounts.h @@ -39,14 +39,34 @@ typedef struct UI_ACCOUNTS_Handle GtkButton *close_button; } UI_ACCOUNTS_Handle; +/** + * Initializes a handle for the accounts dialog + * of a given messenger application. + * + * @param app Messenger application + * @param handle Accounts dialog handle + */ void ui_accounts_dialog_init(MESSENGER_Application *app, UI_ACCOUNTS_Handle *handle); +/** + * Refreshes a given accounts dialog handle with the + * current list of accounts from a messenger application. + * + * @param app Messenger application + * @param handle Accounts dialog handle + */ void ui_accounts_dialog_refresh(MESSENGER_Application *app, UI_ACCOUNTS_Handle *handle); +/** + * Cleans up the allocated resources and resets the + * state of a given accounts dialog handle. + * + * @param handle Accounts dialog handle + */ void ui_accounts_dialog_cleanup(UI_ACCOUNTS_Handle *handle); -- cgit v1.2.3