epoc32/include/caliterator.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
--- a/epoc32/include/caliterator.h	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/caliterator.h	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,54 @@
-caliterator.h
+// Copyright (c) 2005-2009 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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef __CALITER_H__
+#define __CALITER_H__
+
+
+#include <e32base.h>
+
+class CCalSession;
+class CCalIteratorImpl;
+
+/** 
+An iterator for iterating though all the entries in the calendar store.
+
+This may be used by a synchronisation application to iterate all entries in the file to find entries that
+have been added\\deleted between two synchronisations. 
+
+The application must not create the entry view or instance view while iterating through the entries. 
+
+@publishedAll
+@released
+*/
+NONSHARABLE_CLASS(CCalIter) : public CBase
+
+    {
+public:
+	IMPORT_C static CCalIter* NewL(CCalSession& aSession);
+	IMPORT_C ~CCalIter();
+
+	IMPORT_C const TDesC8& FirstL();
+	IMPORT_C const TDesC8& NextL();
+
+private:
+	CCalIter();
+	void ConstructL(CCalSession& aSession);
+
+private:
+	CCalIteratorImpl* iCalIteratorImpl;
+	};
+	
+#endif // __CALITER_H__