|
1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implements Attendee View's parser class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __ATTENDEE_PARSER_H__ |
|
21 #define __ATTENDEE_PARSER_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // FORWARD DECLARATION |
|
27 class CCalEntry; |
|
28 class CCalUser; |
|
29 class CAttendeeItemList; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 /** |
|
33 * Implements AttendeeView's parser |
|
34 */ |
|
35 class AttendeeParser |
|
36 { |
|
37 public: //New functions |
|
38 /** |
|
39 * Going through agenda entry and create |
|
40 * CAttendeeItems in CAttemdeeItemList. |
|
41 * List need to sort after parsing |
|
42 * @param aCalEntry |
|
43 * @param aAttendees |
|
44 */ |
|
45 static void ParseAgnEntryL( CCalEntry& aCalEntry, |
|
46 CAttendeeItemList& aAttendees ); |
|
47 |
|
48 /** |
|
49 * Update agenda entry |
|
50 * @param aCalEntry |
|
51 * @param aAttendees |
|
52 * @param aDeleted |
|
53 */ |
|
54 static void UpdateAgnEntryL( CCalEntry& aCalEntry, |
|
55 CAttendeeItemList& aAttendees, |
|
56 CAttendeeItemList& aDeleted ); |
|
57 private: |
|
58 /** |
|
59 * Remove deleted items from CCalEntry |
|
60 * @param aCalEntry |
|
61 * @param aDeleted |
|
62 */ |
|
63 static void RemoveDeletedL( CCalEntry& aCalEntry, |
|
64 CAttendeeItemList& aDeleted ); |
|
65 }; |
|
66 |
|
67 #endif // __ATTENDEE_PARSER_H__ |
|
68 |
|
69 // End of File |