equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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 |
|
18 |
|
19 #ifndef __EIKSLBPROT_H__ |
|
20 #define __EIKSLBPROT_H__ |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 #include <eikslb.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 class MTextListBoxModel; |
|
29 class CFont; |
|
30 class CSettingsListBoxData; |
|
31 class CEikListBox; |
|
32 class TRect; |
|
33 |
|
34 /** |
|
35 * Setting listbox item drawer that is used when 'settings protection' |
|
36 * feature is enabled. |
|
37 */ |
|
38 NONSHARABLE_CLASS(CSettingsProtListBoxItemDrawer) : public CSettingsListBoxItemDrawer |
|
39 { |
|
40 public: |
|
41 CSettingsProtListBoxItemDrawer( |
|
42 MTextListBoxModel* aTextListBoxModel, |
|
43 const CFont* aFont, |
|
44 CSettingsListBoxData* aSettingsData, |
|
45 CEikListBox* aListBox ); |
|
46 |
|
47 public: // from CTextListItemDrawer |
|
48 void DrawItemText( |
|
49 TInt aItemIndex, |
|
50 const TRect& aItemTextRect, |
|
51 TBool aItemIsCurrent, |
|
52 TBool aViewIsEmphasized, |
|
53 TBool aItemIsSelected) const; |
|
54 |
|
55 private: |
|
56 CEikListBox* iListBox; |
|
57 TInt iSpare; |
|
58 }; |
|
59 |
|
60 #endif // __EIKSLBPROT_H__ |
|
61 |
|
62 // End of File |