epoc32/include/mw/aknpopupfieldlist.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.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