equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008 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: Declares settings list class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __BTHIDSETTINGLIST_H__ |
|
20 #define __BTHIDSETTINGLIST_H__ |
|
21 |
|
22 #include <aknsettingitemlist.h> |
|
23 |
|
24 class CBtHidSettings; |
|
25 class CBtHidSettingView; |
|
26 |
|
27 class CBTKeySettingList : public CAknSettingItemList |
|
28 { |
|
29 public: |
|
30 CBTKeySettingList(CBtHidSettings& aSettings, |
|
31 CBtHidSettingView* aBtHidSettingView); |
|
32 |
|
33 CAknSettingItem* CreateSettingItemL(TInt identifier); |
|
34 |
|
35 // handles the listbox events |
|
36 virtual void HandleListBoxEventL(CEikListBox* aListBox, |
|
37 TListBoxEvent aEventType); |
|
38 |
|
39 void EditCurrentItemL(TInt aCommand); |
|
40 |
|
41 private: |
|
42 void SizeChanged(); |
|
43 |
|
44 private: |
|
45 // From CCoeControl |
|
46 |
|
47 private: |
|
48 /*! A reference to the BtHidSettings object */ |
|
49 CBtHidSettings& iSettings; |
|
50 |
|
51 /*! Temporary layout code variable */ |
|
52 TInt iLayoutCode; |
|
53 |
|
54 CBtHidSettingView* iBtHidSettingView; |
|
55 }; |
|
56 |
|
57 #endif |
|
58 |
|