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 S60UILABLISTBOX2_H |
|
18 #define S60UILABLISTBOX2_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 "cenrepeditorview3container.h" |
|
27 #include "cenrepeditormodel.h" |
|
28 |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class CCenrepEditorView3; |
|
32 class CMusApplication; |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * CAknExSettingListContainer container control class. |
|
37 */ |
|
38 class CMusApplicationListbox : public CAknSettingItemList |
|
39 { |
|
40 public: |
|
41 CAknSettingItem* CreateSettingItemL( TInt identifier ); |
|
42 void SetData(CMusApplication* iMusApplication); |
|
43 |
|
44 |
|
45 public: // Implementation from base class |
|
46 void EditItemL ( TInt aIndex, TBool aCalledFromMenu ); |
|
47 void ChangeSelectedItemL(); |
|
48 void LoadSettingValuesL(); |
|
49 void SaveSettingValuesL(); |
|
50 virtual TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
|
51 // void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); |
|
52 // TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
|
53 |
|
54 private: |
|
55 void SizeChanged(); |
|
56 |
|
57 private: |
|
58 CMusApplication* iMusApplication; |
|
59 }; |
|
60 |
|
61 #endif |
|