|
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 |
|
18 #ifndef C_CLISTONEROWWITHICONWITHBUBBLE_H |
|
19 #define C_CLISTONEROWWITHICONWITHBUBBLE_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32std.h> |
|
23 #include <w32std.h> |
|
24 |
|
25 #include "peninputlist.h" |
|
26 #include "peninputlistonerowwithicon.h" |
|
27 #include "peninputcandidate.h" |
|
28 |
|
29 // class forward decalaration |
|
30 class MFepCtrlDropdownListContext; |
|
31 |
|
32 /** |
|
33 * One rows list without icon for drop-down list |
|
34 * |
|
35 * One rows list without icon for drop-down list |
|
36 * |
|
37 * @lib FepCtrlDropdownList.lib |
|
38 * @since S60 v3.2 |
|
39 */ |
|
40 NONSHARABLE_CLASS(CListOneRowWithIconWithBubble) : public CListOneRowWithIcon |
|
41 { |
|
42 |
|
43 public: // Methods |
|
44 |
|
45 /** |
|
46 * Create a object of CListOneRowWithIcon, static method |
|
47 * |
|
48 * @since S60 v3.2 |
|
49 * @param aManager Pointer to the list manager |
|
50 * @param iOwner The drop down list |
|
51 * @return CListOneRowWithIcon pointer. |
|
52 */ |
|
53 static CListOneRowWithIconWithBubble* NewL(CListManager* aManager, |
|
54 MFepCtrlDropdownListContext* iOwner); |
|
55 |
|
56 /** |
|
57 * Destructor |
|
58 * |
|
59 * @since S60 v3.2 |
|
60 */ |
|
61 virtual ~CListOneRowWithIconWithBubble(); |
|
62 |
|
63 // from base class CListOneRowWithIcon |
|
64 |
|
65 /** |
|
66 * Deal with the pointer down event. |
|
67 * |
|
68 * @since S60 v3.2 |
|
69 * @param aPoint The point of the mouse |
|
70 * @return None. |
|
71 */ |
|
72 virtual void HandlePointerDownL(const TPoint& aPoint); |
|
73 |
|
74 /** |
|
75 * Deal with the pointer up event. |
|
76 * |
|
77 * @since S60 v3.2 |
|
78 * @param aPoint The point of the mouse |
|
79 * @return None. |
|
80 */ |
|
81 virtual void HandlePointerUpL(const TPoint& aPoint); |
|
82 |
|
83 /** |
|
84 * Deal with the pointer drag event. |
|
85 * |
|
86 * @since S60 v3.2 |
|
87 * @param aPoint The point of the mouse |
|
88 * @return None. |
|
89 */ |
|
90 virtual void HandlePointerDragL(const TPoint& aPoint); |
|
91 |
|
92 // from base class CList |
|
93 /** |
|
94 * Deal with the pointer leave event. |
|
95 * |
|
96 * @since S60 v3.2 |
|
97 * @param aPoint The point of the mouse |
|
98 * @return None. |
|
99 */ |
|
100 virtual void HandlePointerLeave(const TPoint& aPoint); |
|
101 |
|
102 protected: // Methods |
|
103 |
|
104 /** |
|
105 * Constructor. |
|
106 * |
|
107 * @param aManager The list manager |
|
108 * @param aOwner The context of the drop down list |
|
109 * @since S60 v3.2 |
|
110 */ |
|
111 CListOneRowWithIconWithBubble(CListManager* aManager, MFepCtrlDropdownListContext* aOwner); |
|
112 |
|
113 // from base class CList |
|
114 |
|
115 /** |
|
116 * Compare rects equal or not. |
|
117 * |
|
118 * @since S60 v3.2 |
|
119 * @param aSrcRect The source rect |
|
120 * @param aDesRect The destination rect |
|
121 * @return ETrue If the two rects are equal. |
|
122 */ |
|
123 virtual TBool CompareRect(const TRect& aSrcRect, const TRect& aDesRect); |
|
124 |
|
125 protected: |
|
126 |
|
127 |
|
128 protected: |
|
129 |
|
130 |
|
131 }; |
|
132 |
|
133 #endif //C_CLISTONEROWWITHICONWITHBUBBLE_H |
|
134 |
|
135 // End Of File |