diff -r 7d8c8d8f5eab -r 68cdadcf169e harvesterplugins/calendar/inc/ccalendarplugin.h --- a/harvesterplugins/calendar/inc/ccalendarplugin.h Wed Aug 18 09:49:49 2010 +0300 +++ b/harvesterplugins/calendar/inc/ccalendarplugin.h Thu Sep 02 20:27:46 2010 +0300 @@ -83,7 +83,32 @@ void DelayedCallbackL(TInt aCode); void DelayedError(TInt aError); +#ifdef USE_HIGHLIGHTER +public: // AddExcerpt function + /* + * Add the value to excerpt field + * @param TDesC& aExcerptValue excerpt value + */ + void AddToFieldExcerptL(const TDesC& aExcerptValue); + + +private: + + /* + * reset the excerpt + */ + void ResetExcerpt(); + +#endif + /* + * For date and time get discriptor value in the passed format + * @param TDateTime& datetime: date time to be formatted + * @param const TDesC& aFormat: to this format + * @param TDes& dateString: formated date + */ + + void GetDateTimeDescriptorL(TDateTime& datetime, const TDesC& aFormat, TDes& dateString); private: // New functions void HandleChangedEntryL(const TCalChangeEntry& changedEntry); @@ -124,7 +149,10 @@ // Start harvesting TBool iStartHarvesting; - +#ifdef USE_HIGHLIGHTER + // Excerpt field + HBufC* iExcerpt; +#endif //for unit testing. #ifdef HARVESTERPLUGINTESTER_FRIEND friend class CHarvesterPluginTester;