epoc32/include/app/cpbkvideonumberselect.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 2002 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *       Phonebook video call number selection dialog. This dialog implements the 
    16 *       video call number selection logic of Phonebook.
    17 *
    18 */
    19 
    20 
    21 #ifndef __CPbkVideoNumberSelect_H__
    22 #define __CPbkVideoNumberSelect_H__
    23 
    24 //  INCLUDES
    25 #include  "CPbkPhoneNumberSelectBase.h"
    26 
    27 // CLASS DECLARATION
    28 
    29 /**
    30  * Phonebook video call number selection dialog. This dialog implements the
    31  * video call number selection logic of Phonebook.
    32  */
    33 class CPbkVideoNumberSelect : public CPbkPhoneNumberSelectBase
    34     {
    35     public:  // Interface
    36         /**
    37          * Constructor.
    38          */
    39         IMPORT_C CPbkVideoNumberSelect();
    40 
    41         /**
    42          * Parameters for ExecuteLD(TParams&).
    43          *
    44          * @see CPbkAddressSelect::TBaseParams
    45          * @see ExecuteLD(TParams&)
    46          */
    47         class TParams : public CPbkAddressSelect::TBaseParams
    48             {
    49             public:
    50                 /**
    51                  * Constructor.
    52                  * @param aContactItem  Contact from which to select a video call
    53                  * number.
    54                  */
    55                 IMPORT_C TParams(const CPbkContactItem& aContact);
    56 
    57             private: // data
    58 				/// Own: spare data
    59                 TInt32 iSpare1;
    60             };
    61 
    62         /**
    63          * Runs the video call number selection query (if necessary).
    64          *
    65          * @param aParams   Parameters and return values of the query.
    66          * @return  ETrue if query was accepted, EFalse if canceled.
    67          * @see TParams
    68          */
    69         IMPORT_C TBool ExecuteLD(TParams& aParams);
    70 
    71         /**
    72          * Destructor.
    73          */
    74         IMPORT_C ~CPbkVideoNumberSelect();
    75 
    76     private:  // from CPbkAddressSelect
    77         IMPORT_C const TDesC& QueryTitleL();
    78         IMPORT_C TInt QuerySoftkeysResource() const;
    79         IMPORT_C TKeyResponse PbkControlKeyEventL
    80             (const TKeyEvent& aKeyEvent,TEventCode aType);
    81     
    82     private: // data members
    83         /// Own: Title for videonumber selection list
    84         HBufC* iQueryTitle;
    85         // Spare data
    86         TInt32 iSpare1;
    87     }; 
    88 
    89 #endif // __CPbkVideoNumberSelect_H__
    90             
    91 // End of File