aboutsummaryrefslogtreecommitdiff
path: root/src/ui/picker.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-04-23 19:13:29 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-04-23 19:13:29 +0200
commit8f53a6e879f360e80941cb6e9d502d7522bbeeba (patch)
tree272195e4de223342ed88a69cc20137f9b0440da2 /src/ui/picker.h
parentfc56c6148f22d363a27c7a39d8d97a2d4d908a92 (diff)
downloadmessenger-gtk-8f53a6e879f360e80941cb6e9d502d7522bbeeba.tar.gz
messenger-gtk-8f53a6e879f360e80941cb6e9d502d7522bbeeba.zip
Added doxygen comments to all functions in the headers
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/ui/picker.h')
-rw-r--r--src/ui/picker.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/ui/picker.h b/src/ui/picker.h
index 3313956..9c21bc9 100644
--- a/src/ui/picker.h
+++ b/src/ui/picker.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
@@ -57,10 +57,25 @@ typedef struct UI_PICKER_Handle
57 GtkButton *settings_button; 57 GtkButton *settings_button;
58} UI_PICKER_Handle; 58} UI_PICKER_Handle;
59 59
60/**
61 * Allocates and creates a new picker handle to
62 * manage emoji selection in a chat for a given
63 * messenger application.
64 *
65 * @param app Messenger application
66 * @param chat Chat handle
67 * @return New picker handle
68 */
60UI_PICKER_Handle* 69UI_PICKER_Handle*
61ui_picker_new(MESSENGER_Application *app, 70ui_picker_new(MESSENGER_Application *app,
62 UI_CHAT_Handle *chat); 71 UI_CHAT_Handle *chat);
63 72
73/**
74 * Frees its resources and destroys a given picker
75 * handle.
76 *
77 * @param handle Picker handle
78 */
64void 79void
65ui_picker_delete(UI_PICKER_Handle *handle); 80ui_picker_delete(UI_PICKER_Handle *handle);
66 81