equal
deleted
inserted
replaced
59 * @param aRowNumber specifies the row on widget UI |
59 * @param aRowNumber specifies the row on widget UI |
60 * @param aMailboxName contains name of the mailbox |
60 * @param aMailboxName contains name of the mailbox |
61 */ |
61 */ |
62 void PublishActiveMailboxNameL( const TInt aInstance, |
62 void PublishActiveMailboxNameL( const TInt aInstance, |
63 const TInt aRowNumber, |
63 const TInt aRowNumber, |
64 const TDesC& aMailboxName, |
64 const TDesC& aMailboxName); |
65 const TInt aMailBoxCount, |
|
66 TFSMailMsgId aMailBoxId, |
|
67 TFSMailMsgId aFolderId ); |
|
68 |
65 |
69 /** |
66 /** |
70 * Publishes mailbox name to widget and action related to widget |
67 * Publishes mailbox name to widget and action related to widget |
71 * @param aInstance specifies the widget instance on homescreen |
68 * @param aInstance specifies the widget instance on homescreen |
72 * @param aMailboxName specifies the text to be published |
69 * @param aMailboxName specifies the text to be published |
171 |
168 |
172 /** |
169 /** |
173 * |
170 * |
174 */ |
171 */ |
175 TInt GetWidgetInstanceCount(); |
172 TInt GetWidgetInstanceCount(); |
176 |
173 |
177 private: |
174 private: |
178 |
175 |
179 CMailCpsIf( CMailCpsHandler* aMailCpsHandler ); |
176 CMailCpsIf( CMailCpsHandler* aMailCpsHandler ); |
180 void ConstructL(); |
177 void ConstructL(); |
181 |
178 |
212 const TDesC& aPublisherId, |
209 const TDesC& aPublisherId, |
213 const TDesC& aContentType, |
210 const TDesC& aContentType, |
214 const TDesC& aContentId, |
211 const TDesC& aContentId, |
215 const TDesC& aTextToAdd, |
212 const TDesC& aTextToAdd, |
216 const TDesC& aKey, |
213 const TDesC& aKey, |
217 const TDesC8& aTrigger, |
214 const TDesC8& aTrigger); |
218 const TInt aMailBoxCount, |
|
219 TFSMailMsgId aMailBoxId, |
|
220 TFSMailMsgId aFolderId ); |
|
221 |
215 |
222 /** |
216 /** |
223 * Publishes image |
217 * Publishes image |
224 * @param aContentId |
218 * @param aContentId |
225 * @param aResult |
219 * @param aResult |
232 const TDesC& aContentId, |
226 const TDesC& aContentId, |
233 const TDesC& aContentType, |
227 const TDesC& aContentType, |
234 const TDesC8& aKey, |
228 const TDesC8& aKey, |
235 TInt aBitmapId, |
229 TInt aBitmapId, |
236 TInt aBitmapMaskId, |
230 TInt aBitmapMaskId, |
237 TFSMailMsgId aMailBoxId ); |
231 TFSMailMsgId aMailBoxId, |
|
232 const TDesC& aBrandId ); |
238 |
233 |
239 /** |
234 /** |
240 * Removes a published entity from Content Publishing Service |
235 * Removes a published entity from Content Publishing Service |
241 * @param aId of the published data |
236 * @param aId of the published data |
242 */ |
237 */ |
244 |
239 |
245 /** |
240 /** |
246 * |
241 * |
247 */ |
242 */ |
248 TInt FindWidgetInstanceId(const TDesC& aContentId); |
243 TInt FindWidgetInstanceId(const TDesC& aContentId); |
249 |
244 |
250 /** |
245 /** |
251 * Resets all the published content values on HomeScreen database |
246 * Resets all the published content values on HomeScreen database |
252 */ |
247 */ |
253 void ResetPublishedDataL( const TDesC& aContentId ); |
248 void ResetPublishedDataL( const TDesC& aContentId ); |
254 |
249 |
273 TUint iMsgUid; |
268 TUint iMsgUid; |
274 // setup text and action id |
269 // setup text and action id |
275 TUint iSetupUid; |
270 TUint iSetupUid; |
276 // is content allowed to publish |
271 // is content allowed to publish |
277 TBool iAllowedToPublish[KMaxMailboxCount]; |
272 TBool iAllowedToPublish[KMaxMailboxCount]; |
278 // is widget inactive |
|
279 TBool iInactive[KMaxMailboxCount]; |
|
280 // From configuration: are homescreen notifications observed or ignored |
273 // From configuration: are homescreen notifications observed or ignored |
281 TBool iIgnoreHsNotifications; |
274 TBool iIgnoreHsNotifications; |
282 }; |
275 }; |
283 |
276 |
284 #endif /*CMAILCPSIF_H_*/ |
277 #endif /*CMAILCPSIF_H_*/ |