epoc32/include/app/calnotification.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     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 __CALNOTIFICATION_H__
       
    17 #define __CALNOTIFICATION_H__
       
    18 
       
    19 /** The calendar publish and subscribe category
       
    20 @publishedAll
       
    21 
       
    22 @released
       
    23 */
       
    24 const TUid KCalPubSubCategory = { 0x10003a5b };
       
    25 
       
    26 /** Used for subcribing to either todos or event changes
       
    27 @publishedAll
       
    28 @released
       
    29 */
       
    30 enum TCalPubSubValues
       
    31 	{
       
    32 	/** subscribe to todo notifications */
       
    33 	ECalPubSubTodoNotification,
       
    34 	/** subscribe to event notifications */
       
    35 	ECalPubSubEventNotification,
       
    36 	};
       
    37 	
       
    38 /** The publish and subscribe data 
       
    39 @publishedAll
       
    40 @released
       
    41 */
       
    42 struct TCalPubSubData
       
    43 	{
       
    44 	/** The time that the calendar change took place, in universal (UTC) time */
       
    45 	TTime iTimeOfChangeUtc;
       
    46 	/** The filename hashed into a 4-byte integer. CalInterimAPI provides a method to find the filename from this value. */
       
    47 	TUint32 iFileNameHash;
       
    48 	};
       
    49 
       
    50 #endif // __CALNOTIFICATION_H__