1.1 --- a/epoc32/include/app/cpbkphonenumberselect.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/app/cpbkphonenumberselect.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,90 @@
1.4 -cpbkphonenumberselect.h
1.5 +/*
1.6 +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description:
1.19 +* Phonebook call number selection dialog. This dialog implements the call
1.20 +* number selection logic of Phonebook.
1.21 +*
1.22 +*/
1.23 +
1.24 +
1.25 +#ifndef __CPbkPhoneNumberSelect_H__
1.26 +#define __CPbkPhoneNumberSelect_H__
1.27 +
1.28 +// INCLUDES
1.29 +#include "CPbkPhoneNumberSelectBase.h"
1.30 +
1.31 +// CLASS DECLARATION
1.32 +
1.33 +/**
1.34 + * Phonebook call number selection dialog. This dialog implements the call
1.35 + * number selection logic of Phonebook.
1.36 + */
1.37 +class CPbkPhoneNumberSelect : public CPbkPhoneNumberSelectBase
1.38 + {
1.39 + public: // Interface
1.40 + /**
1.41 + * Constructor.
1.42 + */
1.43 + IMPORT_C CPbkPhoneNumberSelect();
1.44 +
1.45 + /**
1.46 + * Parameters for ExecuteLD(TParams&).
1.47 + *
1.48 + * @see CPbkAddressSelect::TBaseParams
1.49 + * @see ExecuteLD(TParams&)
1.50 + */
1.51 + class TParams : public CPbkAddressSelect::TBaseParams
1.52 + {
1.53 + public:
1.54 + /**
1.55 + * Constructor.
1.56 + * @param aContact Contact from which to select a phone number.
1.57 + */
1.58 + IMPORT_C TParams(const CPbkContactItem& aContact);
1.59 +
1.60 + private: // data
1.61 + /// Own: spare data
1.62 + TInt32 iSpare1;
1.63 + };
1.64 +
1.65 + /**
1.66 + * Runs the phone number selection query (if necessary).
1.67 + *
1.68 + * @param aParams Parameters and return values of the query.
1.69 + * @return ETrue if query was accepted, EFalse if canceled.
1.70 + * @see TParams
1.71 + */
1.72 + IMPORT_C TBool ExecuteLD(TParams& aParams);
1.73 +
1.74 + /**
1.75 + * Destructor.
1.76 + */
1.77 + IMPORT_C ~CPbkPhoneNumberSelect();
1.78 +
1.79 + private: // from CPbkAddressSelect
1.80 + IMPORT_C const TDesC& QueryTitleL();
1.81 + IMPORT_C TInt QuerySoftkeysResource() const;
1.82 + IMPORT_C TKeyResponse PbkControlKeyEventL
1.83 + (const TKeyEvent& aKeyEvent,TEventCode aType);
1.84 +
1.85 + private: // data members
1.86 + /// Own: Title for phonenumber selection list
1.87 + HBufC* iQueryTitle;
1.88 + // Spare data
1.89 + TInt32 iSpare1;
1.90 + };
1.91 +
1.92 +#endif // __CPbkPhoneNumberSelect_H__
1.93 +
1.94 +// End of File