phoneapp/phoneuicontrol/inc/tphonecallheaderparam.h
branchRCL_3
changeset 23 40a3f856b14d
parent 20 3c221667e687
child 24 41a7f70b3818
equal deleted inserted replaced
22:94dc1107e8b2 23:40a3f856b14d
    68         *                          parameters will be set.
    68         *                          parameters will be set.
    69         */
    69         */
    70         void SetOutgoingCallHeaderParamsL(
    70         void SetOutgoingCallHeaderParamsL(
    71                 const TInt aCallId,
    71                 const TInt aCallId,
    72                 TPhoneCmdParamCallHeaderData* aCallHeaderData );
    72                 TPhoneCmdParamCallHeaderData* aCallHeaderData );
    73         
       
    74        /**
       
    75        * Sets info to initializing call header.
       
    76        * @param aCallId - call id.
       
    77        * @param aCallHeaderData - Call header parameter into which the text/picture
       
    78        *                          parameters will be set.
       
    79        */
       
    80         void SetIniticalizingCallHeaderParamsL(
       
    81                 const TInt aCallId,
       
    82                 TPhoneCmdParamCallHeaderData* aCallHeaderData );
       
    83 				
    73 				
    84         /**
    74         /**
    85         * Updates call header info. 
    75         * Updates call header info. 
    86         * NOTE: This method is used when state receives
    76         * NOTE: This method is used when state receives
    87         * EPEMessageRemotePartyInfoChanged from PhoneEngine.
    77         * EPEMessageRemotePartyInfoChanged from PhoneEngine.
   107         /**
    97         /**
   108         * Returns the set call header type. Used for constructing right type
    98         * Returns the set call header type. Used for constructing right type
   109         * of call bubble.
    99         * of call bubble.
   110         */
   100         */
   111         CBubbleManager::TPhoneCallTypeFlags CallHeaderType() const;
   101         CBubbleManager::TPhoneCallTypeFlags CallHeaderType() const;
   112             
       
   113         /**
       
   114         * Setter for divert indication showing in bubble.
       
   115         * @param aDivertIndication ETrue to show divert indication,
       
   116         *        EFalse to not. Usually setting EFalse isn't necessary
       
   117         *        as it's a default value in bubble creation.
       
   118         */
       
   119         void SetDivertIndication( const TBool aDivertIndication );
       
   120         
   102         
   121         /**
   103         /**
   122         * Return remote info data
   104         * Return remote info data
   123         * @param aCallid call id
   105         * @param aCallid call id
   124         * @param aData the returned remote info data
   106         * @param aData the returned remote info data
   150         * @param aCallHeaderData - Call header parameter into which the text/picture
   132         * @param aCallHeaderData - Call header parameter into which the text/picture
   151         *                          parameters will be set.
   133         *                          parameters will be set.
   152         */
   134         */
   153         void SetBasicCallHeaderParamsL(
   135         void SetBasicCallHeaderParamsL(
   154             const TInt aCallId, 
   136             const TInt aCallId, 
   155             TPhoneCmdParamCallHeaderData* aCallHeaderData,
   137             TPhoneCmdParamCallHeaderData* aCallHeaderData );
   156             TBool aInitializing );
       
   157         
   138         
   158         /**
   139         /**
   159         * Sets divert indication to call header if necessary
   140         * Sets divert indication to call header if necessary
   160         * @param aCallId - Call Id.
   141         * @param aCallId - Call Id.
   161         * @param aCallHeaderData - Call header where indication will be set
   142         * @param aCallHeaderData - Call header where indication will be set
   269     private:
   250     private:
   270         
   251         
   271         MPhoneCallHeaderManagerUtility& iManagerUtility;
   252         MPhoneCallHeaderManagerUtility& iManagerUtility;
   272         MPhoneStateMachine& iStateMachine;
   253         MPhoneStateMachine& iStateMachine;
   273         CBubbleManager::TPhoneCallTypeFlags iCallHeaderType;
   254         CBubbleManager::TPhoneCallTypeFlags iCallHeaderType;
   274         TBool iSetDivertIndication;
       
   275             
       
   276     };
   255     };
   277 
   256 
   278 #endif // TPHONECALLHEADERPARAM_H
   257 #endif // TPHONECALLHEADERPARAM_H