mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h
branchRCL_3
changeset 15 a1247965635c
parent 13 c8156a91d13c
child 21 cb96c29156b2
--- a/mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h	Wed Apr 14 15:54:18 2010 +0300
+++ b/mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h	Tue Apr 27 16:34:37 2010 +0300
@@ -97,6 +97,14 @@
      * Helper function used inside DoHandleCollectionMessageL
      */
     inline TInt GetTrackCountL(TInt aDrive,TInt aColDbId, TInt aColTable);
+    static TInt AsyncCallHarvesterEventL( TAny* aSelf );
+private:
+    enum TAsyncEvent
+    	{
+    	ECmdIdle,
+    	ECmdScan,
+    	ECmdCancleScan   	
+    	};
     
 private: // data
     MMPXHarvesterUtility*  iHarvesterUtil;
@@ -115,6 +123,9 @@
      * EFalse when CollectionDB has no change
      */
     TBool                  isCollectionDBChanged;
+    CAsyncCallBack*        iAsyncCallBack; //owned
+    TAsyncEvent            iAsyncEvent;
+    TBool                  iCancelScan;
     };