Line |
Branch |
Exec |
Source |
1 |
|
|
/* -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 |
|
|
/* |
3 |
|
|
* Copyright 2022 Purism SPC |
4 |
|
|
* Copyright 2022 Mohammed Sadiq <sadiq@sadiqpk.org> |
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 3 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 |
|
|
* Author(s): |
20 |
|
|
* Mohammed Sadiq <sadiq@sadiqpk.org> |
21 |
|
|
* |
22 |
|
|
* SPDX-License-Identifier: GPL-3.0-or-later |
23 |
|
|
*/ |
24 |
|
|
|
25 |
|
|
#pragma once |
26 |
|
|
|
27 |
|
|
#include <glib-object.h> |
28 |
|
|
|
29 |
|
|
#include "tz.h" |
30 |
|
|
|
31 |
|
|
G_BEGIN_DECLS |
32 |
|
|
|
33 |
|
|
#define CC_TYPE_TZ_ITEM (cc_tz_item_get_type ()) |
34 |
|
|
|
35 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcTzItem, cc_tz_item, CC, TZ_ITEM, GObject) |
36 |
|
|
|
37 |
|
|
CcTzItem *cc_tz_item_new (TzLocation *location); |
38 |
|
|
TzLocation *cc_tz_item_get_location (CcTzItem *self); |
39 |
|
|
|
40 |
|
|
G_END_DECLS |
41 |
|
|
|