diff options
Diffstat (limited to 'src/ui/new_group.h')
-rw-r--r-- | src/ui/new_group.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/ui/new_group.h b/src/ui/new_group.h index 0b8dd44..dbf6797 100644 --- a/src/ui/new_group.h +++ b/src/ui/new_group.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2021 GNUnet e.V. | 3 | Copyright (C) 2021--2022 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -53,10 +53,23 @@ typedef struct UI_NEW_GROUP_Handle | |||
53 | GtkButton *confirm_button; | 53 | GtkButton *confirm_button; |
54 | } UI_NEW_GROUP_Handle; | 54 | } UI_NEW_GROUP_Handle; |
55 | 55 | ||
56 | /** | ||
57 | * Initializes a handle for the new group dialog | ||
58 | * of a given messenger application. | ||
59 | * | ||
60 | * @param app Messenger application | ||
61 | * @param handle New group dialog handle | ||
62 | */ | ||
56 | void | 63 | void |
57 | ui_new_group_dialog_init(MESSENGER_Application *app, | 64 | ui_new_group_dialog_init(MESSENGER_Application *app, |
58 | UI_NEW_GROUP_Handle *handle); | 65 | UI_NEW_GROUP_Handle *handle); |
59 | 66 | ||
67 | /** | ||
68 | * Cleans up the allocated resources and resets the | ||
69 | * state of a given new group dialog handle. | ||
70 | * | ||
71 | * @param handle New group dialog handle | ||
72 | */ | ||
60 | void | 73 | void |
61 | ui_new_group_dialog_cleanup(UI_NEW_GROUP_Handle *handle); | 74 | ui_new_group_dialog_cleanup(UI_NEW_GROUP_Handle *handle); |
62 | 75 | ||