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 : :
29 : : G_BEGIN_DECLS
30 : :
31 : : #define MCT_TYPE_TIME_PAGE (mct_time_page_get_type ())
32 [ # # # # : 0 : G_DECLARE_FINAL_TYPE (MctTimePage, mct_time_page, MCT, TIME_PAGE, AdwNavigationPage)
# # ]
33 : :
34 : : MctTimePage *mct_time_page_new (MctManager *policy_manager);
35 : :
36 : : MctUser *mct_time_page_get_user (MctTimePage *self);
37 : : void mct_time_page_set_user (MctTimePage *self, MctUser *user);
38 : :
39 : : G_END_DECLS
|