diff options
Diffstat (limited to 'src/plugins/simtech/mm-shared-simtech.h')
-rw-r--r-- | src/plugins/simtech/mm-shared-simtech.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/plugins/simtech/mm-shared-simtech.h b/src/plugins/simtech/mm-shared-simtech.h index 13e0eee6..81e735a4 100644 --- a/src/plugins/simtech/mm-shared-simtech.h +++ b/src/plugins/simtech/mm-shared-simtech.h @@ -27,14 +27,10 @@ #include "mm-iface-modem-location.h" #include "mm-iface-modem-voice.h" -#define MM_TYPE_SHARED_SIMTECH (mm_shared_simtech_get_type ()) -#define MM_SHARED_SIMTECH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_SHARED_SIMTECH, MMSharedSimtech)) -#define MM_IS_SHARED_SIMTECH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_SHARED_SIMTECH)) -#define MM_SHARED_SIMTECH_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_SHARED_SIMTECH, MMSharedSimtech)) +#define MM_TYPE_SHARED_SIMTECH mm_shared_simtech_get_type () +G_DECLARE_INTERFACE (MMSharedSimtech, mm_shared_simtech, MM, SHARED_SIMTECH, MMIfaceModem) -typedef struct _MMSharedSimtech MMSharedSimtech; - -struct _MMSharedSimtech { +struct _MMSharedSimtechInterface { GTypeInterface g_iface; /* Peek location interface of the parent class of the object */ @@ -44,8 +40,6 @@ struct _MMSharedSimtech { MMIfaceModemVoiceInterface * (* peek_parent_voice_interface) (MMSharedSimtech *self); }; -GType mm_shared_simtech_get_type (void); - /*****************************************************************************/ /* Location interface */ |