mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h
branchRCL_3
changeset 15 a1247965635c
parent 13 c8156a91d13c
child 21 cb96c29156b2
equal deleted inserted replaced
14:c54d95799c80 15:a1247965635c
    95     
    95     
    96     /**
    96     /**
    97      * Helper function used inside DoHandleCollectionMessageL
    97      * Helper function used inside DoHandleCollectionMessageL
    98      */
    98      */
    99     inline TInt GetTrackCountL(TInt aDrive,TInt aColDbId, TInt aColTable);
    99     inline TInt GetTrackCountL(TInt aDrive,TInt aColDbId, TInt aColTable);
       
   100     static TInt AsyncCallHarvesterEventL( TAny* aSelf );
       
   101 private:
       
   102     enum TAsyncEvent
       
   103     	{
       
   104     	ECmdIdle,
       
   105     	ECmdScan,
       
   106     	ECmdCancleScan   	
       
   107     	};
   100     
   108     
   101 private: // data
   109 private: // data
   102     MMPXHarvesterUtility*  iHarvesterUtil;
   110     MMPXHarvesterUtility*  iHarvesterUtil;
   103     
   111     
   104     TInt                   iNumItemsAdded;
   112     TInt                   iNumItemsAdded;
   113      * ETrue when total songs in CollectionDB changed 
   121      * ETrue when total songs in CollectionDB changed 
   114      *       or new songs added to CollectionDB
   122      *       or new songs added to CollectionDB
   115      * EFalse when CollectionDB has no change
   123      * EFalse when CollectionDB has no change
   116      */
   124      */
   117     TBool                  isCollectionDBChanged;
   125     TBool                  isCollectionDBChanged;
       
   126     CAsyncCallBack*        iAsyncCallBack; //owned
       
   127     TAsyncEvent            iAsyncEvent;
       
   128     TBool                  iCancelScan;
   118     };
   129     };
   119 
   130 
   120 
   131 
   121 #endif // C_MPXSCANNINGNOTEDIALOG_H
   132 #endif // C_MPXSCANNINGNOTEDIALOG_H