1.1 --- a/epoc32/include/app/calinstance.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/app/calinstance.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,9 +1,9 @@
1.4 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 // All rights reserved.
1.6 // This component and the accompanying materials are made available
1.7 -// 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
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 // which accompanies this distribution, and is available
1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 //
1.13 // Initial Contributors:
1.14 // Nokia Corporation - initial contribution.
1.15 @@ -17,10 +17,26 @@
1.16 #define __CALINSTANCE_H__
1.17
1.18 #include <caltime.h>
1.19 +#include <calcommon.h>
1.20
1.21 class CCalEntry;
1.22 class CCalInstanceImpl;
1.23
1.24 +/** Instance ID to identify an instance uniquely
1.25 +
1.26 +@publishedAll
1.27 +@released
1.28 + */
1.29 +struct TCalInstanceId
1.30 + {
1.31 + /* Entry Local ID */
1.32 + TCalLocalUid iEntryLocalId;
1.33 + /* Instance time */
1.34 + TCalTime iInstanceTime;
1.35 + /* Collection Id that the instance belongs to */
1.36 + TCalCollectionId iCollectionId;
1.37 + };
1.38 +
1.39 /** Class representing an instance of a calendar entry.
1.40
1.41 A calendar entry (CCalEntry) can have any number of instances.
1.42 @@ -42,6 +58,7 @@
1.43 IMPORT_C TCalTime Time() const;
1.44 IMPORT_C TCalTime StartTimeL() const;
1.45 IMPORT_C TCalTime EndTimeL() const;
1.46 + IMPORT_C TCalInstanceId InstanceIdL() const;
1.47
1.48 private:
1.49 CCalInstance();