phoneapp/phoneuicontrol/inc/cphonecallheadermanager.h
branchRCL_3
changeset 62 5266b1f337bd
parent 61 41a7f70b3818
child 81 c26cc2a7c548
equal deleted inserted replaced
61:41a7f70b3818 62:5266b1f337bd
    19 #ifndef CPHONECALLHEADERMANAGER_H
    19 #ifndef CPHONECALLHEADERMANAGER_H
    20 #define CPHONECALLHEADERMANAGER_H
    20 #define CPHONECALLHEADERMANAGER_H
    21 
    21 
    22 //INCLUDES
    22 //INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
       
    24 #include <bmbubblemanager.h>
       
    25 
    24 #include "mphonecallheadermanagerutility.h"
    26 #include "mphonecallheadermanagerutility.h"
    25 #include "mphonestatemachine.h"
    27 #include "mphonestatemachine.h"
    26 #include "mphoneviewcommandhandle.h"
    28 #include "mphoneviewcommandhandle.h"
    27 #include "mphonecustomization.h"
    29 #include "mphonecustomization.h"
    28 
    30 
    82         * displayed)
    84         * displayed)
    83         * @param aCallid call id
    85         * @param aCallid call id
    84         */
    86         */
    85         void DisplayHeaderForOutgoingCallL(
    87         void DisplayHeaderForOutgoingCallL(
    86                 const TInt aCallId );
    88                 const TInt aCallId );
    87 
    89        
    88         /**
    90         /**
    89         * Sets the call header type used in the call bubble.
    91         * Sets the call header type used in the call bubble.
    90         * @param aCallHeaderType, call header type.
    92         * @param aCallHeaderType, call header type.
    91         */
    93         */
    92         void SetCallHeaderType( 
    94         void SetCallHeaderType( 
    93                 TInt aCallHeaderType );
    95                 const CBubbleManager::TPhoneCallTypeFlags aCallHeaderType );
    94         
    96         
    95         /**
    97         /**
    96         * Returns the set call header type.
    98         * Returns the set call header type.
    97         */
    99         */
    98         TInt CallHeaderType() const;
   100         CBubbleManager::TPhoneCallTypeFlags CallHeaderType() const;
    99                 
   101                 
   100         /**
       
   101         * Sets divert indication to call header if necessary
       
   102         * @param aCallId - Call Id.
       
   103         * @param aCallHeaderData - Call header where indication will be set
       
   104         *                          if needed.
       
   105         */
       
   106         void SetDivertIndication( const TBool aDivertIndication );
       
   107         
       
   108         /**
   102         /**
   109         * Checks if call is waiting, returns ETrue if call is waiting
   103         * Checks if call is waiting, returns ETrue if call is waiting
   110         * otherwise EFalse.
   104         * otherwise EFalse.
   111         * @param aCallId, call id.
   105         * @param aCallId, call id.
   112         */
   106         */
   117         * otherwise EFalse.
   111         * otherwise EFalse.
   118         * @param aCallId, call id.
   112         * @param aCallId, call id.
   119         */
   113         */
   120         TBool IsVideoCall( const TInt aCallId ) const;
   114         TBool IsVideoCall( const TInt aCallId ) const;
   121  
   115  
   122         /**
   116 		/**
   123         * Sets texts to call header
   117         * Sets texts to call header
   124         * @param aCallId - Call Id.
   118         * @param aCallId - Call Id.
   125         * @param aWaitingCall waiting call indication
   119 		* @param aWaitingCall waiting call indication
   126         * @param aCallHeaderData - Call header where indication will be set
   120         * @param aCallHeaderData - Call header where indication will be set
   127         *                          if needed.
   121         *                          if needed.
   128         */         
   122         */         
   129         void SetCallHeaderTextsForCallComingIn(
   123         void SetCallHeaderTextsForCallComingIn(
   130                 const TInt aCallId, 
   124                 const TInt aCallId, 
   137         * @see MPhoneBubbleManagerUtility.
   131         * @see MPhoneBubbleManagerUtility.
   138         */
   132         */
   139         void SetPhoneNumberAvailabilityL( 
   133         void SetPhoneNumberAvailabilityL( 
   140                 const TInt aNumberLength,
   134                 const TInt aNumberLength,
   141                 const TBool aContactInfoAvailable );
   135                 const TBool aContactInfoAvailable );
   142 
   136         
       
   137         /**
       
   138         * @see MPhoneBubbleManagerUtility.
       
   139         */
       
   140         void GetInCallNumberTextL( TInt aCallId, TDes& aData ) const;
       
   141         
   143         /**
   142         /**
   144         * @see MPhoneBubbleManagerUtility.
   143         * @see MPhoneBubbleManagerUtility.
   145         */
   144         */
   146         void LoadCallHeaderTexts(
   145         void LoadCallHeaderTexts(
   147             const TInt aLabelId, 
   146             const TInt aLabelId,