williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@4: // under the terms of "Eclipse Public License v1.0" williamr@2: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: #ifndef __CALNOTIFICATION_H__ williamr@2: #define __CALNOTIFICATION_H__ williamr@2: williamr@4: #include williamr@4: williamr@2: /** The calendar publish and subscribe category williamr@2: @publishedAll williamr@2: williamr@2: @released williamr@2: */ williamr@2: const TUid KCalPubSubCategory = { 0x10003a5b }; williamr@2: williamr@2: /** Used for subcribing to either todos or event changes williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: enum TCalPubSubValues williamr@2: { williamr@2: /** subscribe to todo notifications */ williamr@2: ECalPubSubTodoNotification, williamr@2: /** subscribe to event notifications */ williamr@2: ECalPubSubEventNotification, williamr@2: }; williamr@2: williamr@2: /** The publish and subscribe data williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: struct TCalPubSubData williamr@2: { williamr@2: /** The time that the calendar change took place, in universal (UTC) time */ williamr@2: TTime iTimeOfChangeUtc; williamr@2: /** The filename hashed into a 4-byte integer. CalInterimAPI provides a method to find the filename from this value. */ williamr@2: TUint32 iFileNameHash; williamr@2: }; williamr@2: williamr@2: #endif // __CALNOTIFICATION_H__ williamr@4: