tsrc/CenrepEditor/inc/cenrepeditorlistbox.h
changeset 22 496ad160a278
parent 0 f0cf47e981f9
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef S60UILABLISTBOX_H
       
    18 #define S60UILABLISTBOX_H
       
    19 
       
    20 // INCLUDES
       
    21 #include <e32base.h>
       
    22 #include <AknSettingItemList.h>
       
    23 #include "cenrepeditor.hrh"
       
    24 #include <cenrepeditor.rsg>
       
    25 #include "cenrepeditordocument.h"
       
    26 #include "cenrepeditorview1container.h"
       
    27 #include "cenrepeditormodel.h"
       
    28 
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CCenrepEditorView1;
       
    32 class CPhoneResources;
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 * CAknExSettingListContainer  container control class.
       
    37 */
       
    38 class CPhoneResourcesListbox : public CAknSettingItemList 
       
    39     {
       
    40     public:
       
    41         CAknSettingItem* CreateSettingItemL( TInt identifier );
       
    42         void SetData(CPhoneResources* iPhoneResources); 
       
    43 
       
    44     public: // Implementation from base class
       
    45       //  void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);            
       
    46       // TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);            
       
    47 
       
    48     private:        
       
    49         void SizeChanged();
       
    50         CAknSettingItem* ConstructByValueL( TInt aIdentifier,  
       
    51                                             TInt& aVal );
       
    52 
       
    53     private:
       
    54         CPhoneResources* iPhoneResources;        
       
    55     };
       
    56 
       
    57 #endif