Branch data Line data Source code
1 : : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2 : : *
3 : : * Copyright 2025 GNOME Foundation, Inc.
4 : : *
5 : : * SPDX-License-Identifier: GPL-2.0-or-later
6 : : *
7 : : * This program is free software; you can redistribute it and/or modify
8 : : * it under the terms of the GNU General Public License as published by
9 : : * the Free Software Foundation; either version 2 of the License, or
10 : : * (at your option) any later version.
11 : : *
12 : : * This program is distributed in the hope that it will be useful,
13 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 : : * GNU General Public License for more details.
16 : : *
17 : : * You should have received a copy of the GNU General Public License
18 : : * along with this program; if not, see <http://www.gnu.org/licenses/>.
19 : : *
20 : : * Authors:
21 : : * - Ignacy KuchciĆski <ignacykuchcinski@gnome.org>
22 : : */
23 : :
24 : : #pragma once
25 : :
26 : : #include <adwaita.h>
27 : : #include <libmalcontent/malcontent.h>
28 : : #include <polkit/polkit.h>
29 : :
30 : : G_BEGIN_DECLS
31 : :
32 : : #define MCT_TYPE_USER_PAGE (mct_user_page_get_type ())
33 [ # # # # : 0 : G_DECLARE_FINAL_TYPE (MctUserPage, mct_user_page, MCT, USER_PAGE, AdwNavigationPage)
# # ]
34 : :
35 : : MctUserPage *mct_user_page_new (void);
36 : :
37 : : MctUser *mct_user_page_get_user (MctUserPage *self);
38 : : void mct_user_page_set_user (MctUserPage *self, MctUser *user, GPermission *permission);
39 : :
40 : : G_END_DECLS
|