diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-04-23 19:13:29 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-04-23 19:13:29 +0200 |
commit | 8f53a6e879f360e80941cb6e9d502d7522bbeeba (patch) | |
tree | 272195e4de223342ed88a69cc20137f9b0440da2 /src/ui/picker.h | |
parent | fc56c6148f22d363a27c7a39d8d97a2d4d908a92 (diff) | |
download | messenger-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.h | 17 |
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 | */ | ||
60 | UI_PICKER_Handle* | 69 | UI_PICKER_Handle* |
61 | ui_picker_new(MESSENGER_Application *app, | 70 | ui_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 | */ | ||
64 | void | 79 | void |
65 | ui_picker_delete(UI_PICKER_Handle *handle); | 80 | ui_picker_delete(UI_PICKER_Handle *handle); |
66 | 81 | ||