phoneapp/phoneuicontrol/inc/cphonestateincall.h
branchRCL_3
changeset 62 5266b1f337bd
parent 61 41a7f70b3818
equal deleted inserted replaced
61:41a7f70b3818 62:5266b1f337bd
     1 /*
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2005-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".
    84         * ConstructL()
    84         * ConstructL()
    85         */
    85         */
    86         IMPORT_C virtual void ConstructL();
    86         IMPORT_C virtual void ConstructL();
    87 
    87 
    88         /**
    88         /**
       
    89         * Open menu bar
       
    90         */
       
    91         IMPORT_C virtual void OpenMenuBarL();
       
    92 
       
    93         /**
       
    94         * Launch the New call phone number query
       
    95         */
       
    96         IMPORT_C void LaunchNewCallQueryL();
       
    97 
       
    98         /**
    89         * Call number fetched from New call dialog
    99         * Call number fetched from New call dialog
    90         * @param aFetchedNumber number fetched from the diaog
   100         * @param aFetchedNumber number fetched from the diaog
    91         */
   101         */
    92         IMPORT_C virtual void CallFetchedNumberL( 
   102         IMPORT_C virtual void CallFetchedNumberL( 
    93             const TDesC& aFetchedNumber );
   103             const TDesC& aFetchedNumber );
   132 
   142 
   133         /**
   143         /**
   134         * Close all dtmf dialogs
   144         * Close all dtmf dialogs
   135         */
   145         */
   136         IMPORT_C void CloseDtmfQueryL();
   146         IMPORT_C void CloseDtmfQueryL();
   137 
   147     
       
   148         /**
       
   149         * Creates number entry.
       
   150         */
       
   151         IMPORT_C void CreateNumberEntryL();
       
   152         
       
   153         
       
   154         /**
       
   155           * Concludes does the engine have information of the
       
   156           * phone number. This information is then send to the view.
       
   157           * @param aCallId - Call Id.
       
   158         */
       
   159         IMPORT_C void PhoneNumberAvailableInPhoneEngineL( TInt aCallId );
   138     
   160     
   139     private: // New functions
   161     private: // New functions
   140 
   162 
   141         /**
   163         /**
   142         * Handle EPEMessageAudioMuteChanged
   164         * Handle EPEMessageAudioMuteChanged
   168         *         EPEMessageDTMFSendingAborted
   190         *         EPEMessageDTMFSendingAborted
   169         */
   191         */
   170         void CancelDTMFSendingL();
   192         void CancelDTMFSendingL();
   171 
   193 
   172         /**
   194         /**
       
   195         * Handle EPEMessagePromptSpeedDial
       
   196         */
       
   197         void HandleDTMFPromptSpeedDialL();
       
   198 
       
   199         /**
   173         * Sends DTMF sequence to Phone Engine
   200         * Sends DTMF sequence to Phone Engine
   174         */
   201         */
   175         void SendDtmfL();
   202         void SendDtmfL();
       
   203         
       
   204         /**
       
   205         * Sends DTMF speed dial number sequence to Phone Engine
       
   206         */
       
   207         void SendDtmfSpeedDialNumberL();
       
   208         
       
   209         /**
       
   210         * Sends command to view for launching manual DTMF entry
       
   211         */
       
   212         void LaunchDtmfManualQueryL();
   176 
   213 
   177         /**
   214         /**
   178         * Sends command to view for launching DTMF list query
   215         * Sends command to view for launching DTMF list query
   179         */
   216         */
   180         void LaunchDtmfListQueryL();
   217         void LaunchDtmfListQueryL();
       
   218         
       
   219         /**
       
   220         * Launch DTMF Single Item fetch dialog
       
   221         */
       
   222         void LaunchDtmfSearchDialogL();
       
   223         
       
   224         /**
       
   225         * Launch DTMF Single Item fetch for DTMF List query usage
       
   226         */
       
   227         void LaunchDtmfListViewSearchDialogL();
       
   228 
       
   229         /**
       
   230         * Launch New call fetch dialog
       
   231         */
       
   232         void LaunchNewCallSearchDialogL();
   181               
   233               
   182         /**
   234 		/**
   183         * Sends command to view for 'Lock keypad'
   235         * Sends command to view for 'Lock keypad'
   184         */
   236         */
   185         void LockKeypadL();
   237         void LockKeypadL();
       
   238         
       
   239 		/**
       
   240         * Handle successful single item fetch.
       
   241         */
       
   242         void HandleSuccessFetchedNumberL();
       
   243         
       
   244         /**
       
   245         * Handle failed single item fetch.
       
   246         */
       
   247         void HandleFailedFetchedNumberL();
   186         
   248         
   187         /**
   249         /**
   188         * Update remote data and label to the call header.
   250         * Update remote data and label to the call header.
   189         * @param aCallId - Call Id.
   251         * @param aCallId - Call Id.
   190         * @param aCallHeaderData - Call header parameters where modifications
   252         * @param aCallHeaderData - Call header parameters where modifications
   219         * Handles Voice key pressing.
   281         * Handles Voice key pressing.
   220         * @param aMessage - Key event from AVKON
   282         * @param aMessage - Key event from AVKON
   221         */
   283         */
   222         void HandleVoiceKeyPressL( TPhoneKeyEventMessages aMessage );
   284         void HandleVoiceKeyPressL( TPhoneKeyEventMessages aMessage );
   223         
   285         
       
   286         // From CPhoneState
       
   287         /**
       
   288          * This function is called when there is property value change.
       
   289          * @param aCategory Category of the property
       
   290          * @param aKey      Property key that is changed
       
   291          * @param aValue    New property value
       
   292          */
       
   293         IMPORT_C virtual void HandlePropertyChangedL(
       
   294             const TUid& aCategory,
       
   295             const TUint aKey,
       
   296             const TInt aValue );
       
   297 
   224     private:
   298     private:
   225     
   299     
   226         /**
   300     	/**
   227         * Special timer for preventing recursive calls
   301     	* Special timer for preventing recursive calls
   228         * which would otherwise occur with multiple
   302     	* which would otherwise occur with multiple
   229         * wait characters in a DTMF string.
   303     	* wait characters in a DTMF string.
   230         */
   304     	*/
   231         CPhoneDtmfWaitCharTimer* iDtmfWaitCharTimer;
   305     	CPhoneDtmfWaitCharTimer* iDtmfWaitCharTimer;
   232   
   306   
   233     
   307     
   234     };
   308     };
   235 
   309 
   236 #endif // CPHONESTATEINCALL
   310 #endif // CPHONESTATEINCALL