1.1 --- a/epoc32/include/app/cpbkpocaddressselect.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/app/cpbkpocaddressselect.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,90 @@
1.4 -cpbkpocaddressselect.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 POC number selection dialog. This dialog implements the
1.20 +* POC number selection logic of Phonebook.
1.21 +*
1.22 +*/
1.23 +
1.24 +
1.25 +#ifndef __CPbkPocAddressSelect_H__
1.26 +#define __CPbkPocAddressSelect_H__
1.27 +
1.28 +// INCLUDES
1.29 +#include "CPbkAddressSelect.h"
1.30 +
1.31 +// CLASS DECLARATION
1.32 +
1.33 +/**
1.34 + * Phonebook POC number selection dialog. This dialog implements the
1.35 + * POC number selection logic of Phonebook.
1.36 + */
1.37 +class CPbkPocAddressSelect : public CPbkAddressSelect
1.38 + {
1.39 + public: // Interface
1.40 + /**
1.41 + * Constructor.
1.42 + */
1.43 + IMPORT_C CPbkPocAddressSelect();
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 aContactItem Contact from which to select a POC address.
1.57 + */
1.58 + IMPORT_C TParams(const CPbkContactItem& aContact);
1.59 +
1.60 + private: // Spare data
1.61 + TInt32 iSpare1;
1.62 + };
1.63 +
1.64 + /**
1.65 + * Runs the POC address selection query (if necessary).
1.66 + *
1.67 + * @param aParams Parameters and return values of the query.
1.68 + * @return ETrue if query was accepted, EFalse if canceled.
1.69 + * @see TParams
1.70 + */
1.71 + IMPORT_C TBool ExecuteLD(TParams& aParams);
1.72 +
1.73 + /**
1.74 + * Destructor.
1.75 + */
1.76 + IMPORT_C ~CPbkPocAddressSelect();
1.77 +
1.78 + private: // from CPbkAddressSelect
1.79 + IMPORT_C TBool AddressField(const TPbkContactItemField& aField) const;
1.80 + IMPORT_C void NoAddressesL();
1.81 + IMPORT_C const TDesC& QueryTitleL();
1.82 + IMPORT_C TInt QuerySoftkeysResource() const;
1.83 +
1.84 + private: // data members
1.85 + /// Own: Title for POC number selection list
1.86 + HBufC* iQueryTitle;
1.87 + // Spare data
1.88 + TInt32 iSpare1;
1.89 + };
1.90 +
1.91 +
1.92 +#endif // __CPbkPocAddressSelect_H__
1.93 +
1.94 +// End of File