30 #include <hscontentinfo.h> |
30 #include <hscontentinfo.h> |
31 #include <hscontentinfoarray.h> |
31 #include <hscontentinfoarray.h> |
32 |
32 |
33 #include "cmailcpshandler.h" |
33 #include "cmailcpshandler.h" |
34 #include "cmailcpsifconsts.h" |
34 #include "cmailcpsifconsts.h" |
|
35 |
|
36 /** |
|
37 * |
|
38 */ |
|
39 class TInstIdInfo |
|
40 { |
|
41 public: |
|
42 TBuf<KMaxDescLen> iCid; |
|
43 TBool iUpdateNeeded; |
|
44 TBool iWizardPublished; |
|
45 }; |
|
46 |
35 |
47 |
36 /** |
48 /** |
37 * CMail ContentPublishingService interface class |
49 * CMail ContentPublishingService interface class |
38 * Class implementing interface towards LIW FW and Content Publishing Service |
50 * Class implementing interface towards LIW FW and Content Publishing Service |
39 * |
51 * |
265 virtual void NotifyViewListChanged(); // MHsContentControl |
286 virtual void NotifyViewListChanged(); // MHsContentControl |
266 virtual void NotifyAppListChanged(); // MHsContentControl |
287 virtual void NotifyAppListChanged(); // MHsContentControl |
267 |
288 |
268 public: |
289 public: |
269 // |
290 // |
270 RPointerArray<HBufC> iInstIdList; |
291 RArray<TInstIdInfo> iInstIdList; |
271 private: |
292 private: |
272 CMailCpsHandler* iMailCpsHandler; //uses |
293 CMailCpsHandler* iMailCpsHandler; //uses |
273 // LIW IF |
294 // LIW IF |
274 MLiwInterface* iMsgInterface; |
295 MLiwInterface* iMsgInterface; |
275 // LIW Service handler |
296 // LIW Service handler |
276 CLiwServiceHandler* iServiceHandler; |
297 CLiwServiceHandler* iServiceHandler; |
277 // resource file offset |
298 // resource file offset |
278 TInt iResourceFileOffset; |
299 TInt iResourceFileOffset; |
279 // UIDS of the published entities |
300 // UIDS of the published entities |
280 TUint iMailboxNameUid; |
301 TUint iMailboxNameUid; |
281 // message count of a mailbox |
302 // message count of a mailbox |
282 TUint iMessageCountUid; |
303 TUint iMessageCountUid; |
283 // row count |
304 // row count |
284 TUint iRowCountUid; |
305 TUint iRowCountUid; |
285 // message header details id |
306 // message header details id |
286 TUint iMsgUid; |
307 TUint iMsgUid; |
287 // setup text and action id |
308 // setup text and action id |
288 TUint iSetupUid; |
309 TUint iSetupUid; |
289 // is content allowed to publish |
310 // is content allowed to publish |
290 TBool iAllowedToPublish[KMaxMailboxCount]; |
311 TBool iAllowedToPublish[KMaxMailboxCount]; |
291 // From configuration: are homescreen notifications observed or ignored |
312 // From configuration: are homescreen notifications observed or ignored |
292 TBool iIgnoreHsNotifications; |
313 TBool iIgnoreHsNotifications; |
293 |
314 // |
294 CHsCcApiClient* iContentControlClient; |
315 CHsCcApiClient* iContentControlClient; |
295 }; |
316 }; |
296 |
317 |
297 #endif /*CMAILCPSIF_H_*/ |
318 #endif /*CMAILCPSIF_H_*/ |