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:
Aleksander Morgado
2011-12-19 18:20:12 +01:00
parent 6081919744
commit cadc27ca0e
9 changed files with 13 additions and 31 deletions

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"