|
1 /* |
|
2 * Copyright (c) 2006 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 CCALENATTACHMENTITEMDRAWER_H |
|
20 #define CCALENATTACHMENTITEMDRAWER_H |
|
21 |
|
22 // ========== INCLUDE FILES ================================ |
|
23 #include <aknlists.h> // for CAknDoubleLargeStyleListBox |
|
24 |
|
25 class CCalenAttachmentModel; |
|
26 class CCalenAttachmentsListBox; |
|
27 class CFormattedCellListBoxData; |
|
28 class CFont; |
|
29 class MTextListBoxModel; |
|
30 |
|
31 // ========== CLASS DECLARATION ============================ |
|
32 |
|
33 /** |
|
34 * |
|
35 */ |
|
36 class CCalenAttachmentItemDrawer : public CDoubleLargeStyleItemDrawer |
|
37 { |
|
38 public: |
|
39 |
|
40 CCalenAttachmentItemDrawer( |
|
41 MTextListBoxModel* aTextListBoxModel, |
|
42 const CFont* aFont, |
|
43 CFormattedCellListBoxData* aFormattedCellData, |
|
44 CCalenAttachmentModel& aAttachmentModel, |
|
45 CCalenAttachmentsListBox* aAttaListBox); |
|
46 |
|
47 |
|
48 public: // From CDoubleLargeStyleItemDrawer |
|
49 |
|
50 void DrawItem( |
|
51 TInt aItemIndex, |
|
52 TPoint aItemRectPos, |
|
53 TBool aItemIsSelected, |
|
54 TBool aItemIsCurrent, |
|
55 TBool aViewIsEmphasized, |
|
56 TBool aViewIsDimmed) const; |
|
57 |
|
58 |
|
59 private: // data |
|
60 |
|
61 CCalenAttachmentModel& iAttachmentModel; |
|
62 }; |
|
63 |
|
64 #endif // CCALENATTACHMENTITEMDRAWER_H |
|
65 |
|
66 // End of File |