
Using an intermediate constant variable breaks compilation with C compilers, as these variables cannot be used as initializers. Instead, define a deprecated type and cast all deprecated symbols to that type. We lose the information about what the new replacement symbol is, but we don't break compilation. E.g.: test.c: In function ‘main’: test.c:8:5: warning: ‘MMModemBandDeprecated’ is deprecated [-Wdeprecated-declarations] printf ("band: %d\n", MM_MODEM_BAND_U2100); ^~~~~~
112 lines
2.3 KiB
Plaintext
112 lines
2.3 KiB
Plaintext
<SECTION>
|
|
<FILE>mm-version</FILE>
|
|
<TITLE>Version checks</TITLE>
|
|
MM_MAJOR_VERSION
|
|
MM_MINOR_VERSION
|
|
MM_MICRO_VERSION
|
|
MM_CHECK_VERSION
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>mm-enums</FILE>
|
|
<TITLE>Flags and Enumerations</TITLE>
|
|
MMBearerIpFamily
|
|
MMBearerIpMethod
|
|
MMBearerAllowedAuth
|
|
MMCallDirection
|
|
MMCallState
|
|
MMCallStateReason
|
|
MMFirmwareImageType
|
|
MMModem3gppFacility
|
|
MMModem3gppNetworkAvailability
|
|
MMModem3gppSubscriptionState
|
|
MMModem3gppRegistrationState
|
|
MMModem3gppUssdSessionState
|
|
MMModemAccessTechnology
|
|
MMModemBand
|
|
MMModemCapability
|
|
MMModemCdmaActivationState
|
|
MMModemCdmaRegistrationState
|
|
MMModemCdmaRmProtocol
|
|
MMModemContactsStorage
|
|
MMModemLocationSource
|
|
MMModemLock
|
|
MMModemMode
|
|
MMModemState
|
|
MMModemStateFailedReason
|
|
MMModemStateChangeReason
|
|
MMModemPowerState
|
|
MMModemPortType
|
|
MMOmaFeature
|
|
MMOmaSessionState
|
|
MMOmaSessionStateFailedReason
|
|
MMOmaSessionType
|
|
MMSmsPduType
|
|
MMSmsState
|
|
MMSmsDeliveryState
|
|
MMSmsStorage
|
|
MMSmsValidityType
|
|
MMSmsCdmaTeleserviceId
|
|
MMSmsCdmaServiceCategory
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>mm-errors</FILE>
|
|
<TITLE>Errors</TITLE>
|
|
MMConnectionError
|
|
MMCoreError
|
|
MMMessageError
|
|
MMMobileEquipmentError
|
|
MMSerialError
|
|
MMCdmaActivationError
|
|
<SUBSECTION Private>
|
|
MM_CDMA_ACTIVATION_ERROR_DBUS_PREFIX
|
|
MM_CONNECTION_ERROR_DBUS_PREFIX
|
|
MM_CORE_ERROR_DBUS_PREFIX
|
|
MM_MESSAGE_ERROR_DBUS_PREFIX
|
|
MM_MOBILE_EQUIPMENT_ERROR_DBUS_PREFIX
|
|
MM_SERIAL_ERROR_DBUS_PREFIX
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>mm-compat</FILE>
|
|
MM_MODEM_BAND_EUTRAN_I
|
|
MM_MODEM_BAND_EUTRAN_II
|
|
MM_MODEM_BAND_EUTRAN_III
|
|
MM_MODEM_BAND_EUTRAN_IV
|
|
MM_MODEM_BAND_EUTRAN_V
|
|
MM_MODEM_BAND_EUTRAN_VI
|
|
MM_MODEM_BAND_EUTRAN_VII
|
|
MM_MODEM_BAND_EUTRAN_VIII
|
|
MM_MODEM_BAND_EUTRAN_IX
|
|
MM_MODEM_BAND_EUTRAN_X
|
|
MM_MODEM_BAND_EUTRAN_XI
|
|
MM_MODEM_BAND_EUTRAN_XII
|
|
MM_MODEM_BAND_EUTRAN_XIII
|
|
MM_MODEM_BAND_EUTRAN_XIV
|
|
MM_MODEM_BAND_EUTRAN_XVII
|
|
MM_MODEM_BAND_EUTRAN_XVIII
|
|
MM_MODEM_BAND_EUTRAN_XIX
|
|
MM_MODEM_BAND_EUTRAN_XX
|
|
MM_MODEM_BAND_EUTRAN_XXI
|
|
MM_MODEM_BAND_EUTRAN_XXII
|
|
MM_MODEM_BAND_EUTRAN_XXIII
|
|
MM_MODEM_BAND_EUTRAN_XXIV
|
|
MM_MODEM_BAND_EUTRAN_XXV
|
|
MM_MODEM_BAND_EUTRAN_XXVI
|
|
MM_MODEM_BAND_EUTRAN_XXXIII
|
|
MM_MODEM_BAND_EUTRAN_XXXIV
|
|
MM_MODEM_BAND_EUTRAN_XXXV
|
|
MM_MODEM_BAND_EUTRAN_XXXVI
|
|
MM_MODEM_BAND_EUTRAN_XXXVII
|
|
MM_MODEM_BAND_EUTRAN_XXXVIII
|
|
MM_MODEM_BAND_EUTRAN_XXXIX
|
|
MM_MODEM_BAND_EUTRAN_XL
|
|
MM_MODEM_BAND_EUTRAN_XLI
|
|
MM_MODEM_BAND_EUTRAN_XLII
|
|
MM_MODEM_BAND_EUTRAN_XLIII
|
|
MM_MODEM_BAND_EUTRAN_XLIV
|
|
<SUBSECTION Private>
|
|
MMModemBandDeprecated
|
|
</SECTION>
|