installationservices/swi/inc/progressbar.h
branchRCL_3
changeset 19 f8cf9d484c15
parent 0 ba25891c3a9e
child 25 7333d7932ef7
--- a/installationservices/swi/inc/progressbar.h	Tue May 25 12:50:16 2010 +0300
+++ b/installationservices/swi/inc/progressbar.h	Wed Jun 09 09:49:41 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -30,12 +30,15 @@
 	/// How many increments to update the bar on the uninstall of a file
 	const static TInt KProgressBarUninstallAmount=1;
 	
-	/// How many bytes to copy before updating the progress bar by one increment
-	const static TInt KProgressBarInstallChunkSize=32767;
+	/// How many bytes to copy before updating the progress bar by one increment.
+	const static TInt KProgressBarInstallChunkSize=1048576;  //1MB
 
 	/// The extra increment we add onto the end to make there always be some progress.
 	const static TInt KProgressBarEndIncrement=1;
 	
+	/// Percentage of completion required before updating the progress bar.
+    const static TInt KProgressBarIncrement=1;
+
 	/**
 	 * Utility function to get how much to update the progress bar for a certain
 	 * size of file copied. The smallest increment is KProgressBarEndIncrement since we always want to show that