diff options
Diffstat (limited to 'panels/datetime/cc-tz-item.h')
-rw-r--r-- | panels/datetime/cc-tz-item.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/panels/datetime/cc-tz-item.h b/panels/datetime/cc-tz-item.h new file mode 100644 index 000000000..e4bc28369 --- /dev/null +++ b/panels/datetime/cc-tz-item.h @@ -0,0 +1,40 @@ +/* -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* + * Copyright 2022 Purism SPC + * Copyright 2022 Mohammed Sadiq <sadiq@sadiqpk.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Author(s): + * Mohammed Sadiq <sadiq@sadiqpk.org> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +#pragma once + +#include <glib-object.h> + +#include "tz.h" + +G_BEGIN_DECLS + +#define CC_TYPE_TZ_ITEM (cc_tz_item_get_type ()) + +G_DECLARE_FINAL_TYPE (CcTzItem, cc_tz_item, CC, TZ_ITEM, GObject) + +CcTzItem *cc_tz_item_new (TzLocation *location); +TzLocation *cc_tz_item_get_location (CcTzItem *self); + +G_END_DECLS |