phoneapp/phoneuiutils/inc/tphonecmdparamcallheaderdata.h
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    21 #define __TPHONECMDPARAMCALLHEADERDATA_H
    21 #define __TPHONECMDPARAMCALLHEADERDATA_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 
    24 
    25 #include <w32std.h>
    25 #include <w32std.h>
       
    26 // <-- QT PHONE START -->
       
    27 #include <cntdef.h>
       
    28 // <-- QT PHONE START -->
    26 #include "tphonecommandparam.h"
    29 #include "tphonecommandparam.h"
    27 #include "phoneconstants.h"
    30 #include "phoneconstants.h"
    28 #include "bmbubblemanager.h"
    31 // <-- QT PHONE START -->
       
    32 //#include "bmbubblemanager.h"
       
    33 // <-- QT PHONE START -->
    29 
    34 
    30 // DATA TYPES
    35 // DATA TYPES
    31 
    36 
    32 // CLASS DECLARATION
    37 // CLASS DECLARATION
    33 class CFbsBitmap;
    38 class CFbsBitmap;
    42         enum TPhoneParticipantListCLI
    47         enum TPhoneParticipantListCLI
    43             {
    48             {
    44             EPhoneParticipantCLIText,
    49             EPhoneParticipantCLIText,
    45             EPhoneParticipantCNAPText,                
    50             EPhoneParticipantCNAPText,                
    46             };
    51             };
       
    52 
       
    53 // <-- QT PHONE START -->         
       
    54         enum TPhoneTextClippingDirection
       
    55             {
       
    56             ERight,
       
    57             ELeft
       
    58             };
       
    59 // <-- QT PHONE END --> 
    47            
    60            
    48     public:  
    61     public:  
    49         
    62         
    50         /**
    63         /**
    51         * C++ default constructor.
    64         * C++ default constructor.
    93         /**
   106         /**
    94         * Sets the call header CLI text
   107         * Sets the call header CLI text
    95         * @param aCLI is the CLI text
   108         * @param aCLI is the CLI text
    96         * @param aDirection Clipping direction of the CLI text.
   109         * @param aDirection Clipping direction of the CLI text.
    97         */
   110         */
       
   111 // <-- QT PHONE START --> 
       
   112 //        IMPORT_C void SetCLIText( const TDesC& aCLIText, 
       
   113 //                                  CBubbleManager::TPhoneClippingDirection aDirection );
    98         IMPORT_C void SetCLIText( const TDesC& aCLIText, 
   114         IMPORT_C void SetCLIText( const TDesC& aCLIText, 
    99                                   CBubbleManager::TPhoneClippingDirection aDirection );
   115                                   TPhoneTextClippingDirection aDirection );
       
   116 // <-- QT PHONE END --> 
   100 
   117 
   101         /**
   118         /**
   102         * Sets the call header CNAP text
   119         * Sets the call header CNAP text
   103         * @param aCNAP is the CNAP text
   120         * @param aCNAP is the CNAP text
   104         * @param aDirection Clipping direction of the CNAP text.
   121         * @param aDirection Clipping direction of the CNAP text.
   105         */
   122         */
       
   123 // <-- QT PHONE START -->
       
   124 //        IMPORT_C void SetCNAPText( const TDesC& aCNAPText,
       
   125 //                CBubbleManager::TPhoneClippingDirection aDirection );
   106         IMPORT_C void SetCNAPText( const TDesC& aCNAPText,
   126         IMPORT_C void SetCNAPText( const TDesC& aCNAPText,
   107                 CBubbleManager::TPhoneClippingDirection aDirection );
   127                                    TPhoneTextClippingDirection aDirection );
       
   128 // <-- QT PHONE END -->
   108 
   129 
   109         /**
   130         /**
   110         * Sets the call header picture
   131         * Sets the call header picture
   111         * @param aPicture is the picture data
   132         * @param aPicture is the picture data
   112         */
   133         */
   113         IMPORT_C void SetPicture( const TDesC& aPicture );
   134         IMPORT_C void SetPicture( const TDesC& aPicture );
   114         
   135 
       
   136 // <-- QT PHONE START -->         
   115         /**
   137         /**
   116         * Sets the call flag
   138         * Sets the call flag
   117         * @param call flag
   139         * @param call flag
   118         */
   140         */
   119         IMPORT_C void SetCallFlag( 
   141 //        IMPORT_C void SetCallFlag(
   120             CBubbleManager::TPhoneCallTypeFlags aCallFlag );
   142 //          CBubbleManager::TPhoneCallTypeFlags aCallFlag );
       
   143 
       
   144         /**
       
   145         * Sets the call header diverted status.
       
   146         * @param call flag
       
   147         */
       
   148         IMPORT_C void SetDiverted( TBool aDiverted );
       
   149 // <-- QT PHONE END --> 
   121             
   150             
   122         /**
   151         /**
   123         * Sets the call header line2 status.
   152         * Sets the call header line2 status.
   124         * @param aLine2 is ETrue if line2 is active.
   153         * @param aLine2 is ETrue if line2 is active.
   125         */
   154         */
   127             
   156             
   128         /**
   157         /**
   129         * Adds the call flag
   158         * Adds the call flag
   130         * @param call flag
   159         * @param call flag
   131         */
   160         */
   132         IMPORT_C void AddCallFlag( 
   161 // <-- QT PHONE START -->
   133             CBubbleManager::TPhoneCallTypeFlags aCallFlag );
   162 //        IMPORT_C void AddCallFlag( 
       
   163 //            CBubbleManager::TPhoneCallTypeFlags aCallFlag );
       
   164 // <-- QT PHONE END -->
   134 
   165 
   135         /**
   166         /**
   136         * Returns the call header label text
   167         * Returns the call header label text
   137         * @return Returns the label
   168         * @return Returns the label
   138         */
   169         */
   176 
   207 
   177         /**
   208         /**
   178          * Returns the clipping direction of the CLI text.
   209          * Returns the clipping direction of the CLI text.
   179          * @return  Clipping direction of the CLI text.
   210          * @return  Clipping direction of the CLI text.
   180          */
   211          */
   181         IMPORT_C CBubbleManager::TPhoneClippingDirection CLITextClippingDirection() const;
   212 // <-- QT PHONE START -->         
       
   213         IMPORT_C TPhoneTextClippingDirection CLITextClippingDirection() const;
   182 
   214 
   183         /**
   215         /**
   184          * Returns the clipping direction of the CNAP text.
   216          * Returns the clipping direction of the CNAP text.
   185          * @return  Clipping direction of the CNAP text.
   217          * @return  Clipping direction of the CNAP text.
   186          */
   218          */
   187         IMPORT_C CBubbleManager::TPhoneClippingDirection CNAPTextClippingDirection() const;
   219         IMPORT_C TPhoneTextClippingDirection CNAPTextClippingDirection() const;
       
   220 // <-- QT PHONE END -->         
   188         
   221         
   189         /**
   222         /**
   190         * Returns the call header CNAP text.
   223         * Returns the call header CNAP text.
   191         * @return Returns the CNAP text
   224         * @return Returns the CNAP text
   192         */
   225         */
   196         * Returns the call header picture.
   229         * Returns the call header picture.
   197         * @return Returns the picture
   230         * @return Returns the picture
   198         */
   231         */
   199         IMPORT_C const TDesC& Picture() const;
   232         IMPORT_C const TDesC& Picture() const;
   200         
   233         
       
   234 // <-- QT PHONE START -->         
   201         /**
   235         /**
   202         * Returns the call flag
   236         * Returns the call flag
   203         * @return Returns the call flag
   237         * @return Returns the call flag
   204         */
   238         */
   205         IMPORT_C TUint32 CallFlag() const;
   239 //      IMPORT_C TUint32 CallFlag() const;
       
   240 
       
   241         /**
       
   242         * Returns call diverted status.
       
   243         * @return Returns ETrue if diverted call.
       
   244         */
       
   245         IMPORT_C TBool Diverted() const;
       
   246 // <-- QT PHONE END -->         
   206         
   247         
   207         /**
   248         /**
   208         * Returns the call header line 2 active.
   249         * Returns the call header line 2 active.
   209         * @return Returns ETrue if line2 is on 
   250         * @return Returns ETrue if line2 is on 
   210         */
   251         */
   316         TBuf<KPhoneCallHeaderLabelMaxLength> iLabelText;
   357         TBuf<KPhoneCallHeaderLabelMaxLength> iLabelText;
   317 
   358 
   318         /**
   359         /**
   319         * Call header short label text
   360         * Call header short label text
   320         */
   361         */
   321     	TBuf<KPhoneCallHeaderLabelMaxLength> iShortLabelText;
   362         TBuf<KPhoneCallHeaderLabelMaxLength> iShortLabelText;
   322 
   363 
   323         /**
   364         /**
   324         * Call header call state
   365         * Call header call state
   325         */
   366         */
   326         TInt iCallState;
   367         TInt iCallState;
   346         TBuf<KCntMaxTextFieldLength> iCLIText;
   387         TBuf<KCntMaxTextFieldLength> iCLIText;
   347 
   388 
   348         /**
   389         /**
   349          * Clipping direction of the CLI text.
   390          * Clipping direction of the CLI text.
   350          */
   391          */
   351         CBubbleManager::TPhoneClippingDirection iCLITextClippingDirection;
   392 // <-- QT PHONE START -->         
   352         
   393         TPhoneTextClippingDirection iCLITextClippingDirection;
       
   394 // <-- QT PHONE END -->
       
   395        
   353         /**
   396         /**
   354          * Clipping direction of the CLI text.
   397          * Clipping direction of the CLI text.
   355          */
   398          */
   356         CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection;
   399 // <-- QT PHONE START -->
       
   400 //        CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection;
       
   401         TPhoneTextClippingDirection iCNAPTextClippingDirection;
       
   402 // <-- QT PHONE END -->
   357         
   403         
   358         /**
   404         /**
   359         * Call header CNAP Text
   405         * Call header CNAP Text
   360         */
   406         */
   361         TBuf<KCntMaxTextFieldLength> iCNAPText;
   407         TBuf<KCntMaxTextFieldLength> iCNAPText;
   363         /**
   409         /**
   364         * Call header picture data
   410         * Call header picture data
   365         */
   411         */
   366         TPtrC iPicture;
   412         TPtrC iPicture;
   367         
   413         
   368         /**
   414 // <-- QT PHONE START -->         
   369         * Call flag
   415         /**
   370         */
   416         * Call flag.
   371         TUint32     iCallFlag;
   417         */
       
   418 //        TUint32     iCallFlag;
       
   419 // <-- QT PHONE END -->         
       
   420 
   372         
   421         
   373         TBool iLine2;
   422         TBool iLine2;
   374         
   423         
   375         /**
   424         /**
   376         * Thumbnail image
   425         * Thumbnail image
   411         
   460         
   412         /**
   461         /**
   413          * Remote phone number
   462          * Remote phone number
   414          */
   463          */
   415         TPtrC iRemotePhoneNumber;
   464         TPtrC iRemotePhoneNumber;
       
   465 
       
   466 // <-- QT PHONE START -->                 
       
   467         /**
       
   468          * Call divert status.
       
   469          */
       
   470         TBool iDiverted;        
       
   471 // <-- QT PHONE END -->         
   416     };
   472     };
   417 
   473 
   418 #endif // __TPHONECMDPARAMCALLHEADERDATA_H   
   474 #endif // __TPHONECMDPARAMCALLHEADERDATA_H   
   419             
   475             
   420 // End of File
   476 // End of File