Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.1 KB

mce-common.h

File metadata and controls

34 lines (29 loc) · 1.1 KB
 
1
2
3
4
/**
* @file mce-common.h
* Header for common state logic for Mode Control Entity
* <p>
Mar 15, 2019
Mar 15, 2019
5
* Copyright (C) 2017-2019 Jolla Ltd.
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
* <p>
* @author Simo Piiroinen <simo.piiroinen@jollamobile.com>
*
* 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 MCE_COMMON_H_
# define MCE_COMMON_H_
# include <stdbool.h>
Mar 15, 2019
Mar 15, 2019
26
# include <glib.h>
27
28
29
30
bool mce_common_init(void);
void mce_common_quit(void);
Mar 15, 2019
Mar 15, 2019
31
32
33
void common_on_proximity_schedule(const char *srce, GDestroyNotify func, gpointer aptr);
void common_on_proximity_cancel (const char *srce, GDestroyNotify func, gpointer aptr);
34
#endif /* MCE_COMMON_H_ */