adaptationlayer/tsy/nokiatsy_dll/inc/cmmphonebookoperationread.h
changeset 5 8ccc39f9d787
parent 0 63b37f68c1ce
child 8 6295dc2169f3
equal deleted inserted replaced
4:510c70acdbf6 5:8ccc39f9d787
    57         * Two-phased constructor.
    57         * Two-phased constructor.
    58         * @return CMmPhoneBookOperationRead*: created object
    58         * @return CMmPhoneBookOperationRead*: created object
    59         */
    59         */
    60         static CMmPhoneBookOperationRead* NewL(
    60         static CMmPhoneBookOperationRead* NewL(
    61             CMmPhoneBookStoreMessHandler* aMmPhoneBookStoreMessHandler,
    61             CMmPhoneBookStoreMessHandler* aMmPhoneBookStoreMessHandler,
       
    62             CMmUiccMessHandler* aUiccMessHandler,
    62             const CMmDataPackage* aDataPackage );
    63             const CMmDataPackage* aDataPackage );
    63 
    64 
    64         /**
    65         /**
    65         * Destructor.
    66         * Destructor.
    66         */
    67         */
    78 
    79 
    79 
    80 
    80 
    81 
    81 virtual TInt UICCHandleData3gADNReadReq( TInt /*aFileID*/, TInt /*aFileSFI*/)
    82 virtual TInt UICCHandleData3gADNReadReq( TInt /*aFileID*/, TInt /*aFileSFI*/)
    82 {
    83 {
    83 	      TFLOGSTRING("TSY: CMmPhoneBookOperationInit::CreateReq - Return KErrNotSupported");
    84         TFLOGSTRING("TSY: CMmPhoneBookOperationInit::CreateReq - Return KErrNotSupported");
    84         return KErrNotSupported;
    85         return KErrNotSupported;
    85 }
    86 }
    86 
    87 
    87 
    88 
    88 virtual TInt HandleUICC3gADNRespL(const TInt /*aStatus*/, const TDes8& /*aFileData*/, const TInt /*aTransId*/)
    89 virtual TInt HandleUICC3gADNRespL(const TInt /*aStatus*/, const TDes8& /*aFileData*/, const TInt /*aTransId*/)
    89 {
    90 {
    90 	      TFLOGSTRING("TSY: CMmPhoneBookOperationInit::CreateReq - Return KErrNotSupported");
    91         TFLOGSTRING("TSY: CMmPhoneBookOperationInit::CreateReq - Return KErrNotSupported");
    91         return KErrNotSupported;
    92         return KErrNotSupported;
    92 }
    93 }
    93   private:
    94   private:
    94 
    95 
    95 
    96 
    96         /**
    97         /**
    97         * Class attributes are created in ConstructL.
    98         * Class attributes are created in ConstructL.
    98         */
    99         */
    99         void ConstructL();
   100         void ConstructL();
   100         
   101 
   101         // Transmit 
   102         // Transmit
   102 
   103 
   103         /**
   104         /**
   104         * Separates different IPC requests for each other.
   105         * Separates different IPC requests for each other.
   105         * @param TInt aIpc: Identify number of request.
   106         * @param TInt aIpc: Identify number of request.
   106         * @param const CMmDataPackage* aDataPackage: Packaged data.
   107         * @param const CMmDataPackage* aDataPackage: Packaged data.
   107         * @return TInt: KErrNone or error value.
   108         * @return TInt: KErrNone or error value.
   108         */
   109         */
   109         TInt UICCCreateReq( TInt aIpc, const CMmDataPackage* aDataPackage );
   110         TInt UICCCreateReq( TInt aIpc, const CMmDataPackage* aDataPackage, TUint8 aTransId );
   110 
   111 
   111         /**
   112         /**
   112         * Constructs an ISI-message to read entry from SIM
   113         * Constructs an ISI-message to read entry from SIM
   113         * @param
   114         * @param
   114         * @return TInt: KErrNone or error value.
   115         * @return TInt: KErrNone or error value.
   115         */
   116         */
   116         TInt USimPbReqRead( TInt aRecordNo );
   117         TInt USimPbReqRead( TInt aRecordNo, TUint8 aTransId );
   117         
   118 
   118         /**
   119         /**
   119         * Constructs Data to read entry from USIM ADN Phonebook
   120         * Constructs Data to read entry from USIM ADN Phonebook
   120         * @param
   121         * @param
   121         * @return TInt: KErrNone or error value.
   122         * @return TInt: KErrNone or error value.
   122         */
   123         */
   123         TInt UICCHandleDataADNReadReq( TUiccReadLinearFixed& aParams, TUint16 aFileID, TUint8 aFileSFI );
   124         TInt UICCHandleDataADNReadReq( TUiccReadLinearFixed& aParams, TUint16 aFileID, TUint8 aFileSFI );
   124         
   125 
   125         
   126 
   126         // Receive
   127         // Receive
   127 
   128 
   128         /**
   129         /**
   129         * Handles SimPbResp ISI -message
   130         * Handles SimPbResp ISI -message
   130         * @param  TIsiReceiveC& aIsiMessage
   131         * @param  TIsiReceiveC& aIsiMessage
   131         * @param TBool& aComplete: Indicates if request can remove from
   132         * @param TBool& aComplete: Indicates if request can remove from
   132         *        operationlist or not.
   133         *        operationlist or not.
   133         * @return TInt: KErrNone or error value.
   134         * @return TInt: KErrNone or error value.
   134         */
   135         */
   135         TInt HandleUICCPbRespL(
   136         TBool HandleUICCPbRespL(
   136                 TBool &aComplete,
       
   137                 TInt aStatus,
   137                 TInt aStatus,
       
   138                 TUint8 aDetails,
   138                 const TDesC8 &aFileData,
   139                 const TDesC8 &aFileData,
   139                 TInt aTransId);
   140                 TInt aTransId);
   140 
   141 
   141         
   142 
   142         
   143 
   143         /**
   144         /**
   144         * Handles SimPbResp ISI -message
   145         * Handles SimPbResp ISI -message
   145         * @param  TInt aTagValue
   146         * @param  TInt aTagValue
   146         * @param  TDes8& aFileData
   147         * @param  TDes8& aFileData
   147         * @return TInt: KErrNone or error value.
   148         * @return TInt: KErrNone or error value.
   148         */
   149         */
   149         TInt UICCHandleDataADNReadResp( const TDesC8& aFileData);
   150         TInt UICCHandleDataADNReadResp( const TDesC8& aFileData);
   150         
   151 
   151 
   152 
   152     public: // Data
   153     public: // Data
   153         // None
   154         // None
   154 
   155 
   155     protected: // Data
   156     protected: // Data
   158 
   159 
   159         // Attribute to hold the information how many entries written into
   160         // Attribute to hold the information how many entries written into
   160         // array
   161         // array
   161         TInt iNumOfEntriesFilled;
   162         TInt iNumOfEntriesFilled;
   162 
   163 
       
   164         // To Store the information about first valid Entry Search
       
   165         TBool iLocationSearch;
       
   166 
   163     private: // Data
   167     private: // Data
   164         // None
       
   165 
   168 
   166         // Attribute to check if Extension read is going on 
   169         // Attribute to check what kind of read is ongoing
       
   170         TTypeOfFileToBeRead iTypeOfReading ;
       
   171 
   167         TBool iExtensionRead ;
   172         TBool iExtensionRead ;
   168         
   173         
   169         // Attribute to store the service type requested 
   174         // Attribute to Store Entry
   170         TInt iServiceType;
   175         TPBEntry* iStoreEntry;
   171         
   176         
   172         // Attribute to store no of records for all EF
   177         // Saved IPC for complete
   173         
   178         TInt iSavedIPCForComplete;
   174         TInt iNumOfPhoneBookRecords;
       
   175 
   179 
   176 
   180 
   177 
   181 
   178 };
   182 };
   179 
   183