Branch data Line data Source code
1 : : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2 : : *
3 : : * Copyright © 2022 Endless Mobile, Inc.
4 : : * Copyright © 2015 Red Hat, Inc.
5 : : *
6 : : * This program is free software; you can redistribute it and/or modify
7 : : * it under the terms of the GNU General Public License as published by
8 : : * the Free Software Foundation; either version 2 of the License, or
9 : : * (at your option) any later version.
10 : : *
11 : : * This program is distributed in the hope that it will be useful,
12 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 : : * GNU General Public License for more details.
15 : : *
16 : : * You should have received a copy of the GNU General Public License
17 : : * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 : : *
19 : : * Authors:
20 : : * - Georges Basile Stavracas Neto <georges@endlessos.org>
21 : : * - Ondrej Holy <oholy@redhat.com>
22 : : */
23 : :
24 : : #pragma once
25 : :
26 : : #include <adwaita.h>
27 : : #include <act/act.h>
28 : :
29 : :
30 : : G_BEGIN_DECLS
31 : :
32 : : #define MCT_TYPE_USER_IMAGE (mct_user_image_get_type ())
33 : 0 : G_DECLARE_FINAL_TYPE (MctUserImage, mct_user_image, MCT, USER_IMAGE, AdwBin)
34 : :
35 : : GtkWidget *mct_user_image_new (void);
36 : : void mct_user_image_set_user (MctUserImage *image,
37 : : ActUser *user);
38 : :
39 : : G_END_DECLS
|