build: fix header dependencies

We shouldn't depend on any header file from the previous implementation.
This commit is contained in:
Aleksander Morgado
2012-02-20 16:36:09 +01:00
parent 4de848de39
commit 680e292914
11 changed files with 12 additions and 10 deletions

View File

@@ -24,9 +24,10 @@
#include <string.h> #include <string.h>
#include <gmodule.h> #include <gmodule.h>
#include <libmm-common.h>
#include "mm-plugin-cinterion.h" #include "mm-plugin-cinterion.h"
#include "mm-broadband-modem-cinterion.h" #include "mm-broadband-modem-cinterion.h"
#include "mm-errors-types.h"
#include "mm-log.h" #include "mm-log.h"
G_DEFINE_TYPE (MMPluginCinterion, mm_plugin_cinterion, MM_TYPE_PLUGIN_BASE) G_DEFINE_TYPE (MMPluginCinterion, mm_plugin_cinterion, MM_TYPE_PLUGIN_BASE)

View File

@@ -26,7 +26,7 @@
#include <gmodule.h> #include <gmodule.h>
#include <mm-errors-types.h> #include <libmm-common.h>
#include "mm-plugin-generic.h" #include "mm-plugin-generic.h"
#include "mm-broadband-modem.h" #include "mm-broadband-modem.h"

View File

@@ -17,7 +17,7 @@
#include <string.h> #include <string.h>
#include <gmodule.h> #include <gmodule.h>
#include <mm-errors-types.h> #include <libmm-common.h>
#include "mm-plugin-gobi.h" #include "mm-plugin-gobi.h"
#include "mm-broadband-modem-gobi.h" #include "mm-broadband-modem-gobi.h"

View File

@@ -27,9 +27,10 @@
#include <string.h> #include <string.h>
#include <gmodule.h> #include <gmodule.h>
#include <libmm-common.h>
#include "mm-plugin-iridium.h" #include "mm-plugin-iridium.h"
#include "mm-broadband-modem-iridium.h" #include "mm-broadband-modem-iridium.h"
#include "mm-errors-types.h"
#include "mm-private-boxed-types.h" #include "mm-private-boxed-types.h"
#include "mm-log.h" #include "mm-log.h"

View File

@@ -18,7 +18,7 @@
#include <string.h> #include <string.h>
#include <gmodule.h> #include <gmodule.h>
#include <mm-errors-types.h> #include <libmm-common.h>
#include "mm-private-boxed-types.h" #include "mm-private-boxed-types.h"
#include "mm-plugin-motorola.h" #include "mm-plugin-motorola.h"

View File

@@ -18,7 +18,7 @@
#include <string.h> #include <string.h>
#include <gmodule.h> #include <gmodule.h>
#include <mm-errors-types.h> #include <libmm-common.h>
#include "mm-plugin-nokia.h" #include "mm-plugin-nokia.h"
#include "mm-broadband-modem-nokia.h" #include "mm-broadband-modem-nokia.h"

View File

@@ -18,7 +18,7 @@
#include <string.h> #include <string.h>
#include <gmodule.h> #include <gmodule.h>
#include <mm-errors-types.h> #include <libmm-common.h>
#include "mm-private-boxed-types.h" #include "mm-private-boxed-types.h"
#include "mm-plugin-option.h" #include "mm-plugin-option.h"

View File

@@ -19,7 +19,6 @@
#define MM_PLUGIN_OPTION_H #define MM_PLUGIN_OPTION_H
#include "mm-plugin-base.h" #include "mm-plugin-base.h"
#include "mm-generic-gsm.h"
#define MM_TYPE_PLUGIN_OPTION (mm_plugin_option_get_type ()) #define MM_TYPE_PLUGIN_OPTION (mm_plugin_option_get_type ())
#define MM_PLUGIN_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PLUGIN_OPTION, MMPluginOption)) #define MM_PLUGIN_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PLUGIN_OPTION, MMPluginOption))

View File

@@ -23,10 +23,11 @@
#include <mm-gdbus-modem.h> #include <mm-gdbus-modem.h>
#include "mm-auth-request.h"
#include "mm-auth-provider.h"
#include "mm-port.h" #include "mm-port.h"
#include "mm-at-serial-port.h" #include "mm-at-serial-port.h"
#include "mm-qcdm-serial-port.h" #include "mm-qcdm-serial-port.h"
#include "mm-modem.h"
#define MM_TYPE_BASE_MODEM (mm_base_modem_get_type ()) #define MM_TYPE_BASE_MODEM (mm_base_modem_get_type ())
#define MM_BASE_MODEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_BASE_MODEM, MMBaseModem)) #define MM_BASE_MODEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_BASE_MODEM, MMBaseModem))

View File

@@ -19,7 +19,6 @@
#include <ModemManager.h> #include <ModemManager.h>
#include "mm-modem-cdma.h"
#include "mm-charsets.h" #include "mm-charsets.h"
#define MM_MODEM_CAPABILITY_3GPP_LTE \ #define MM_MODEM_CAPABILITY_3GPP_LTE \

View File

@@ -14,6 +14,7 @@
*/ */
#include <glib.h> #include <glib.h>
#include <glib-object.h>
#include <string.h> #include <string.h>
#include "mm-modem-helpers.h" #include "mm-modem-helpers.h"