aboutsummaryrefslogtreecommitdiff
path: root/src/ui/new_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_group.h')
-rw-r--r--src/ui/new_group.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/ui/new_group.h b/src/ui/new_group.h
new file mode 100644
index 0000000..634039e
--- /dev/null
+++ b/src/ui/new_group.h
@@ -0,0 +1,61 @@
1/*
2 This file is part of GNUnet.
3 Copyright (C) 2021 GNUnet e.V.
4
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
7 by the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 SPDX-License-Identifier: AGPL3.0-or-later
19 */
20/*
21 * @author Tobias Frisch
22 * @file ui/new_group.h
23 */
24
25#ifndef UI_NEW_GROUP_H_
26#define UI_NEW_GROUP_H_
27
28typedef struct UI_NEW_GROUP_Handle
29{
30 GList *contact_entries;
31
32 GtkBuilder *builder;
33 GtkDialog *dialog;
34
35 GtkStack *stack;
36 GtkWidget *details_box;
37 GtkWidget *contacts_box;
38
39 HdyAvatar *group_avatar;
40 GtkFileChooserButton *group_avatar_file;
41
42 GtkEntry *group_entry;
43
44 GtkSearchEntry *contact_search_entry;
45
46 GtkListBox *contacts_listbox;
47
48 GtkButton *cancel_button;
49 GtkButton *previous_button;
50 GtkButton *next_button;
51 GtkButton *confirm_button;
52} UI_NEW_GROUP_Handle;
53
54void
55ui_new_group_dialog_init(MESSENGER_Application *app,
56 UI_NEW_GROUP_Handle *handle);
57
58void
59ui_new_group_dialog_cleanup(UI_NEW_GROUP_Handle *handle);
60
61#endif /* UI_NEW_GROUP_H_ */