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.

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

// AknPopupFieldList.h
//
// Copyright (c) 2001 Symbian Ltd.  All rights reserved.
//

#if !defined(__AKNPOPUPFIELDLIST_H__)
#define __AKNPOPUPFIELDLIST_H__

#include "aknPopup.h"

class MAknQueryValue;
class TAknDesCArrayDecorator;
class CEikButtonGroupContainer;

/**
 * No longer implemented, do not use
 */
class CAknPopupFieldList : public CEikBorderedControl, public MEikCommandObserver, public MEikListBoxObserver, public MCoeControlObserver
	{
public:
	IMPORT_C static CAknPopupFieldList* NewL(CEikListBox* aListBox, TInt aCbaResource);
	IMPORT_C void SetQueryValue(MAknQueryValue* aValue);
	IMPORT_C void SetDecorator(TAknDesCArrayDecorator* aDecorator);
    // From CCoeControl
    IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);	
protected:
	// From MEikCommandObserver
	IMPORT_C void ProcessCommandL(TInt aCommandId);
	// From MEikListBoxObserver
	IMPORT_C void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
	// From MCoeControlObserver
	IMPORT_C void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
protected:
	IMPORT_C CAknPopupFieldList();
	IMPORT_C ~CAknPopupFieldList();
	IMPORT_C void ConstructL(CEikListBox* aListBox, TInt aCbaResource);
	IMPORT_C virtual void AttemptExitL(TBool aAccept);
	IMPORT_C CEikListBox* ListBox() const;
protected: // from MObjectProvider
	IMPORT_C TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
private:
    /**
    * From CAknControl
    */
    IMPORT_C void* ExtensionInterface( TUid aInterface );
private:
	// the following members are owned
	CEikButtonGroupContainer* iPopoutCba;
	// the following members are not owned
	MAknQueryValue* iValue;
	TAknDesCArrayDecorator* iDecorator;
	CEikListBox* iListBox;

    TInt iSpare[2];

	__DECLARE_TEST;
	};

#endif