diff options
Diffstat (limited to 'src/ui/new_platform.h')
-rw-r--r-- | src/ui/new_platform.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/ui/new_platform.h b/src/ui/new_platform.h index e2ec288..be2d481 100644 --- a/src/ui/new_platform.h +++ b/src/ui/new_platform.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 |
@@ -41,10 +41,23 @@ typedef struct UI_NEW_PLATFORM_Handle | |||
41 | GtkButton *confirm_button; | 41 | GtkButton *confirm_button; |
42 | } UI_NEW_PLATFORM_Handle; | 42 | } UI_NEW_PLATFORM_Handle; |
43 | 43 | ||
44 | /** | ||
45 | * Initializes a handle for the new platform dialog | ||
46 | * of a given messenger application. | ||
47 | * | ||
48 | * @param app Messenger application | ||
49 | * @param handle New platform dialog handle | ||
50 | */ | ||
44 | void | 51 | void |
45 | ui_new_platform_dialog_init(MESSENGER_Application *app, | 52 | ui_new_platform_dialog_init(MESSENGER_Application *app, |
46 | UI_NEW_PLATFORM_Handle *handle); | 53 | UI_NEW_PLATFORM_Handle *handle); |
47 | 54 | ||
55 | /** | ||
56 | * Cleans up the allocated resources and resets the | ||
57 | * state of a given new platform dialog handle. | ||
58 | * | ||
59 | * @param handle New platform dialog handle | ||
60 | */ | ||
48 | void | 61 | void |
49 | ui_new_platform_dialog_cleanup(UI_NEW_PLATFORM_Handle *handle); | 62 | ui_new_platform_dialog_cleanup(UI_NEW_PLATFORM_Handle *handle); |
50 | 63 | ||