--- a/epoc32/include/app/calinstance.h Wed Mar 31 12:27:01 2010 +0100
+++ b/epoc32/include/app/calinstance.h Wed Mar 31 12:33:34 2010 +0100
@@ -1,9 +1,9 @@
// 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
+// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
@@ -17,10 +17,26 @@
#define __CALINSTANCE_H__
#include <caltime.h>
+#include <calcommon.h>
class CCalEntry;
class CCalInstanceImpl;
+/** Instance ID to identify an instance uniquely
+
+@publishedAll
+@released
+ */
+struct TCalInstanceId
+ {
+ /* Entry Local ID */
+ TCalLocalUid iEntryLocalId;
+ /* Instance time */
+ TCalTime iInstanceTime;
+ /* Collection Id that the instance belongs to */
+ TCalCollectionId iCollectionId;
+ };
+
/** Class representing an instance of a calendar entry.
A calendar entry (CCalEntry) can have any number of instances.
@@ -42,6 +58,7 @@
IMPORT_C TCalTime Time() const;
IMPORT_C TCalTime StartTimeL() const;
IMPORT_C TCalTime EndTimeL() const;
+ IMPORT_C TCalInstanceId InstanceIdL() const;
private:
CCalInstance();