Branch data Line data Source code
1 : : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
2 : : /*
3 : : * Copyright 2024 GNOME Foundation, Inc.
4 : : *
5 : : * This library is free software; you can redistribute it and/or
6 : : * modify it under the terms of the GNU Lesser General Public
7 : : * License as published by the Free Software Foundation; either
8 : : * version 2 of the License, or (at your option) any later version.
9 : : *
10 : : * This library is distributed in the hope that it will be useful,
11 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 : : * Lesser General Public License for more details.
14 : : *
15 : : * You should have received a copy of the GNU Lesser General
16 : : * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
17 : : *
18 : : * Authors:
19 : : * - Philip Withnall <pwithnall@gnome.org>
20 : : *
21 : : * SPDX-License-Identifier: GPL-3.0-or-later
22 : : */
23 : :
24 : : #pragma once
25 : :
26 : : #include <glib-object.h>
27 : : #include <gtk/gtk.h>
28 : :
29 : : G_BEGIN_DECLS
30 : :
31 : : #define CC_TYPE_DURATION_ROW (cc_duration_row_get_type())
32 [ # # # # : 0 : G_DECLARE_FINAL_TYPE (CcDurationRow, cc_duration_row, CC, DURATION_ROW, AdwActionRow)
# # ]
33 : :
34 : : CcDurationRow *cc_duration_row_new (void);
35 : :
36 : : guint cc_duration_row_get_duration (CcDurationRow *self);
37 : : void cc_duration_row_set_duration (CcDurationRow *self,
38 : : guint duration);
39 : :
40 : : guint cc_duration_row_get_minimum (CcDurationRow *self);
41 : : void cc_duration_row_set_minimum (CcDurationRow *self,
42 : : guint minimum);
43 : :
44 : : guint cc_duration_row_get_maximum (CcDurationRow *self);
45 : : void cc_duration_row_set_maximum (CcDurationRow *self,
46 : : guint maximum);
47 : :
48 : : G_END_DECLS
|