aboutsummaryrefslogtreecommitdiff
path: root/src/ui/new_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_platform.h')
-rw-r--r--src/ui/new_platform.h15
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 */
44void 51void
45ui_new_platform_dialog_init(MESSENGER_Application *app, 52ui_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 */
48void 61void
49ui_new_platform_dialog_cleanup(UI_NEW_PLATFORM_Handle *handle); 62ui_new_platform_dialog_cleanup(UI_NEW_PLATFORM_Handle *handle);
50 63