1.1 --- a/epoc32/include/vuid.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/vuid.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,156 @@
1.4 -vuid.h
1.5 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +
1.21 +
1.22 +/**
1.23 + @file
1.24 + @publishedAll
1.25 + @released
1.26 +*/
1.27 +
1.28 +#ifndef __VUID_H__
1.29 +#define __VUID_H__
1.30 +
1.31 +/** The default size for 8-bit buffers used in Versit. */
1.32 +#define KVersitDefaultBufferSize 32
1.33 +/** The maximum length for a Versit date/time buffer. */
1.34 +#define KVersitMaxDateTimeLength 16
1.35 +/** Not used. */
1.36 +#define KVersitMaxVersionLength 16
1.37 +_LIT8(KVersitQuestionMark, "?");
1.38 +
1.39 +//
1.40 +// Uid's
1.41 +// 268440459-268440508 have been allocated to Versit initially
1.42 +//
1.43 +
1.44 +/** The UID for a KVersitTokenBEGIN property.
1.45 +
1.46 +Used in vCards and vCalendars. */
1.47 +#define KVersitTokenBeginUid 268440459
1.48 +/** The UID for a KVersitTokenEND property.
1.49 +
1.50 +Used in vCards and vCalendars. */
1.51 +#define KVersitTokenEndUid 268440460
1.52 +/** The UID for a property with an unrecognised name. */
1.53 +#define KVersitTokenUnknownUid 268440461
1.54 +/** The UID for a version property.
1.55 +
1.56 +Used in vCards and vCalendars. */
1.57 +#define KVersitTokenVersionUid 270490587
1.58 +/** The UID for an agent property.
1.59 +
1.60 +Used in vCards. */
1.61 +#define KVCardPropertyAgentUid 268440471
1.62 +/** The UID for a SOUND property.
1.63 +
1.64 +Used in vCards. */
1.65 +#define KVCardPropertySoundUid 270537213
1.66 +/** The UID for an alarm property.
1.67 +
1.68 +Used in vCalendars and associated with a vEvent or vToDo. */
1.69 +#define KVCalPropertyAlarmUid 268440472
1.70 +/** The UID for a vEvent entity. */
1.71 +#define KVCalEntityUidVEvent 268440473
1.72 +/** The UID for a vTodo entity. */
1.73 +#define KVCalEntityUidVTodo 268440474
1.74 +/** A grouped property UID. This is used to determine whether a property
1.75 +is grouped. */
1.76 +#define KVersitGroupedPropertyUid 268440475
1.77 +/** The UID for a time zone property.
1.78 +
1.79 +Used in vCards and vCalendars. */
1.80 +#define KVersitPropertyTimeZoneUid 268440476
1.81 +/** The UID for a date property. */
1.82 +#define KVersitPropertyDateUid 268440477
1.83 +/** A time property UID. */
1.84 +#define KVersitTimePropertyUid 268440478
1.85 +
1.86 +/** The UID for an rich (extended) alarm property.
1.87 +
1.88 +Used in vCalendars and associated with a vEvent or vToDo. */
1.89 +#define KVCalPropertyExtendedAlarmUid 268440479
1.90 +
1.91 +
1.92 +
1.93 +/** Used by the contacts database to identify a vCard. */
1.94 +#define KVersitEntityUidVCard 268440483 //Used by cntmodel and not by versit
1.95 +/** The UID for a recurrence property. */
1.96 +#define KVCalPropertyRecurrenceUid 268440484
1.97 +/** The UID for a daylight savings property. */
1.98 +#define KVersitPropertyDaylightUid 268440485
1.99 +/** The UID for a character set property parameter. */
1.100 +#define KVersitParamCharsetUid 268440488
1.101 +
1.102 +/** The UID for a quoted printable to text converter. */
1.103 +#define KQuotedPrintableToTextConverter 268441637
1.104 +/** The UID for a text to quoted printable converter. */
1.105 +#define KTextToQuotedPrintableConverter 268441638
1.106 +/** The UID for a base 64 to text converter. */
1.107 +#define KBase64ToTextConverter 268440005
1.108 +/** The UID for a text to base 64 converter. */
1.109 +#define KTextToBase64Converter 268437281
1.110 +
1.111 +/** The UID for a character encoding property parameter. */
1.112 +#define KVersitParamEncodingUid 268440463
1.113 +/** The UID for a QUOTED-PRINTABLE property parameter. */
1.114 +#define KVersitParamEncodingQuotedPrintableUid 268440464
1.115 +/** The UID for a BASE64 property parameter. */
1.116 +#define KVersitParamEncodingBase64Uid 268440465
1.117 +
1.118 +
1.119 +/*
1.120 + * These are versit data-type uids for property values. They
1.121 + * are versit-internal.
1.122 + */
1.123 +
1.124 +/** The UID for a heap descriptor property. */
1.125 +#define KVersitPropertyHBufCUid 268440466
1.126 +/** The UID for a binary property.
1.127 +
1.128 +Used in vCards for logos and photos. */
1.129 +#define KVersitPropertyBinaryUid 268470833
1.130 +/** The UID for a descriptor array property.
1.131 +
1.132 +Used in vCards and vCalendars. */
1.133 +#define KVersitPropertyCDesCArrayUid 268440467
1.134 +/** The UID for a multiple date/time property.
1.135 +
1.136 +Used in vCalendars. */
1.137 +#define KVersitPropertyMultiDateTimeUid 268440468
1.138 +/** The UID for a date/time property.
1.139 +
1.140 +Used in vCards and vCalendars. */
1.141 +#define KVersitPropertyDateTimeUid 268440469
1.142 +/** The UID for an integer property.
1.143 +
1.144 +Used in vCalendars, e.g. for priorities and sequences. */
1.145 +#define KVersitPropertyIntUid 268440470
1.146 +
1.147 +
1.148 +/*
1.149 + * The following is a list of UIDs that were used by versit but are not now
1.150 + */
1.151 +//UID's for tokens
1.152 +//268440462
1.153 +//UID's used for character sets
1.154 +//268440489, 268440499-506, 268457255-6, 268457654-8, 268478097
1.155 +//UID's used for Quoted Printable with a character set
1.156 +//268440486, 268440490-8, 268457253-4, 268457801-5
1.157 +//UID's used for Base64 with a character set
1.158 +//268440480-82, 268440487, 268440508, 268456960, 268457257-62, 268470904-6, 268479493
1.159 +
1.160 +#endif