1.1 --- a/epoc32/include/app/cpbksmsaddressselect.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/app/cpbksmsaddressselect.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,87 @@
1.4 -cpbksmsaddressselect.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 SMS address selection dialog.
1.20 +*
1.21 +*/
1.22 +
1.23 +
1.24 +#ifndef __CPbkSmsAddressSelect_H__
1.25 +#define __CPbkSmsAddressSelect_H__
1.26 +
1.27 +// INCLUDES
1.28 +#include "CPbkPhoneNumberSelectBase.h"
1.29 +
1.30 +// CLASS DECLARATION
1.31 +
1.32 +/**
1.33 + * Phonebook SMS address selection dialog.
1.34 + */
1.35 +class CPbkSmsAddressSelect : public CPbkPhoneNumberSelectBase
1.36 + {
1.37 + public: // Interface
1.38 + /**
1.39 + * Constructor.
1.40 + */
1.41 + IMPORT_C CPbkSmsAddressSelect();
1.42 +
1.43 + /**
1.44 + * Parameters for ExecuteLD(TParams&).
1.45 + *
1.46 + * @see CPbkAddressSelect::TBaseParams
1.47 + * @see ExecuteLD(TParams&)
1.48 + */
1.49 + class TParams : public CPbkAddressSelect::TBaseParams
1.50 + {
1.51 + public:
1.52 + /**
1.53 + * Constructor.
1.54 + * @param aContact Contact from which to select a phone number.
1.55 + */
1.56 + IMPORT_C TParams(const CPbkContactItem& aContact);
1.57 + };
1.58 +
1.59 + /**
1.60 + * Runs the SMS address selection query (if necessary).
1.61 + *
1.62 + * @param aParams Parameters and return values of the query.
1.63 + * @return ETrue if query was accepted, EFalse if canceled.
1.64 + * @see TParams
1.65 + */
1.66 + inline TBool ExecuteLD(TParams& aParams);
1.67 +
1.68 + /**
1.69 + * Destructor.
1.70 + */
1.71 + IMPORT_C ~CPbkSmsAddressSelect();
1.72 +
1.73 + private: // from CPbkAddressSelect
1.74 + IMPORT_C const TDesC& QueryTitleL();
1.75 + IMPORT_C TInt QuerySoftkeysResource() const;
1.76 +
1.77 + private: // Data
1.78 + /// Own: Title for phonenumber selection list
1.79 + HBufC* iQueryTitle;
1.80 + };
1.81 +
1.82 +
1.83 +// INLINE FUNCTIONS
1.84 +inline TBool CPbkSmsAddressSelect::ExecuteLD(TParams& aParams)
1.85 + {
1.86 + return CPbkAddressSelect::ExecuteLD(aParams);
1.87 + }
1.88 +
1.89 +#endif // __CPbkSmsAddressSelect_H__
1.90 +
1.91 +// End of File