epoc32/include/mw/aknpopupfieldlist.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/aknpopupfieldlist.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/aknpopupfieldlist.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,76 @@
     1.4 -aknpopupfieldlist.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 +*
    1.20 +*/
    1.21 +
    1.22 +// AknPopupFieldList.h
    1.23 +//
    1.24 +// Copyright (c) 2001 Symbian Ltd.  All rights reserved.
    1.25 +//
    1.26 +
    1.27 +#if !defined(__AKNPOPUPFIELDLIST_H__)
    1.28 +#define __AKNPOPUPFIELDLIST_H__
    1.29 +
    1.30 +#include "AknPopup.h"
    1.31 +
    1.32 +class MAknQueryValue;
    1.33 +class TAknDesCArrayDecorator;
    1.34 +class CEikButtonGroupContainer;
    1.35 +
    1.36 +/**
    1.37 + * No longer implemented, do not use
    1.38 + */
    1.39 +class CAknPopupFieldList : public CEikBorderedControl, public MEikCommandObserver, public MEikListBoxObserver, public MCoeControlObserver
    1.40 +	{
    1.41 +public:
    1.42 +	IMPORT_C static CAknPopupFieldList* NewL(CEikListBox* aListBox, TInt aCbaResource);
    1.43 +	IMPORT_C void SetQueryValue(MAknQueryValue* aValue);
    1.44 +	IMPORT_C void SetDecorator(TAknDesCArrayDecorator* aDecorator);
    1.45 +    // From CCoeControl
    1.46 +    IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);	
    1.47 +protected:
    1.48 +	// From MEikCommandObserver
    1.49 +	IMPORT_C void ProcessCommandL(TInt aCommandId);
    1.50 +	// From MEikListBoxObserver
    1.51 +	IMPORT_C void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
    1.52 +	// From MCoeControlObserver
    1.53 +	IMPORT_C void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
    1.54 +protected:
    1.55 +	IMPORT_C CAknPopupFieldList();
    1.56 +	IMPORT_C ~CAknPopupFieldList();
    1.57 +	IMPORT_C void ConstructL(CEikListBox* aListBox, TInt aCbaResource);
    1.58 +	IMPORT_C virtual void AttemptExitL(TBool aAccept);
    1.59 +	IMPORT_C CEikListBox* ListBox() const;
    1.60 +protected: // from MObjectProvider
    1.61 +	IMPORT_C TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
    1.62 +private:
    1.63 +    /**
    1.64 +    * From CAknControl
    1.65 +    */
    1.66 +    IMPORT_C void* ExtensionInterface( TUid aInterface );
    1.67 +private:
    1.68 +	// the following members are owned
    1.69 +	CEikButtonGroupContainer* iPopoutCba;
    1.70 +	// the following members are not owned
    1.71 +	MAknQueryValue* iValue;
    1.72 +	TAknDesCArrayDecorator* iDecorator;
    1.73 +	CEikListBox* iListBox;
    1.74 +
    1.75 +    TInt iSpare[2];
    1.76 +
    1.77 +	__DECLARE_TEST;
    1.78 +	};
    1.79 +
    1.80 +#endif