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