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 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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Phonebook MMS number selection dialog. This dialog implements the
16 * MMS number selection logic of Phonebook.
21 #ifndef __CPbkMmsAddressSelect_H__
22 #define __CPbkMmsAddressSelect_H__
25 #include "CPbkAddressSelect.h"
30 * Phonebook MMS number selection dialog. This dialog implements the
31 * MMS number selection logic of Phonebook.
33 class CPbkMmsAddressSelect : public CPbkAddressSelect
39 IMPORT_C CPbkMmsAddressSelect();
42 * Parameters for ExecuteLD(TParams&).
44 * @see CPbkAddressSelect::TBaseParams
45 * @see ExecuteLD(TParams&)
47 class TParams : public CPbkAddressSelect::TBaseParams
52 * @param aContactItem Contact from which to select a MMS address.
54 IMPORT_C TParams(const CPbkContactItem& aContact);
56 private: // Spare data
61 * Runs the MMS address selection query (if necessary).
63 * @param aParams Parameters and return values of the query.
64 * @return ETrue if query was accepted, EFalse if canceled.
67 IMPORT_C TBool ExecuteLD(TParams& aParams);
72 IMPORT_C ~CPbkMmsAddressSelect();
74 private: // from CPbkAddressSelect
75 IMPORT_C TBool AddressField(const TPbkContactItemField& aField) const;
76 IMPORT_C void NoAddressesL();
77 IMPORT_C const TDesC& QueryTitleL();
78 IMPORT_C TInt QuerySoftkeysResource() const;
80 private: // data members
81 /// Own: Title for MMS number selection list
88 #endif // __CPbkMmsAddressSelect_H__