Branch data Line data Source code
1 : : // SPDX-License-Identifier: GPL-3.0-or-later
2 : : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
3 : :
4 : : #pragma once
5 : :
6 : : #include <gtk/gtk.h>
7 : : #include <valent.h>
8 : :
9 : : G_BEGIN_DECLS
10 : :
11 : : #define VALENT_TYPE_CONTACT_ROW (valent_contact_row_get_type())
12 : :
13 [ + - + - : 216 : G_DECLARE_FINAL_TYPE (ValentContactRow, valent_contact_row, VALENT, CONTACT_ROW, GtkListBoxRow)
- + ]
14 : :
15 : : void valent_list_add_contact (GtkListBox *list,
16 : : EContact *contact);
17 : :
18 : : void valent_contact_row_header_func (GtkListBoxRow *row,
19 : : GtkListBoxRow *before,
20 : : gpointer user_data);
21 : :
22 : : GtkWidget * valent_contact_row_new (EContact *contact);
23 : :
24 : : void valent_contact_row_set_compact (ValentContactRow *row,
25 : : gboolean compact);
26 : : EContact * valent_contact_row_get_contact (ValentContactRow *row);
27 : : void valent_contact_row_set_contact (ValentContactRow *row,
28 : : EContact *contact);
29 : : const char * valent_contact_row_get_contact_name (ValentContactRow *row);
30 : : void valent_contact_row_set_contact_name (ValentContactRow *row,
31 : : const char *name);
32 : : const char * valent_contact_row_get_contact_address (ValentContactRow *row);
33 : : void valent_contact_row_set_contact_address (ValentContactRow *row,
34 : : const char *address);
35 : :
36 : : G_END_DECLS
|