harvesterplugins/calendar/inc/ccalendarplugin.h
changeset 18 1edf350003c5
parent 15 df6898e696c6
child 26 367228f82b66
--- a/harvesterplugins/calendar/inc/ccalendarplugin.h	Mon Aug 09 12:23:41 2010 +0530
+++ b/harvesterplugins/calendar/inc/ccalendarplugin.h	Wed Aug 25 13:02:31 2010 +0530
@@ -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;