X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFTelTypes.h;h=d99ad7fda1ebe46d2ad764eb5d739126288a291e;hb=a0ad744cfe94317ec4df3558f2a3eb53fee7e469;hp=5ccf83611ef6b4cd8014bc276d523c64ee6a3312;hpb=8f16c22094926d675a255a96ae8edcc12eb0079a;p=platform%2Fframework%2Fnative%2Ftelephony.git diff --git a/inc/FTelTypes.h b/inc/FTelTypes.h old mode 100644 new mode 100755 index 5ccf836..d99ad7f --- a/inc/FTelTypes.h +++ b/inc/FTelTypes.h @@ -16,9 +16,9 @@ // /** * @file FTelTypes.h - * @brief This is the header file for the enumerations of the Tizen::Telephony namespace. + * @brief This is the header file for the enumerations of the Telephony namespace. * - * This header file contains the definitions of the enumerations of the Tizen::Telephony namespace. + * This header file contains the definitions of the enumerations of the Telephony namespace. */ #ifndef _FTEL_ENUM_H_ #define _FTEL_ENUM_H_ @@ -57,5 +57,40 @@ enum CallStatus CALL_STATUS_HOLDING /**< A call on holding status */ }; +/** + * @enum SimType + * + * Defines the type of the SIM card. + * + * @since 2.1 + */ +enum SimType +{ + SIM_TYPE_UNKNOWN, /**< Unknown card */ + SIM_TYPE_GSM, /**< GSM SIM card */ + SIM_TYPE_USIM, /**< Universal SIM card */ + SIM_TYPE_RUIM, /**< Removable UIM (User Identity Module) */ + SIM_TYPE_ISIM /**< IMS SIM card */ +}; + +/** + * @enum SimState + * + * Defines the current state of the SIM card. + * + * @since 2.1 + */ +enum SimState +{ + SIM_STATE_UNKNOWN, /**< Unknown state */ + SIM_STATE_ABSENT, /**< SIM is not present */ + SIM_STATE_INITIALIZING, /**< SIM is in initializing state */ + SIM_STATE_READY, /**< SIM is in ready state */ + SIM_STATE_PIN_REQUIRED, /**< PIN required */ + SIM_STATE_PUK_REQUIRED, /**< PUK required */ + SIM_STATE_NETWORK_LOCKED, /**< Network locked state */ + SIM_STATE_SIM_LOCKED /**< PH-SIM (phone-SIM) locked state */ +}; + }} // Tizen::Telephony #endif // _FTEL_ENUM_H_