diff options
Diffstat (limited to 'src/mm-modem-location.h')
-rw-r--r-- | src/mm-modem-location.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mm-modem-location.h b/src/mm-modem-location.h index dd622f18..7b8399f2 100644 --- a/src/mm-modem-location.h +++ b/src/mm-modem-location.h @@ -23,6 +23,10 @@ #define MM_IS_MODEM_LOCATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_MODEM_LOCATION)) #define MM_MODEM_LOCATION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_MODEM_LOCATION, MMModemLocation)) +#define MM_MODEM_LOCATION_DBUS_INTERFACE "org.freedesktop.ModemManager.Modem.Location" + +#define MM_MODEM_LOCATION_PROP_TYPE (dbus_g_type_get_map ("GHashTable", G_TYPE_UINT, G_TYPE_VALUE)) + #define MM_MODEM_LOCATION_CAPABILITIES "location-capabilities" #define MM_MODEM_LOCATION_ENABLED "location-enabled" #define MM_MODEM_LOCATION_SIGNALS_LOCATION "signals-location" @@ -32,8 +36,9 @@ typedef enum { MM_MODEM_LOCATION_CAPABILITY_UNKNOWN = 0x00000000, MM_MODEM_LOCATION_CAPABILITY_GPS_NMEA = 0x00000001, MM_MODEM_LOCATION_CAPABILITY_GSM_LAC_CI = 0x00000002, + MM_MODEM_LOCATION_CAPABILITY_GPS_RAW = 0x00000004, - MM_MODEM_LOCATION_CAPABILITY_LAST = MM_MODEM_LOCATION_CAPABILITY_GSM_LAC_CI + MM_MODEM_LOCATION_CAPABILITY_LAST = MM_MODEM_LOCATION_CAPABILITY_GPS_RAW } MMModemLocationCapabilities; typedef struct _MMModemLocation MMModemLocation; |