equal
deleted
inserted
replaced
33 * @since Series 60 3.2 |
33 * @since Series 60 3.2 |
34 */ |
34 */ |
35 namespace XnNewstickerInterface |
35 namespace XnNewstickerInterface |
36 { |
36 { |
37 _LIT8(KType, "newsticker"); |
37 _LIT8(KType, "newsticker"); |
38 |
|
39 class MXnNewstickerCallbackInterface |
|
40 { |
|
41 public: // New functions |
|
42 |
|
43 /** |
|
44 * Called when the title has been shown and is now offscreen. |
|
45 * @param aTitleIndex The title that has been completely shown. |
|
46 */ |
|
47 virtual void TitleScrolled(TInt aTitleIndex) = 0; |
|
48 |
|
49 }; |
|
50 |
38 |
51 class MXnNewstickerInterface : public XnComponentInterface::MXnComponentInterface |
39 class MXnNewstickerInterface : public XnComponentInterface::MXnComponentInterface |
52 { |
40 { |
53 public: // New functions |
41 public: // New functions |
54 |
42 |
98 |
86 |
99 /** |
87 /** |
100 * Delete all titles. |
88 * Delete all titles. |
101 */ |
89 */ |
102 virtual void ClearTitles() = 0; |
90 virtual void ClearTitles() = 0; |
103 |
|
104 /** |
|
105 * Set callback interface. |
|
106 * @param aCallback The callback interface pointer. |
|
107 */ |
|
108 virtual void SetCallbackInterfaceL(MXnNewstickerCallbackInterface* aCallback) = 0; |
|
109 }; |
91 }; |
110 } |
92 } |
111 |
93 |
112 /** |
94 /** |
113 * @ingroup group_xnnewstickerfactory |
95 * @ingroup group_xnnewstickerfactory |
175 /** |
157 /** |
176 * Delete all titles. |
158 * Delete all titles. |
177 */ |
159 */ |
178 void ClearTitles(); |
160 void ClearTitles(); |
179 |
161 |
180 /** |
|
181 * Append the SVG title to be shown. |
|
182 * @param aByteData The SVG data. |
|
183 */ |
|
184 void AppendSvgTitleL(const TDesC8& aByteData); |
|
185 |
|
186 /** |
|
187 * Insert the SVG title to be shown. |
|
188 * @param aByteData The SVG data. |
|
189 */ |
|
190 void InsertSvgTitleL(const TDesC8& aByteData, TInt aIndex); |
|
191 |
|
192 /** |
|
193 * Set callback interface. |
|
194 * @param aCallback The callback interface pointer. |
|
195 */ |
|
196 void SetCallbackInterfaceL( |
|
197 XnNewstickerInterface::MXnNewstickerCallbackInterface* aCallback); |
|
198 |
|
199 /** |
162 /** |
200 * Create a component interface according to the given type. |
163 * Create a component interface according to the given type. |
201 * @param aType Type of the interface to create |
164 * @param aType Type of the interface to create |
202 * @return Created interface or NULL if the provided type is not supported. |
165 * @return Created interface or NULL if the provided type is not supported. |
203 */ |
166 */ |