satengine/SatServer/Commands/SendUSSDCmd/inc/CSendUssdHandler.h
changeset 52 d841fb1cc818
parent 0 ff3b6d0fd310
equal deleted inserted replaced
50:2313cb430f28 52:d841fb1cc818
     1 /*
     1 /*
     2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   138         TDes& aReceiveMessage,
   138         TDes& aReceiveMessage,
   139         TBool& aSendCompletedFirst,
   139         TBool& aSendCompletedFirst,
   140         TUint8& aReceivedDcs );
   140         TUint8& aReceivedDcs );
   141 
   141 
   142     /**
   142     /**
       
   143      * Show the ussd response note.
       
   144      *
       
   145      * @param aText The USSD response string to be shown.
       
   146      */
       
   147      void ShowUssdResponseNoteL( const TDesC& aText );
       
   148 
       
   149     /**
   143      * Handles the result of Ussd sending
   150      * Handles the result of Ussd sending
   144      *
   151      *
   145      * @param aError Result of Ussd sending
   152      * @param aError Result of Ussd sending
   146      */
   153      */
   147     void HandleSendUssdResult( TInt aError );
   154     void HandleSendUssdResult( TInt aError );
   159      *
   166      *
   160      */
   167      */
   161     void SendTerminalResponse();
   168     void SendTerminalResponse();
   162 
   169 
   163     /**
   170     /**
   164      * Check validity of a given Data Coding Cheme (Dcs).
       
   165      *
       
   166      * @param aDcs Data Coding Cheme to be validated.
       
   167      * @return TBool indicating Dcs validity.
       
   168      */
       
   169     TBool DcsValid( const TUint8 aDcs ) const;
       
   170 
       
   171     /**
       
   172      * Checks is the command transparent or not
   171      * Checks is the command transparent or not
   173      *
   172      *
   174      */
   173      */
   175     TBool TransparentUssdSending();
   174     TBool TransparentUssdSending();
       
   175     
       
   176     /**
       
   177      * Check whether the ussd sending result is displayed
       
   178      * @return 1 indicating the result is displayed
       
   179      */
       
   180     TInt SatDisplayUssdResultL();
   176 
   181 
   177 private: // data
   182 private: // data
   178 
   183 
   179     /**
   184     /**
   180      * SendUssd command data.
   185      * SendUssd command data.
   280      * Flag to signal that command has icon data
   285      * Flag to signal that command has icon data
   281      * To be removed when icons are allowed in this command
   286      * To be removed when icons are allowed in this command
   282      */
   287      */
   283     TBool iIconCommand;
   288     TBool iIconCommand;
   284 
   289 
       
   290     /**
       
   291      * Indicates whether the result of sending USSD is displayed
       
   292      */
       
   293     TBool iIsSatDisplayUssdResult;
   285     };
   294     };
   286 
   295 
   287 #endif      // CSENDUSSDHANDLER_H
   296 #endif      // CSENDUSSDHANDLER_H
   288 
   297