core,libmm-glib: include ony `libmm-common.h'
Don't include one by one all the headers from libmm-common, just include the global `libmm-common.h' which includes all the others.
This commit is contained in:
@@ -23,10 +23,13 @@
|
|||||||
#ifndef _LIBMM_GLIB_H_
|
#ifndef _LIBMM_GLIB_H_
|
||||||
#define _LIBMM_GLIB_H_
|
#define _LIBMM_GLIB_H_
|
||||||
|
|
||||||
|
/* ModemManager generic headers */
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
#include <mm-errors-types.h>
|
|
||||||
#include <mm-enums-types.h>
|
|
||||||
|
|
||||||
|
/* libmm-common specific headers */
|
||||||
|
#include <libmm-common.h>
|
||||||
|
|
||||||
|
/* libmm-glib headers */
|
||||||
#include <mm-manager.h>
|
#include <mm-manager.h>
|
||||||
#include <mm-object.h>
|
#include <mm-object.h>
|
||||||
|
|
||||||
|
@@ -23,9 +23,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
#include <libmm-common.h>
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-errors-types.h>
|
|
||||||
|
|
||||||
#include "mm-bearer-3gpp.h"
|
#include "mm-bearer-3gpp.h"
|
||||||
#include "mm-base-modem-at.h"
|
#include "mm-base-modem-at.h"
|
||||||
|
@@ -23,9 +23,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
#include <libmm-common.h>
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-errors-types.h>
|
|
||||||
|
|
||||||
#include "mm-bearer-list.h"
|
#include "mm-bearer-list.h"
|
||||||
#include "mm-utils.h"
|
#include "mm-utils.h"
|
||||||
|
@@ -23,10 +23,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
#include <libmm-common.h>
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-errors-types.h>
|
|
||||||
#include <mm-gdbus-bearer.h>
|
|
||||||
|
|
||||||
#include "mm-iface-modem.h"
|
#include "mm-iface-modem.h"
|
||||||
#include "mm-bearer.h"
|
#include "mm-bearer.h"
|
||||||
|
@@ -22,9 +22,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
#include <mm-errors-types.h>
|
#include <libmm-common.h>
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-common-helpers.h>
|
|
||||||
|
|
||||||
#include "mm-base-modem-at.h"
|
#include "mm-base-modem-at.h"
|
||||||
#include "mm-broadband-modem.h"
|
#include "mm-broadband-modem.h"
|
||||||
|
@@ -14,10 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
#include <libmm-common.h>
|
||||||
#include <mm-gdbus-modem.h>
|
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-errors-types.h>
|
|
||||||
|
|
||||||
#include "mm-iface-modem.h"
|
#include "mm-iface-modem.h"
|
||||||
#include "mm-iface-modem-3gpp.h"
|
#include "mm-iface-modem-3gpp.h"
|
||||||
|
@@ -15,11 +15,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
#include <libmm-common.h>
|
||||||
#include <mm-gdbus-modem.h>
|
|
||||||
#include <mm-gdbus-sim.h>
|
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-errors-types.h>
|
|
||||||
|
|
||||||
#include "mm-iface-modem.h"
|
#include "mm-iface-modem.h"
|
||||||
#include "mm-base-modem.h"
|
#include "mm-base-modem.h"
|
||||||
|
@@ -24,8 +24,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
#include <mm-errors-types.h>
|
#include <libmm-common.h>
|
||||||
#include <mm-enums-types.h>
|
|
||||||
|
|
||||||
#include "mm-modem-helpers.h"
|
#include "mm-modem-helpers.h"
|
||||||
#include "mm-log.h"
|
#include "mm-log.h"
|
||||||
|
@@ -23,11 +23,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
#include <libmm-common.h>
|
||||||
#include <mm-enums-types.h>
|
|
||||||
#include <mm-errors-types.h>
|
|
||||||
#include <mm-gdbus-sim.h>
|
|
||||||
#include <mm-marshal.h>
|
|
||||||
|
|
||||||
#include "mm-iface-modem.h"
|
#include "mm-iface-modem.h"
|
||||||
#include "mm-sim.h"
|
#include "mm-sim.h"
|
||||||
|
Reference in New Issue
Block a user