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 : : * SPDX-License-Identifier: GPL-2.0-or-later
7 : : *
8 : : * This program is free software; you can redistribute it and/or modify
9 : : * it under the terms of the GNU General Public License as published by
10 : : * the Free Software Foundation; either version 2 of the License, or
11 : : * (at your option) any later version.
12 : : *
13 : : * This program is distributed in the hope that it will be useful,
14 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 : : * GNU General Public License for more details.
17 : : *
18 : : * You should have received a copy of the GNU General Public License
19 : : * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 : : *
21 : : * Authors:
22 : : * - Georges Basile Stavracas Neto <georges@endlessos.org>
23 : : * - Ondrej Holy <oholy@redhat.com>
24 : : */
25 : :
26 : : #pragma once
27 : :
28 : : #include <adwaita.h>
29 : : #include <act/act.h>
30 : :
31 : :
32 : : G_BEGIN_DECLS
33 : :
34 : : #define MCT_TYPE_USER_IMAGE (mct_user_image_get_type ())
35 [ # # # # : 0 : G_DECLARE_FINAL_TYPE (MctUserImage, mct_user_image, MCT, USER_IMAGE, AdwBin)
# # ]
36 : :
37 : : GtkWidget *mct_user_image_new (void);
38 : : void mct_user_image_set_user (MctUserImage *image,
39 : : ActUser *user);
40 : : void mct_user_image_set_size (MctUserImage *image,
41 : : int size);
42 : :
43 : : G_END_DECLS
|