tsrc/CenrepEditor/inc/cenrepeditorlistbox2.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:31:01 +0100
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201032 Kit: 201035

/*
* 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 S60UILABLISTBOX2_H
#define S60UILABLISTBOX2_H

// INCLUDES
#include <e32base.h>
#include <AknSettingItemList.h>
#include "cenrepeditor.hrh"
#include <cenrepeditor.rsg>
#include "cenrepeditordocument.h"
#include "cenrepeditorview1container.h"
#include "cenrepeditormodel.h"


// FORWARD DECLARATIONS
class CCenrepEditorView2;
class CPhoneResources;
// CLASS DECLARATION

/**
* CAknExSettingListContainer  container control class.
*/
class COtherResourcesListbox : public CAknSettingItemList 
    {
    public:
        CAknSettingItem* CreateSettingItemL( TInt identifier );
        void SetData(COtherResources* iOtherResources); 

    public: // Implementation from base class
      //  void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);            
      // TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);            

        void EditItemL(TInt aIndex, TBool aCalledFromMenu);
        
    private:        
        void SizeChanged();
        CAknSettingItem* ConstructByValueL( TInt aIdentifier,  
                                            TInt& aVal );

    private:
        COtherResources* iOtherResources;
    };

#endif