GCC Code Coverage Report


Directory: ./
File: panels/privacy/screen/cc-screen-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_SCREEN_PAGE (cc_screen_page_get_type ())
28 G_DECLARE_FINAL_TYPE (CcScreenPage, cc_screen_page, CC, SCREEN_PAGE, AdwNavigationPage)
29
30 typedef enum {
31 CC_SCREEN_PAGE_LOCK_AFTER_SCREEN_OFF = 0,
32 CC_SCREEN_PAGE_LOCK_AFTER_30_SEC = 30,
33 CC_SCREEN_PAGE_LOCK_AFTER_1_MIN = 60,
34 CC_SCREEN_PAGE_LOCK_AFTER_2_MIN = 120,
35 CC_SCREEN_PAGE_LOCK_AFTER_3_MIN = 180,
36 CC_SCREEN_PAGE_LOCK_AFTER_5_MIN = 300,
37 CC_SCREEN_PAGE_LOCK_AFTER_30_MIN = 1800,
38 CC_SCREEN_PAGE_LOCK_AFTER_1_HR = 3600,
39 } CcScreenPageLockAfter;
40
41 typedef enum {
42 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_1_MIN = 60,
43 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_2_MIN = 120,
44 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_3_MIN = 180,
45 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_4_MIN = 240,
46 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_5_MIN = 300,
47 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_8_MIN = 480,
48 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_10_MIN = 600,
49 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_12_MIN = 720,
50 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_15_MIN = 900,
51 CC_SCREEN_PAGE_BLANK_SCREEN_DELAY_NEVER = 0,
52 } CcScreenPageBlankScreenDelay;
53
54
55 G_END_DECLS
56