adaptationlayer/tsy/nokiatsy_dll/inc/cmmsecuritymesshandler.h
changeset 9 8486d82aef45
parent 5 8ccc39f9d787
equal deleted inserted replaced
8:6295dc2169f3 9:8486d82aef45
    58 *
    58 *
    59 *  @lib (unknown)
    59 *  @lib (unknown)
    60 *  @since 2.6
    60 *  @since 2.6
    61 */
    61 */
    62 class CMmSecurityMessHandler
    62 class CMmSecurityMessHandler
    63         : public CBase, 
    63         : public CBase,
    64           public MMmMessHandlerBase, 
    64           public MMmMessHandlerBase,
    65           public MMmMessageReceiver, 
    65           public MMmMessageReceiver,
    66           public MUiccOperationBase
    66           public MUiccOperationBase
    67     {
    67     {
    68 
    68 
    69     public:
    69     public:
    70         struct CNosBootState
    70         struct CNosBootState
   239         */
   239         */
   240         void MceModemStateInd( const TIsiReceiveC& aIsiMessage );
   240         void MceModemStateInd( const TIsiReceiveC& aIsiMessage );
   241 #endif /* INTERNAL_TESTING_OLD_IMPLEMENTATION_FOR_UICC_TESTING */
   241 #endif /* INTERNAL_TESTING_OLD_IMPLEMENTATION_FOR_UICC_TESTING */
   242 
   242 
   243         /**
   243         /**
   244         * Forms UICC_REQ ISI message
       
   245         * return Error code
       
   246         */
       
   247         TInt UiccReq() const;
       
   248 
       
   249         /**
       
   250         * Response to UICC_REQ
       
   251         * @param aIsiMessage Received ISI message
       
   252         * @return void
       
   253         */
       
   254         void UiccResp( const TIsiReceiveC& aIsiMessage );
       
   255 
       
   256         /**
       
   257         * Handles UICC_IND
       
   258         * @param aIsiMessage Received ISI message
       
   259         * @return void
       
   260         */
       
   261         void UiccInd( const TIsiReceiveC& aIsiMessage );
       
   262 
       
   263         /**
       
   264         * Handles UICC_CARD_IND
   244         * Handles UICC_CARD_IND
   265         * @param aIsiMessage Received ISI message
   245         * @param aIsiMessage Received ISI message
   266         * @return void
   246         * @return void
   267         */
   247         */
   268         void UiccCardInd( const TIsiReceiveC& aIsiMessage );
   248         void UiccCardInd( const TIsiReceiveC& aIsiMessage );
   441         * Handles EFest read response
   421         * Handles EFest read response
   442         * @param aStatus Status
   422         * @param aStatus Status
   443         * @return void
   423         * @return void
   444         */
   424         */
   445         void WriteEfEstResp( const TInt aStatus );
   425         void WriteEfEstResp( const TInt aStatus );
   446         
   426 
   447         /**
   427         /**
   448         * Handles INVALIDATE/REHABILITATE command response
   428         * Handles INVALIDATE/REHABILITATE command response
   449         * in case of ICC card
   429         * in case of ICC card
   450         * @param aStatus Status
   430         * @param aStatus Status
   451         * @param aFileData response from ICC card
   431         * @param aFileData response from ICC card
   485         */
   465         */
   486         void FdnGetReadEfAdnFileInfoResp(
   466         void FdnGetReadEfAdnFileInfoResp(
   487             TInt aStatus,
   467             TInt aStatus,
   488             const TDesC8& aFileData );
   468             const TDesC8& aFileData );
   489 
   469 
       
   470         /**
       
   471         * Sends pin verified event notification to upper level.
       
   472         * @param aStatus Status
       
   473         * @return void
       
   474         */
       
   475         void CompleteIfCodeVerified( const TUint8 aStatus );
       
   476 
   490     protected:
   477     protected:
   491 
   478 
   492         /**
   479         /**
   493         * C++ default constructor.
   480         * C++ default constructor.
   494         */
   481         */
   495         CMmSecurityMessHandler();
   482         CMmSecurityMessHandler();
   496 
   483 
   497     private:    // Data
   484     private:    // Data
       
   485 
       
   486         //keep record of security code type when verify it
       
   487         RMobilePhone::TMobilePhoneSecurityCode iSecurityCode;
   498 
   488 
   499         //Pointer to the Message Router
   489         //Pointer to the Message Router
   500         CMmMessageRouter* iMessageRouter;
   490         CMmMessageRouter* iMessageRouter;
   501 
   491 
   502         //Pointer to the Net Message Handler
   492         //Pointer to the Net Message Handler
   543         // Flag indicating if lock state query is in case
   533         // Flag indicating if lock state query is in case
   544         TBool iLockStateQuery;
   534         TBool iLockStateQuery;
   545 
   535 
   546         // Security code type
   536         // Security code type
   547         RMobilePhone::TMobilePhoneSecurityCode iCodeType;
   537         RMobilePhone::TMobilePhoneSecurityCode iCodeType;
   548         
   538 
   549         // variable to store FDN state which is going
   539         // variable to store FDN state which is going
   550         // to be set
   540         // to be set
   551         RMobilePhone::TMobilePhoneFdnSetting iFdnSetting;
   541         RMobilePhone::TMobilePhoneFdnSetting iFdnSetting;
   552 
   542 
   553     };
   543     };