diff -r 000000000000 -r f0cf47e981f9 tsrc/CenrepEditor/inc/cenrepeditorlistbox.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tsrc/CenrepEditor/inc/cenrepeditorlistbox.h Thu Dec 17 08:44:37 2009 +0200 @@ -0,0 +1,57 @@ +/* +* Copyright (c) 2009 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: +* +*/ +#ifndef S60UILABLISTBOX_H +#define S60UILABLISTBOX_H + +// INCLUDES +#include +#include +#include "cenrepeditor.hrh" +#include +#include "cenrepeditordocument.h" +#include "cenrepeditorview1container.h" +#include "cenrepeditormodel.h" + + +// FORWARD DECLARATIONS +class CCenrepEditorView1; +class CPhoneResources; +// CLASS DECLARATION + +/** +* CAknExSettingListContainer container control class. +*/ +class CPhoneResourcesListbox : public CAknSettingItemList + { + public: + CAknSettingItem* CreateSettingItemL( TInt identifier ); + void SetData(CPhoneResources* iPhoneResources); + + public: // Implementation from base class + // void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); + // TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); + + private: + void SizeChanged(); + CAknSettingItem* ConstructByValueL( TInt aIdentifier, + TInt& aVal ); + + private: + CPhoneResources* iPhoneResources; + }; + +#endif