mmappcomponents/harvester/filehandler/inc/mpxharvesterdb.h
changeset 44 d141fc1ad77b
parent 25 d881023c13eb
--- a/mmappcomponents/harvester/filehandler/inc/mpxharvesterdb.h	Wed Jun 23 18:45:38 2010 +0300
+++ b/mmappcomponents/harvester/filehandler/inc/mpxharvesterdb.h	Tue Jul 06 14:48:59 2010 +0300
@@ -51,9 +51,10 @@
     * Two-phased constructor
     * @param aDrive drive of the database
     * @param aFs file session
+    * @param aEMMC whether the system has an internal drive 
     * @return new instance of CMPXHarvesterDB
     */
-    static CMPXHarvesterDB* NewL( TDriveNumber aDrive, RFs& aFs );
+    static CMPXHarvesterDB* NewL( TDriveNumber aDrive, RFs& aFs, TBool aEMMC = EFalse );
 
     /**
     * Virtual destructor
@@ -209,7 +210,7 @@
     /**
     * Default constructor
     */
-    CMPXHarvesterDB( TDriveNumber aDrive, RFs& aFs  );
+    CMPXHarvesterDB( TDriveNumber aDrive, RFs& aFs, TBool aEMMC );
 
     /**
     * 2nd phase constructor
@@ -219,6 +220,7 @@
 private: // data
     TDriveNumber      iDrive;
     RFs&              iFs;
+    TBool             iEMMC;      //Has system an internal drive
     // Internal database
     CFileStore*       iStore;
     RDbStoreDatabase* iDatabase;  // Local single client db