phoneapp/phoneuicontrol/inc/cphonestatestartup.h
branchRCL_3
changeset 14 24062c24fe38
parent 0 5f000ab63145
child 15 2a26698d78ba
equal deleted inserted replaced
9:8871b09be73b 14:24062c24fe38
     1 /*
     1 /*
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 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".
    52         /**
    52         /**
    53         * A message handling function for Phone Engine messages
    53         * A message handling function for Phone Engine messages
    54         * @param aMessage Message from Phone Engine
    54         * @param aMessage Message from Phone Engine
    55         * @param aCallId Call id the message concerns
    55         * @param aCallId Call id the message concerns
    56         */
    56         */
    57         IMPORT_C void HandlePhoneEngineMessageL(
    57         IMPORT_C virtual void HandlePhoneEngineMessageL(
    58             const TInt aMessage, 
    58             const TInt aMessage, 
    59             TInt aCallId );       
    59             TInt aCallId );       
    60             
    60             
    61         IMPORT_C void HandleKeyMessageL(
    61         IMPORT_C void HandleKeyMessageL(
    62             TPhoneKeyEventMessages aMessage,
    62             TPhoneKeyEventMessages aMessage,
    69         /**
    69         /**
    70         * Handles startup of the phone application 
    70         * Handles startup of the phone application 
    71         */
    71         */
    72         IMPORT_C virtual void HandlePhoneStartupL();
    72         IMPORT_C virtual void HandlePhoneStartupL();
    73 
    73 
       
    74         /**
       
    75         * A message handling function for message EPEMessagePEConstructionReady.
       
    76         * @param aCallId: the call id of the call
       
    77         */
       
    78         IMPORT_C void HandlePEConstructionReadyL( TInt aCallId );
    74         /**
    79         /**
    75          * Indicates when the Idle app is in the foreground.
    80          * Indicates when the Idle app is in the foreground.
    76          */
    81          */
    77         IMPORT_C virtual void HandleIdleForegroundEventL();
    82         IMPORT_C virtual void HandleIdleForegroundEventL();
    78 
    83 
   104          * Plays DTMF tone for key event 
   109          * Plays DTMF tone for key event 
   105          * */
   110          * */
   106         IMPORT_C void HandleDtmfKeyToneL( const TKeyEvent& aKeyEvent,
   111         IMPORT_C void HandleDtmfKeyToneL( const TKeyEvent& aKeyEvent,
   107                 TEventCode aEventCode );
   112                 TEventCode aEventCode );
   108         
   113         
   109         /**
       
   110         * A message handling function for message EPEMessagePEConstructionReady.
       
   111         * @param aCallId: the call id of the call
       
   112         */
       
   113         void HandlePEConstructionReadyL( TInt aCallId );
       
   114         
   114         
   115         /**
   115         /**
   116         * Starts to shows note.
   116         * Starts to shows note.
   117         */
   117         */
   118         static TInt DoShowNoteL( TAny* aAny );
   118         static TInt DoShowNoteL( TAny* aAny );
   127     protected: // Data
   127     protected: // Data
   128 
   128 
   129         // Provides phone engine startup status
   129         // Provides phone engine startup status
   130         TBool iPEReady;
   130         TBool iPEReady;
   131 
   131 
   132     private: // Data
       
   133 
   132 
   134         // Provides phone application startup status
   133         // Provides phone application startup status
   135         TBool iPhoneReady;
   134         TBool iPhoneReady;
       
   135     private: // Data
   136         
   136         
   137         // Ownded: idle object to create note.
   137         // Ownded: idle object to create note.
   138         CIdle* iCreateNote;
   138         CIdle* iCreateNote;
   139     };
   139     };
   140 
   140