2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Phonebook call number selection dialog. This dialog implements the call
16 * number selection logic of Phonebook.
21 #ifndef __CPbkPhoneNumberSelect_H__
22 #define __CPbkPhoneNumberSelect_H__
25 #include "CPbkPhoneNumberSelectBase.h"
30 * Phonebook call number selection dialog. This dialog implements the call
31 * number selection logic of Phonebook.
33 class CPbkPhoneNumberSelect : public CPbkPhoneNumberSelectBase
39 IMPORT_C CPbkPhoneNumberSelect();
42 * Parameters for ExecuteLD(TParams&).
44 * @see CPbkAddressSelect::TBaseParams
45 * @see ExecuteLD(TParams&)
47 class TParams : public CPbkAddressSelect::TBaseParams
52 * @param aContact Contact from which to select a phone number.
54 IMPORT_C TParams(const CPbkContactItem& aContact);
62 * Runs the phone number selection query (if necessary).
64 * @param aParams Parameters and return values of the query.
65 * @return ETrue if query was accepted, EFalse if canceled.
68 IMPORT_C TBool ExecuteLD(TParams& aParams);
73 IMPORT_C ~CPbkPhoneNumberSelect();
75 private: // from CPbkAddressSelect
76 IMPORT_C const TDesC& QueryTitleL();
77 IMPORT_C TInt QuerySoftkeysResource() const;
78 IMPORT_C TKeyResponse PbkControlKeyEventL
79 (const TKeyEvent& aKeyEvent,TEventCode aType);
81 private: // data members
82 /// Own: Title for phonenumber selection list
88 #endif // __CPbkPhoneNumberSelect_H__