GCC Code Coverage Report


Directory: ./
File: panels/privacy/usage/cc-usage-page.h
Date: 2024-05-04 07:58:27
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 1 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2 *
3 * Copyright (C) 2018 Red Hat, Inc
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program 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
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 *
18 * Author: Matthias Clasen <mclasen@redhat.com>
19 */
20
21 #pragma once
22
23 #include <adwaita.h>
24
25 G_BEGIN_DECLS
26
27 #define CC_TYPE_USAGE_PAGE (cc_usage_page_get_type ())
28 G_DECLARE_FINAL_TYPE (CcUsagePage, cc_usage_page, CC, USAGE_PAGE, AdwNavigationPage)
29
30 typedef enum {
31 CC_USAGE_PAGE_PURGE_AFTER_1_HOUR = 0,
32 CC_USAGE_PAGE_PURGE_AFTER_1_DAY = 1,
33 CC_USAGE_PAGE_PURGE_AFTER_2_DAYS = 2,
34 CC_USAGE_PAGE_PURGE_AFTER_3_DAYS = 3,
35 CC_USAGE_PAGE_PURGE_AFTER_4_DAYS = 4,
36 CC_USAGE_PAGE_PURGE_AFTER_5_DAYS = 5,
37 CC_USAGE_PAGE_PURGE_AFTER_6_DAYS = 6,
38 CC_USAGE_PAGE_PURGE_AFTER_7_DAYS = 7,
39 CC_USAGE_PAGE_PURGE_AFTER_14_DAYS = 14,
40 CC_USAGE_PAGE_PURGE_AFTER_30_DAYS = 30,
41 } CcUsagePagePurgeAfter;
42
43 typedef enum {
44 CC_USAGE_PAGE_RETAIN_HISTORY_1_DAY = 1,
45 CC_USAGE_PAGE_RETAIN_HISTORY_7_DAYS = 7,
46 CC_USAGE_PAGE_RETAIN_HISTORY_30_DAYS = 30,
47 CC_USAGE_PAGE_RETAIN_HISTORY_FOREVER = -1,
48 } CcUsagePageRetainHistory;
49
50 G_END_DECLS
51