Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.46 KB

modetransition.h

File metadata and controls

39 lines (34 loc) · 1.46 KB
 
Dec 16, 2010
Dec 16, 2010
1
2
3
4
5
/**
* @file modetransition.h
* Headers for the mode transition component of the Mode Control Entity
* <p>
* Copyright © 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
May 17, 2019
May 17, 2019
6
* Copyright (C) 2018-2019 Jolla Ltd.
Dec 16, 2010
Dec 16, 2010
7
8
* <p>
* @author David Weinehall <david.weinehall@nokia.com>
May 17, 2019
May 17, 2019
9
* @author Simo Piiroinen <simo.piiroinen@jollamobile.com>
Dec 16, 2010
Dec 16, 2010
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with mce. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _MODETRANSITION_H_
#define _MODETRANSITION_H_
#include <glib.h>
/** Path to the boot detection file */
Sep 18, 2018
Sep 18, 2018
29
#define MCE_BOOTUP_FILENAME G_STRINGIFY(MCE_RUN_DIR) "/boot"
Dec 16, 2010
Dec 16, 2010
30
Sep 18, 2018
Sep 18, 2018
31
32
33
#define SPLASH_DELAY 500 /**< 0.5 seconds */
#define ACTDEAD_DELAY 1500 /**< 1.5 seconds */
#define POWERUP_DELAY 3500 /**< 3.5 seconds */
Dec 16, 2010
Dec 16, 2010
34
35
36
37
38
39
/* When MCE is made modular, this will be handled differently */
gboolean mce_mode_init(void);
void mce_mode_exit(void);
#endif /* _MODETRANSITION_H_ */