equal
deleted
inserted
replaced
|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __CALNOTIFICATION_H__ |
|
17 #define __CALNOTIFICATION_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 /** The calendar publish and subscribe category |
|
22 @publishedAll |
|
23 |
|
24 @released |
|
25 */ |
|
26 const TUid KCalPubSubCategory = { 0x10003a5b }; |
|
27 |
|
28 /** Used for subcribing to either todos or event changes |
|
29 @publishedAll |
|
30 @released |
|
31 */ |
|
32 enum TCalPubSubValues |
|
33 { |
|
34 /** subscribe to todo notifications */ |
|
35 ECalPubSubTodoNotification, |
|
36 /** subscribe to event notifications */ |
|
37 ECalPubSubEventNotification, |
|
38 }; |
|
39 |
|
40 /** The publish and subscribe data |
|
41 @publishedAll |
|
42 @released |
|
43 */ |
|
44 struct TCalPubSubData |
|
45 { |
|
46 /** The time that the calendar change took place, in universal (UTC) time */ |
|
47 TTime iTimeOfChangeUtc; |
|
48 /** The filename hashed into a 4-byte integer. CalInterimAPI provides a method to find the filename from this value. */ |
|
49 TUint32 iFileNameHash; |
|
50 }; |
|
51 |
|
52 #endif // __CALNOTIFICATION_H__ |
|
53 |