epoc32/include/mw/aknpopupfieldlist.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /*
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * 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
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 // AknPopupFieldList.h
    19 //
    20 // Copyright (c) 2001 Symbian Ltd.  All rights reserved.
    21 //
    22 
    23 #if !defined(__AKNPOPUPFIELDLIST_H__)
    24 #define __AKNPOPUPFIELDLIST_H__
    25 
    26 #include "AknPopup.h"
    27 
    28 class MAknQueryValue;
    29 class TAknDesCArrayDecorator;
    30 class CEikButtonGroupContainer;
    31 
    32 /**
    33  * No longer implemented, do not use
    34  */
    35 class CAknPopupFieldList : public CEikBorderedControl, public MEikCommandObserver, public MEikListBoxObserver, public MCoeControlObserver
    36 	{
    37 public:
    38 	IMPORT_C static CAknPopupFieldList* NewL(CEikListBox* aListBox, TInt aCbaResource);
    39 	IMPORT_C void SetQueryValue(MAknQueryValue* aValue);
    40 	IMPORT_C void SetDecorator(TAknDesCArrayDecorator* aDecorator);
    41     // From CCoeControl
    42     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);	
    43 protected:
    44 	// From MEikCommandObserver
    45 	IMPORT_C void ProcessCommandL(TInt aCommandId);
    46 	// From MEikListBoxObserver
    47 	IMPORT_C void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
    48 	// From MCoeControlObserver
    49 	IMPORT_C void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
    50 protected:
    51 	IMPORT_C CAknPopupFieldList();
    52 	IMPORT_C ~CAknPopupFieldList();
    53 	IMPORT_C void ConstructL(CEikListBox* aListBox, TInt aCbaResource);
    54 	IMPORT_C virtual void AttemptExitL(TBool aAccept);
    55 	IMPORT_C CEikListBox* ListBox() const;
    56 protected: // from MObjectProvider
    57 	IMPORT_C TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
    58 private:
    59     /**
    60     * From CAknControl
    61     */
    62     IMPORT_C void* ExtensionInterface( TUid aInterface );
    63 private:
    64 	// the following members are owned
    65 	CEikButtonGroupContainer* iPopoutCba;
    66 	// the following members are not owned
    67 	MAknQueryValue* iValue;
    68 	TAknDesCArrayDecorator* iDecorator;
    69 	CEikListBox* iListBox;
    70 
    71     TInt iSpare[2];
    72 
    73 	__DECLARE_TEST;
    74 	};
    75 
    76 #endif