summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-06-28 09:29:09 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-07-10 22:42:50 +0200
commit9a7da00d46a09a2ddb1e6bb685e3503044f8171f (patch)
tree2504bbfc67f41f3978cbddf48679d783d624f5de /src
parent93cc1a2ddd41f07e0c3b19ec1a6cc75fb719dabc (diff)
libqmi-glib,loc: string helper methods doc next to corresponding enum
Diffstat (limited to 'src')
-rw-r--r--src/libqmi-glib/qmi-enums-loc.h170
1 files changed, 79 insertions, 91 deletions
diff --git a/src/libqmi-glib/qmi-enums-loc.h b/src/libqmi-glib/qmi-enums-loc.h
index 1946c2f..64a2f93 100644
--- a/src/libqmi-glib/qmi-enums-loc.h
+++ b/src/libqmi-glib/qmi-enums-loc.h
@@ -56,6 +56,12 @@ typedef enum {
} QmiLocIntermediateReportState;
/**
+ * qmi_loc_intermediate_report_state_get_string:
+ *
+ * Since: 1.20
+ */
+
+/**
* QmiLocIndicationStatus:
* @QMI_LOC_INDICATION_STATUS_SUCCESS: Success.
* @QMI_LOC_INDICATION_STATUS_GENERAL_FAILURE: General Failure.
@@ -80,6 +86,12 @@ typedef enum {
} QmiLocIndicationStatus;
/**
+ * qmi_loc_indication_status_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocSessionStatus:
* @QMI_LOC_SESSION_STATUS_SUCCESS: Success
* @QMI_LOC_SESSION_STATUS_IN_PROGRESS: Operation in Progress.
@@ -106,6 +118,12 @@ typedef enum {
} QmiLocSessionStatus;
/**
+ * qmi_loc_session_status_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocFixRecurrenceType:
* @QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_PERIODIC_FIXES: Periodic fixes.
* @QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_SINGLE_FIX: Single fix.
@@ -116,10 +134,16 @@ typedef enum {
*/
typedef enum {
QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_PERIODIC_FIXES = 1,
- QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_SINGLE_FIX = 2,
+ QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_SINGLE_FIX = 2,
} QmiLocFixRecurrenceType;
/**
+ * qmi_loc_fix_recurrence_type_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocOperationMode:
* @QMI_LOC_OPERATION_MODE_DEFAULT: Default.
* @QMI_LOC_OPERATION_MODE_MSB: MSB (Mobile Station Based).
@@ -142,6 +166,12 @@ typedef enum {
} QmiLocOperationMode;
/**
+ * qmi_loc_operation_mode_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocEngineState:
* @QMI_LOC_ENGINE_STATE_ON: On.
* @QMI_LOC_ENGINE_STATE_OFF: Off.
@@ -156,6 +186,12 @@ typedef enum {
} QmiLocEngineState;
/**
+ * qmi_loc_engine_state_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocTechnologyUsed:
* @QMI_LOC_TECHNOLOGY_USED_SATELLITE: Satellite.
* @QMI_LOC_TECHNOLOGY_USED_CELLULAR: Cellular.
@@ -182,6 +218,12 @@ typedef enum {
} QmiLocTechnologyUsed;
/**
+ * qmi_loc_technology_used_build_string_from_mask
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocReliability:
* @QMI_LOC_RELIABILITY_NOT_SET: Not set.
* @QMI_LOC_RELIABILITY_VERY_LOW: Very low.
@@ -202,6 +244,12 @@ typedef enum {
} QmiLocReliability;
/**
+ * qmi_loc_reliability_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocTimeSource:
* @QMI_LOC_TIME_SOURCE_INVALID: Invalid.
* @QMI_LOC_TIME_SOURCE_NETWORK_TIME_TRANSFER: Time is set by the 1X system.
@@ -246,6 +294,12 @@ typedef enum {
} QmiLocTimeSource;
/**
+ * qmi_loc_time_source_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocSatelliteValidInformation:
* @QMI_LOC_SATELLITE_VALID_INFORMATION_SYSTEM: System,
* @QMI_LOC_SATELLITE_VALID_INFORMATION_GNSS_SATELLITE_ID: GNSS Satellite ID.
@@ -272,6 +326,12 @@ typedef enum {
} QmiLocSatelliteValidInformation;
/**
+ * qmi_loc_satellite_valid_information_build_string_from_mask
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocSystem:
* @QMI_LOC_SYSTEM_GPS: GPS.
* @QMI_LOC_SYSTEM_GALILEO: Galileo.
@@ -292,6 +352,12 @@ typedef enum {
} QmiLocSystem;
/**
+ * qmi_loc_system_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocHealthStatus:
* @QMI_LOC_HEALTH_STATUS_UNHEALTHY: Unhealthy.
* @QMI_LOC_HEALTH_STATUS_HEALTHY: Healthy.
@@ -306,6 +372,12 @@ typedef enum {
} QmiLocHealthStatus;
/**
+ * qmi_loc_health_status_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocNavigationData:
* @QMI_LOC_NAVIGATION_DATA_HAS_EPHEMERIS: Has ephemeris.
* @QMI_LOC_NAVIGATION_DATA_HAS_ALMANAC: Has almanac.
@@ -320,6 +392,12 @@ typedef enum {
} QmiLocNavigationData;
/**
+ * qmi_loc_navigation_data_get_string
+ *
+ * Since: 1.22
+ */
+
+/**
* QmiLocSatelliteStatus:
* @QMI_LOC_SATELLITE_STATUS_IDLE: Idle.
* @QMI_LOC_SATELLITE_STATUS_SEARCHING: Searching.
@@ -336,99 +414,9 @@ typedef enum {
} QmiLocSatelliteStatus;
/**
- * qmi_loc_intermediate_report_state_get_string:
- *
- * Since: 1.20
- */
-
-/**
- * qmi_loc_intermediate_report_state_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_fix_recurrence_type_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_operation_mode_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_altitude_assumed_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_engine_state_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_health_status_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_indication_status_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_navigation_data_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_reliability_get_string
- *
- * Since: 1.22
- */
-
-/**
* qmi_loc_satellite_status_get_string
*
* Since: 1.22
*/
-/**
- * qmi_loc_satellite_valid_information_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_session_status_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_system_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_technology_used_get_string
- *
- * Since: 1.22
- */
-
-/**
- * qmi_loc_time_source_get_string
- *
- * Since: 1.22
- */
-
#endif /* _LIBQMI_GLIB_QMI_ENUMS_LOC_H_ */