phoneapp/phoneuicontrol/inc/cphonestateincall.h
branchRCL_3
changeset 61 41a7f70b3818
parent 14 24062c24fe38
child 62 5266b1f337bd
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
     1 /*
     1 /*
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2005-2009 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         /**
       
    99         * Call number fetched from New call dialog
    89         * Call number fetched from New call dialog
   100         * @param aFetchedNumber number fetched from the diaog
    90         * @param aFetchedNumber number fetched from the diaog
   101         */
    91         */
   102         IMPORT_C virtual void CallFetchedNumberL( 
    92         IMPORT_C virtual void CallFetchedNumberL( 
   103             const TDesC& aFetchedNumber );
    93             const TDesC& aFetchedNumber );
   142 
   132 
   143         /**
   133         /**
   144         * Close all dtmf dialogs
   134         * Close all dtmf dialogs
   145         */
   135         */
   146         IMPORT_C void CloseDtmfQueryL();
   136         IMPORT_C void CloseDtmfQueryL();
   147     
   137 
   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 );
       
   160     
   138     
   161     private: // New functions
   139     private: // New functions
   162 
   140 
   163         /**
   141         /**
   164         * Handle EPEMessageAudioMuteChanged
   142         * Handle EPEMessageAudioMuteChanged
   190         *         EPEMessageDTMFSendingAborted
   168         *         EPEMessageDTMFSendingAborted
   191         */
   169         */
   192         void CancelDTMFSendingL();
   170         void CancelDTMFSendingL();
   193 
   171 
   194         /**
   172         /**
   195         * Handle EPEMessagePromptSpeedDial
       
   196         */
       
   197         void HandleDTMFPromptSpeedDialL();
       
   198 
       
   199         /**
       
   200         * Sends DTMF sequence to Phone Engine
   173         * Sends DTMF sequence to Phone Engine
   201         */
   174         */
   202         void SendDtmfL();
   175         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();
       
   213 
   176 
   214         /**
   177         /**
   215         * Sends command to view for launching DTMF list query
   178         * Sends command to view for launching DTMF list query
   216         */
   179         */
   217         void LaunchDtmfListQueryL();
   180         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();
       
   233               
   181               
   234 		/**
   182         /**
   235         * Sends command to view for 'Lock keypad'
   183         * Sends command to view for 'Lock keypad'
   236         */
   184         */
   237         void LockKeypadL();
   185         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();
       
   248         
   186         
   249         /**
   187         /**
   250         * Update remote data and label to the call header.
   188         * Update remote data and label to the call header.
   251         * @param aCallId - Call Id.
   189         * @param aCallId - Call Id.
   252         * @param aCallHeaderData - Call header parameters where modifications
   190         * @param aCallHeaderData - Call header parameters where modifications
   281         * Handles Voice key pressing.
   219         * Handles Voice key pressing.
   282         * @param aMessage - Key event from AVKON
   220         * @param aMessage - Key event from AVKON
   283         */
   221         */
   284         void HandleVoiceKeyPressL( TPhoneKeyEventMessages aMessage );
   222         void HandleVoiceKeyPressL( TPhoneKeyEventMessages aMessage );
   285         
   223         
   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 
       
   298     private:
   224     private:
   299     
   225     
   300     	/**
   226         /**
   301     	* Special timer for preventing recursive calls
   227         * Special timer for preventing recursive calls
   302     	* which would otherwise occur with multiple
   228         * which would otherwise occur with multiple
   303     	* wait characters in a DTMF string.
   229         * wait characters in a DTMF string.
   304     	*/
   230         */
   305     	CPhoneDtmfWaitCharTimer* iDtmfWaitCharTimer;
   231         CPhoneDtmfWaitCharTimer* iDtmfWaitCharTimer;
   306   
   232   
   307     
   233     
   308     };
   234     };
   309 
   235 
   310 #endif // CPHONESTATEINCALL
   236 #endif // CPHONESTATEINCALL