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 SMS address selection dialog.
20 #ifndef __CPbkSmsAddressSelect_H__
21 #define __CPbkSmsAddressSelect_H__
24 #include "CPbkPhoneNumberSelectBase.h"
29 * Phonebook SMS address selection dialog.
31 class CPbkSmsAddressSelect : public CPbkPhoneNumberSelectBase
37 IMPORT_C CPbkSmsAddressSelect();
40 * Parameters for ExecuteLD(TParams&).
42 * @see CPbkAddressSelect::TBaseParams
43 * @see ExecuteLD(TParams&)
45 class TParams : public CPbkAddressSelect::TBaseParams
50 * @param aContact Contact from which to select a phone number.
52 IMPORT_C TParams(const CPbkContactItem& aContact);
56 * Runs the SMS address selection query (if necessary).
58 * @param aParams Parameters and return values of the query.
59 * @return ETrue if query was accepted, EFalse if canceled.
62 inline TBool ExecuteLD(TParams& aParams);
67 IMPORT_C ~CPbkSmsAddressSelect();
69 private: // from CPbkAddressSelect
70 IMPORT_C const TDesC& QueryTitleL();
71 IMPORT_C TInt QuerySoftkeysResource() const;
74 /// Own: Title for phonenumber selection list
80 inline TBool CPbkSmsAddressSelect::ExecuteLD(TParams& aParams)
82 return CPbkAddressSelect::ExecuteLD(aParams);
85 #endif // __CPbkSmsAddressSelect_H__