harvesterplugins/contacts/inc/ccontactsplugin.h
changeset 27 7a8855317cbd
parent 26 367228f82b66
equal deleted inserted replaced
26:367228f82b66 27:7a8855317cbd
    97 	 */
    97 	 */
    98 	void StartPluginL();
    98 	void StartPluginL();
    99 	void StartHarvestingL(const TDesC& aQualifiedBaseAppClass);
    99 	void StartHarvestingL(const TDesC& aQualifiedBaseAppClass);
   100 	void PausePluginL();
   100 	void PausePluginL();
   101 	void ResumePluginL();
   101 	void ResumePluginL();
       
   102 	void SaveL();
   102 	/**
   103 	/**
   103 	 * From MContactDbObserver, HandleDatabaseEventL.
   104 	 * From MContactDbObserver, HandleDatabaseEventL.
   104 	 */
   105 	 */
   105 	void HandleDatabaseEventL(TContactDbObserverEvent aEvent);
   106 	void HandleDatabaseEventL(TContactDbObserverEvent aEvent);
   106 
   107 
   141 	void CreateContactIndexItemL(TInt aContentId, TCPixActionType aActionType);
   142 	void CreateContactIndexItemL(TInt aContentId, TCPixActionType aActionType);
   142 	
   143 	
   143 	void OverWriteOrAddToQueueL(TRecord& aEntry);
   144 	void OverWriteOrAddToQueueL(TRecord& aEntry);
   144 	
   145 	
   145 	void IndexQueuedItems();
   146 	void IndexQueuedItems();
       
   147 	
       
   148 	void LoadL();	
   146 
   149 
   147 private:
   150 private:
   148 	
   151 	
       
   152 	/* File server connection */ 
       
   153 	RFs iFs;
       
   154 	/* Path to the queued records file */
       
   155 	TFileName iFilePath;	    
   149 	/** Contact change notifier */
   156 	/** Contact change notifier */
   150 	CContactChangeNotifier* iChangeNotifier;
   157 	CContactChangeNotifier* iChangeNotifier;
   151 	/** Sorted contact id array */
   158 	/** Sorted contact id array */
   152 	const CContactIdArray* iContacts;
   159 	const CContactIdArray* iContacts;
   153 	/** Contacts database. */
   160 	/** Contacts database. */