phoneclientserver/phoneclient/Inc/UssdWrapper/Ussd_Ext/CPhCltUssdImp.h
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
    19 #ifndef CPHCLTUSSDIMP_H
    19 #ifndef CPHCLTUSSDIMP_H
    20 #define CPHCLTUSSDIMP_H
    20 #define CPHCLTUSSDIMP_H
    21 
    21 
    22 //  INCLUDES
    22 //  INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include "MPhCltUssdRequestHandler.h"
    24 #include "mphcltussdrequesthandler.h" 
    25 #include "MPhCltUssdNoteControllerCallBack.h"
    25 #include "mphcltussdnotecontrollercallback.h" 
    26 #include "rphcltussd.h"
    26 #include "rphcltussd.h"
    27 
    27 
    28 #include "RPhCltServer.h"
    28 #include "rphcltserver.h" 
    29 #include "CPhCltUssdInt.h"
    29 #include "cphcltussdint.h" 
    30 
    30 
    31 
    31 
    32 // FORWARD DECLARATIONS
    32 // FORWARD DECLARATIONS
    33 class CPhCltUssdRequestHandler;
    33 class CPhCltUssdRequestHandler;
    34 class CPhCltUssdNoteController;
    34 class CPhCltUssdNoteController;
   169         
   169         
   170 
   170 
   171         // Called when send completes.
   171         // Called when send completes.
   172         void HandleSendEventL( const TInt aError );
   172         void HandleSendEventL( const TInt aError );
   173 
   173 
   174         // Called when the user cancel the wait dialog.
   174         // Hidden when the user cancel the wait dialog.
   175         void GlobalWaitNoteDismissedL( TInt aButtonId );
   175         void GlobalWaitNoteHidden();
   176         
   176         
   177         
   177         
   178 
   178 
   179     private: // New functions
   179     private: // New functions
   180 
   180 
   186 
   186 
   187         // Encodes the message.
   187         // Encodes the message.
   188         void EncodeL( const TDesC& aSrc, TDes8& aDes );
   188         void EncodeL( const TDesC& aSrc, TDes8& aDes );
   189         
   189         
   190         // Finds CR character        
   190         // Finds CR character        
   191         void CPhCltUssdImp::FindFirstCarriageReturnL( 
   191         void FindFirstCarriageReturnL( 
   192         const TDesC& aBuffer ,
   192         const TDesC& aBuffer ,
   193         TUint& aSkipChars , 
   193         TUint& aSkipChars , 
   194         TUint& aStartBit );
   194         TUint& aStartBit );
   195         
   195         
   196     private:    // Data
   196     private:    // Data
   199         CPhCltUssdRequestHandler* iRequestHandler;
   199         CPhCltUssdRequestHandler* iRequestHandler;
   200 
   200 
   201         // Wait scheduler used in this class. 
   201         // Wait scheduler used in this class. 
   202         CActiveSchedulerWait* iWait;
   202         CActiveSchedulerWait* iWait;
   203 
   203 
   204         // Pointer to sending error store place.
   204         // TInt to sending error store place.
   205         TInt* iSendError;
   205         TInt iSendError;
   206         
   206         
   207         // Data coding scheme value
   207         // Data coding scheme value
   208         TUint8 iDCS;
   208         TUint8 iDCS;
   209         
   209         
   210         // Data coding scheme value for ussd sending
   210         // Data coding scheme value for ussd sending