equal
deleted
inserted
replaced
1 caliterator.h |
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // 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 |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __CALITER_H__ |
|
17 #define __CALITER_H__ |
|
18 |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 class CCalSession; |
|
23 class CCalIteratorImpl; |
|
24 |
|
25 /** |
|
26 An iterator for iterating though all the entries in the calendar store. |
|
27 |
|
28 This may be used by a synchronisation application to iterate all entries in the file to find entries that |
|
29 have been added\\deleted between two synchronisations. |
|
30 |
|
31 The application must not create the entry view or instance view while iterating through the entries. |
|
32 |
|
33 @publishedAll |
|
34 @released |
|
35 */ |
|
36 NONSHARABLE_CLASS(CCalIter) : public CBase |
|
37 |
|
38 { |
|
39 public: |
|
40 IMPORT_C static CCalIter* NewL(CCalSession& aSession); |
|
41 IMPORT_C ~CCalIter(); |
|
42 |
|
43 IMPORT_C const TDesC8& FirstL(); |
|
44 IMPORT_C const TDesC8& NextL(); |
|
45 |
|
46 private: |
|
47 CCalIter(); |
|
48 void ConstructL(CCalSession& aSession); |
|
49 |
|
50 private: |
|
51 CCalIteratorImpl* iCalIteratorImpl; |
|
52 }; |
|
53 |
|
54 #endif // __CALITER_H__ |