phoneapp/phoneuiutils/inc/tphonecmdparamreconnectquery.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *   See class description.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef TPHONECMDPARAMRECONNECTQUERY_H
       
    21 #define TPHONECMDPARAMRECONNECTQUERY_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <w32std.h>
       
    26 #include "tphonecommandparam.h"
       
    27 
       
    28 // DATA TYPES
       
    29 
       
    30 // FORWARD DECLARATION
       
    31 class MCaUiReconnectQueryObserver;
       
    32 class CPhCntMatcher;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 *  A parameter class for displaying reconnect query.
       
    38 */
       
    39 class TPhoneCmdParamReconnectQuery : public TPhoneUICommandParam
       
    40     {   
       
    41     public:  
       
    42         
       
    43         /**
       
    44         * C++ default constructor.
       
    45         */
       
    46         IMPORT_C TPhoneCmdParamReconnectQuery( MCaUiReconnectQueryObserver& aObserver );
       
    47 
       
    48     public: 
       
    49         
       
    50         /**
       
    51         * Sets the contact matcher.
       
    52         * @param aPhCntMatcher pointer to contact matcher. NULL value allowed.
       
    53         */
       
    54         IMPORT_C void SetContactMatcher( CPhCntMatcher* aPhCntMatcher );
       
    55 
       
    56         /**
       
    57         * Sets the phone number.
       
    58         * @param aPhoneNumber phone number
       
    59         */
       
    60         IMPORT_C void SetPhoneNumber( const TPtrC aPhoneNumber );
       
    61 
       
    62         /**
       
    63         * Sets the video call option to visible or hidden in reconnect query.
       
    64         * @param aIncludeVideoCallOption EFalse to hide video call option, ETrue to show it.
       
    65         */
       
    66         IMPORT_C void SetIncludeVideoOption( const TBool aIncludeVideoCallOption );
       
    67        
       
    68         /**
       
    69         * Returns the reference to reconnect query observer.
       
    70         * @return Returns the reference to reconnect query observer.
       
    71         */
       
    72         IMPORT_C MCaUiReconnectQueryObserver& ReconnectQueryObserver() const;
       
    73 
       
    74         /**
       
    75         * Returns the contact matcher pointer.
       
    76         * @return Returns the contact matcher pointer.
       
    77         */
       
    78         IMPORT_C CPhCntMatcher* ContactMatcher() const;
       
    79 
       
    80         /**
       
    81         * Returns the phone number.
       
    82         * @return Returns the phone number.
       
    83         */
       
    84         IMPORT_C const TPtrC PhoneNumber() const;
       
    85 
       
    86         /**
       
    87         * Returns the video call option value.
       
    88         * @return Returns the video call option value.
       
    89         */
       
    90         IMPORT_C TBool IncludeVideoCallOption() const;
       
    91 
       
    92     private:    
       
    93         
       
    94         /**
       
    95         * Reconnect query observer
       
    96         */
       
    97         MCaUiReconnectQueryObserver& iObserver;
       
    98 
       
    99         /**
       
   100         * Contact matcher
       
   101         */
       
   102         CPhCntMatcher* iContactMatcher;
       
   103 
       
   104         /**
       
   105         * Phone number
       
   106         */
       
   107         TPtrC iPhoneNumber;
       
   108 
       
   109         /**
       
   110         * Include video call option
       
   111         */
       
   112         TBool iIncludeVideoCallOption;
       
   113     };
       
   114 
       
   115 #endif // TPHONECMDPARAMRECONNECTQUERY_H
       
   116             
       
   117 // End of File