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