mce-common.h 1.1 KB
Newer Older
1 2 3 4
/**
 * @file mce-common.h
 * Header for common state logic for Mode Control Entity
 * <p>
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>
26
# include <glib.h>
27 28 29 30

bool mce_common_init(void);
void mce_common_quit(void);

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_ */