diff -r 40a3f856b14d -r 41a7f70b3818 phoneapp/phoneuiutils/inc/tphonecmdparamcallheaderdata.h --- a/phoneapp/phoneuiutils/inc/tphonecmdparamcallheaderdata.h Thu Aug 19 09:54:27 2010 +0300 +++ b/phoneapp/phoneuiutils/inc/tphonecmdparamcallheaderdata.h Tue Aug 31 15:14:29 2010 +0300 @@ -23,9 +23,9 @@ // INCLUDES #include +#include #include "tphonecommandparam.h" #include "phoneconstants.h" -#include "bmbubblemanager.h" // DATA TYPES @@ -44,6 +44,12 @@ EPhoneParticipantCLIText, EPhoneParticipantCNAPText, }; + + enum TPhoneTextClippingDirection + { + ERight, + ELeft + }; public: @@ -52,6 +58,10 @@ */ IMPORT_C TPhoneCmdParamCallHeaderData(); + /** + * destructor. + */ + IMPORT_C ~TPhoneCmdParamCallHeaderData(); public: /** @@ -96,7 +106,7 @@ * @param aDirection Clipping direction of the CLI text. */ IMPORT_C void SetCLIText( const TDesC& aCLIText, - CBubbleManager::TPhoneClippingDirection aDirection ); + TPhoneTextClippingDirection aDirection ); /** * Sets the call header CNAP text @@ -104,20 +114,19 @@ * @param aDirection Clipping direction of the CNAP text. */ IMPORT_C void SetCNAPText( const TDesC& aCNAPText, - CBubbleManager::TPhoneClippingDirection aDirection ); + TPhoneTextClippingDirection aDirection ); /** * Sets the call header picture * @param aPicture is the picture data */ IMPORT_C void SetPicture( const TDesC& aPicture ); - + /** - * Sets the call flag + * Sets the call header diverted status. * @param call flag */ - IMPORT_C void SetCallFlag( - CBubbleManager::TPhoneCallTypeFlags aCallFlag ); + IMPORT_C void SetDiverted( TBool aDiverted ); /** * Sets the call header line2 status. @@ -126,13 +135,6 @@ IMPORT_C void SetLine2( TBool aLine2 ); /** - * Adds the call flag - * @param call flag - */ - IMPORT_C void AddCallFlag( - CBubbleManager::TPhoneCallTypeFlags aCallFlag ); - - /** * Returns the call header label text * @return Returns the label */ @@ -178,13 +180,13 @@ * Returns the clipping direction of the CLI text. * @return Clipping direction of the CLI text. */ - IMPORT_C CBubbleManager::TPhoneClippingDirection CLITextClippingDirection() const; + IMPORT_C TPhoneTextClippingDirection CLITextClippingDirection() const; /** * Returns the clipping direction of the CNAP text. * @return Clipping direction of the CNAP text. */ - IMPORT_C CBubbleManager::TPhoneClippingDirection CNAPTextClippingDirection() const; + IMPORT_C TPhoneTextClippingDirection CNAPTextClippingDirection() const; /** * Returns the call header CNAP text. @@ -199,10 +201,10 @@ IMPORT_C const TDesC& Picture() const; /** - * Returns the call flag - * @return Returns the call flag + * Returns call diverted status. + * @return Returns ETrue if diverted call. */ - IMPORT_C TUint32 CallFlag() const; + IMPORT_C TBool Diverted() const; /** * Returns the call header line 2 active. @@ -313,12 +315,12 @@ /** * Call header label text */ - TBuf iLabelText; + HBufC *iLabelText; /** * Call header short label text */ - TBuf iShortLabelText; + HBufC *iShortLabelText; /** * Call header call state @@ -343,33 +345,29 @@ /** * Call header CLI Text */ - TBuf iCLIText; + HBufC *iCLIText; /** * Clipping direction of the CLI text. */ - CBubbleManager::TPhoneClippingDirection iCLITextClippingDirection; - + TPhoneTextClippingDirection iCLITextClippingDirection; + /** * Clipping direction of the CLI text. */ - CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection; +// CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection; + TPhoneTextClippingDirection iCNAPTextClippingDirection; /** * Call header CNAP Text */ - TBuf iCNAPText; + HBufC *iCNAPText; /** * Call header picture data */ TPtrC iPicture; - /** - * Call flag - */ - TUint32 iCallFlag; - TBool iLine2; /** @@ -413,6 +411,11 @@ * Remote phone number */ TPtrC iRemotePhoneNumber; + + /** + * Call divert status. + */ + TBool iDiverted; }; #endif // __TPHONECMDPARAMCALLHEADERDATA_H