diff -r fa67e03b87df -r 6295dc2169f3 adaptationlayer/tsy/nokiatsy_dll/inc/cmmphonemesshandler.h --- a/adaptationlayer/tsy/nokiatsy_dll/inc/cmmphonemesshandler.h Wed Feb 17 13:58:55 2010 +0200 +++ b/adaptationlayer/tsy/nokiatsy_dll/inc/cmmphonemesshandler.h Wed Apr 21 14:29:55 2010 +0300 @@ -227,11 +227,18 @@ /** * Class attributes are created in ConstructL - * @param CMmMessageRouter* aMessageRouter: pointer to message - * router object - * @return void : None + * @param aMessageRouter Pointer to message router object + * @param aPhoNetSender Pointer to phonet sender object + * @param aSupplServMessHandler Pointer to supplementaty services + * message handler object + * @param aUiccMessHandler Pointer to uicc message handler object + * @return void None */ - void ConstructL( CMmMessageRouter* aMessageRouter ); + void ConstructL( + CMmMessageRouter* aMessageRouter, + CMmPhoNetSender* aPhoNetSender, + CMmSupplServMessHandler* aSupplServMessHandler, + CMmUiccMessHandler* aUiccMessHandler ); /** * Read request for EFest @@ -241,24 +248,24 @@ /** * Handles response for EFest reading in case of getting - * ACL status + * ACL status * @param aStatus status of the operation * @param aFileData content of the EFest * @return none */ - void UiccGetAclStatusReadEfEstResp( - TInt aStatus, + void UiccGetAclStatusReadEfEstResp( + TInt aStatus, const TDesC8& aFileData ); /** * Handles response for EFest reading in case of setting - * ACL status + * ACL status * @param aStatus status of the operation * @param aFileData content of the EFest * @return none */ - void UiccSetAclStatusReadEfEstResp( - TInt aStatus, + void UiccSetAclStatusReadEfEstResp( + TInt aStatus, const TDesC8& aFileData ); /** @@ -270,7 +277,7 @@ /** * Handles response for EFest writing in case of setting - * ACL status + * ACL status * @param aStatus status of the operation * @return none */ @@ -284,13 +291,13 @@ TInt UiccReadAclReq(); /** - * Handles response for EFacl reading + * Handles response for EFacl reading * @param aStatus status of the operation * @param aFileData content of the EFacl * @return none */ void UiccReadAclResp( - TInt aStatus, + TInt aStatus, const TDesC8& aFileData ); /** @@ -345,6 +352,27 @@ */ TUint16 ACLLength( CDesC8ArrayFlat* aApnList ) const; + /** + * Set parameters for UICC_APPL_CMD_REQ message and call UICC message + * handler's function to create and send the message + * @param aTrId Transaction ID + * @param aServiceType Service type + * @param aDataAmount Amount of data to be read/write + * @param aDataOffset Offset where data reading/writing starts + * @param aFileId Elemantary file ID + * @param aFileIdSfi Elemantary file SFI + * @param aFileData File data in case of writing + * @return Error code + */ + TInt UiccApplCmdReq( + const TUiccTrId aTrId, + const TUint8 aServiceType, + const TUint16 aDataAmount, + const TUint16 aDataOffset, + const TUint16 aFileId, + const TUint8 aFileIdSfi, + const TDesC8& aFileData = KNullDesC8 ); + private: /**