mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-06-08 12:59:36 +00:00
emergency-call-types: Add location source
We named it fallback but location is a better name as we get it from the current country code.
This commit is contained in:
parent
4951cf5b3b
commit
edb46acfa5
|
@ -8,9 +8,18 @@
|
||||||
|
|
||||||
# pragma once
|
# pragma once
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CallsEmergencyContactSource:
|
||||||
|
*
|
||||||
|
* Source of the emergency numbers:
|
||||||
|
*
|
||||||
|
* CALLS_EMERGENCY_CONTACT_SOURCE_UNKNOWN: No idea where it came from
|
||||||
|
* CALLS_EMERGENCY_CONTACT_SOURCE_LOCATION: Based on the devices current location
|
||||||
|
* CALLS_EMERGENCY_CONTACT_SOURCE_SIM: Based on information on the SIM card
|
||||||
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
CALLS_EMERGENCY_CONTACT_SOURCE_UNKNOWN = 0,
|
CALLS_EMERGENCY_CONTACT_SOURCE_UNKNOWN = 0,
|
||||||
CALLS_EMERGENCY_CONTACT_SOURCE_FALLBACK = (1 << 0),
|
CALLS_EMERGENCY_CONTACT_SOURCE_LOCATION = (1 << 0),
|
||||||
CALLS_EMERGENCY_CONTACT_SOURCE_SIM = (1 << 1),
|
CALLS_EMERGENCY_CONTACT_SOURCE_SIM = (1 << 1),
|
||||||
} CallsEmergencyContactSource;
|
} CallsEmergencyContactSource;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue