cryptoservices/filebasedcertificateandkeystores/test/certtool/certtool_commands.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 29 ece3df019add
--- a/cryptoservices/filebasedcertificateandkeystores/test/certtool/certtool_commands.h	Fri Oct 02 13:15:59 2009 +0300
+++ b/cryptoservices/filebasedcertificateandkeystores/test/certtool/certtool_commands.h	Mon Oct 12 10:17:04 2009 +0300
@@ -109,10 +109,11 @@
 	static CCertToolList* NewL(CCertToolController* aController);
 	~CCertToolList();
 	void ConstructL();
+	void InitializeIterations();	
 
 public: // From CCertToolCommand
 	void DoCommandL(CUnifiedCertStore& aCertStore, CKeyToolParameters* aParam);
-	
+		
 public: // From CActive
 	void RunL();
 	void DoCancel();
@@ -146,6 +147,16 @@
 		EIntermediate,
 		EGetTrust,
 		} iState;			
+
+	// Number of certificates that have to be listed up to the current iteration.
+	TInt iCurrentListCount;	
+	// Keeps track of the number of iterations left.
+	TInt iNumberOfIterationsLeft;
+	// List offset for the last iteration if total number of certificates is not an exact
+	// multiple of default LIST_COUNT.
+	TInt iLastIterationOffset;
+	// Default list offset for each iteration.
+	TInt iCurrentListOffset;
 	};