diff -r cd2816114bd1 -r e64954c2c8e2 emailservices/emailserver/cmailhandlerplugin/inc/cmailcpsif.h --- a/emailservices/emailserver/cmailhandlerplugin/inc/cmailcpsif.h Wed Apr 14 15:42:15 2010 +0300 +++ b/emailservices/emailserver/cmailhandlerplugin/inc/cmailcpsif.h Tue Apr 27 16:20:14 2010 +0300 @@ -34,6 +34,18 @@ #include "cmailcpsifconsts.h" /** +* +*/ +class TInstIdInfo + { +public: + TBuf iCid; + TBool iUpdateNeeded; + TBool iWizardPublished; + }; + + +/** * CMail ContentPublishingService interface class * Class implementing interface towards LIW FW and Content Publishing Service * @@ -181,6 +193,20 @@ * */ void AddWidgetToHomescreenL( const TFSMailMsgId aMailbox ); + /** + * + */ + TInt GetWidgetInstanceId(const TDesC& aContentId); + + /** + * + */ + void SetUpdateNeeded( const TInt aInstance, const TBool aValue ); + + /** + * + */ + TBool UpdateNeeded( const TInt aInstance ); private: @@ -249,11 +275,6 @@ void RemoveL( TUint aId ); /** - * - */ - TInt FindWidgetInstanceId(const TDesC& aContentId); - - /** * Resets all the published content values on HomeScreen database */ void ResetPublishedDataL( const TDesC& aContentId ); @@ -267,30 +288,30 @@ public: // - RPointerArray iInstIdList; + RArray iInstIdList; private: - CMailCpsHandler* iMailCpsHandler; //uses + CMailCpsHandler* iMailCpsHandler; //uses // LIW IF - MLiwInterface* iMsgInterface; + MLiwInterface* iMsgInterface; // LIW Service handler - CLiwServiceHandler* iServiceHandler; + CLiwServiceHandler* iServiceHandler; // resource file offset TInt iResourceFileOffset; // UIDS of the published entities - TUint iMailboxNameUid; + TUint iMailboxNameUid; // message count of a mailbox - TUint iMessageCountUid; + TUint iMessageCountUid; // row count - TUint iRowCountUid; + TUint iRowCountUid; // message header details id - TUint iMsgUid; + TUint iMsgUid; // setup text and action id - TUint iSetupUid; - // is content allowed to publish - TBool iAllowedToPublish[KMaxMailboxCount]; - // From configuration: are homescreen notifications observed or ignored - TBool iIgnoreHsNotifications; - + TUint iSetupUid; + // is content allowed to publish + TBool iAllowedToPublish[KMaxMailboxCount]; + // From configuration: are homescreen notifications observed or ignored + TBool iIgnoreHsNotifications; + // CHsCcApiClient* iContentControlClient; };