mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h
branchRCL_3
changeset 13 c8156a91d13c
parent 0 ff3acec5bc43
child 15 a1247965635c
--- a/mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h	Mon Mar 15 12:40:11 2010 +0200
+++ b/mpxplugins/viewplugins/views/waitnotedialog/inc/mpxscanningdialog.h	Wed Mar 31 21:26:33 2010 +0300
@@ -92,14 +92,29 @@
      * @param aMessage collection message
      */
     void DoHandleCollectionMessageL( const CMPXMessage& aMessage );
-
+    
+    /**
+     * Helper function used inside DoHandleCollectionMessageL
+     */
+    inline TInt GetTrackCountL(TInt aDrive,TInt aColDbId, TInt aColTable);
+    
 private: // data
     MMPXHarvesterUtility*  iHarvesterUtil;
     
     TInt                   iNumItemsAdded;
     TInt                   iScanningError;
-    TInt                   iInitialMMCCount;
     TInt                   iTotalNewTracks;
+    /**
+     * The total songs in  (Mass Storage + MMC) CollectionDB before refresh
+     */
+    TInt                   iInitialCount;
+    /**
+     * Flag of music library
+     * ETrue when total songs in CollectionDB changed 
+     *       or new songs added to CollectionDB
+     * EFalse when CollectionDB has no change
+     */
+    TBool                  isCollectionDBChanged;
     };