mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07: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
1 changed files with 10 additions and 1 deletions
|
@ -8,9 +8,18 @@
|
|||
|
||||
# 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 {
|
||||
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),
|
||||
} CallsEmergencyContactSource;
|
||||
|
||||
|
|
Loading…
Reference in a new issue