1 // Copyright (c) 1997-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
25 /** The default size for 8-bit buffers used in Versit. */
26 #define KVersitDefaultBufferSize 32
27 /** The maximum length for a Versit date/time buffer. */
28 #define KVersitMaxDateTimeLength 16
30 #define KVersitMaxVersionLength 16
31 _LIT8(KVersitQuestionMark, "?");
35 // 268440459-268440508 have been allocated to Versit initially
38 /** The UID for a KVersitTokenBEGIN property.
40 Used in vCards and vCalendars. */
41 #define KVersitTokenBeginUid 268440459
42 /** The UID for a KVersitTokenEND property.
44 Used in vCards and vCalendars. */
45 #define KVersitTokenEndUid 268440460
46 /** The UID for a property with an unrecognised name. */
47 #define KVersitTokenUnknownUid 268440461
48 /** The UID for a version property.
50 Used in vCards and vCalendars. */
51 #define KVersitTokenVersionUid 270490587
52 /** The UID for an agent property.
55 #define KVCardPropertyAgentUid 268440471
56 /** The UID for a SOUND property.
59 #define KVCardPropertySoundUid 270537213
60 /** The UID for an alarm property.
62 Used in vCalendars and associated with a vEvent or vToDo. */
63 #define KVCalPropertyAlarmUid 268440472
64 /** The UID for a vEvent entity. */
65 #define KVCalEntityUidVEvent 268440473
66 /** The UID for a vTodo entity. */
67 #define KVCalEntityUidVTodo 268440474
68 /** A grouped property UID. This is used to determine whether a property
70 #define KVersitGroupedPropertyUid 268440475
71 /** The UID for a time zone property.
73 Used in vCards and vCalendars. */
74 #define KVersitPropertyTimeZoneUid 268440476
75 /** The UID for a date property. */
76 #define KVersitPropertyDateUid 268440477
77 /** A time property UID. */
78 #define KVersitTimePropertyUid 268440478
80 /** The UID for an rich (extended) alarm property.
82 Used in vCalendars and associated with a vEvent or vToDo. */
83 #define KVCalPropertyExtendedAlarmUid 268440479
87 /** Used by the contacts database to identify a vCard. */
88 #define KVersitEntityUidVCard 268440483 //Used by cntmodel and not by versit
89 /** The UID for a recurrence property. */
90 #define KVCalPropertyRecurrenceUid 268440484
91 /** The UID for a daylight savings property. */
92 #define KVersitPropertyDaylightUid 268440485
93 /** The UID for a character set property parameter. */
94 #define KVersitParamCharsetUid 268440488
96 /** The UID for a quoted printable to text converter. */
97 #define KQuotedPrintableToTextConverter 268441637
98 /** The UID for a text to quoted printable converter. */
99 #define KTextToQuotedPrintableConverter 268441638
100 /** The UID for a base 64 to text converter. */
101 #define KBase64ToTextConverter 268440005
102 /** The UID for a text to base 64 converter. */
103 #define KTextToBase64Converter 268437281
105 /** The UID for a character encoding property parameter. */
106 #define KVersitParamEncodingUid 268440463
107 /** The UID for a QUOTED-PRINTABLE property parameter. */
108 #define KVersitParamEncodingQuotedPrintableUid 268440464
109 /** The UID for a BASE64 property parameter. */
110 #define KVersitParamEncodingBase64Uid 268440465
114 * These are versit data-type uids for property values. They
115 * are versit-internal.
118 /** The UID for a heap descriptor property. */
119 #define KVersitPropertyHBufCUid 268440466
120 /** The UID for a binary property.
122 Used in vCards for logos and photos. */
123 #define KVersitPropertyBinaryUid 268470833
124 /** The UID for a descriptor array property.
126 Used in vCards and vCalendars. */
127 #define KVersitPropertyCDesCArrayUid 268440467
128 /** The UID for a multiple date/time property.
130 Used in vCalendars. */
131 #define KVersitPropertyMultiDateTimeUid 268440468
132 /** The UID for a date/time property.
134 Used in vCards and vCalendars. */
135 #define KVersitPropertyDateTimeUid 268440469
136 /** The UID for an integer property.
138 Used in vCalendars, e.g. for priorities and sequences. */
139 #define KVersitPropertyIntUid 268440470
143 * The following is a list of UIDs that were used by versit but are not now
147 //UID's used for character sets
148 //268440489, 268440499-506, 268457255-6, 268457654-8, 268478097
149 //UID's used for Quoted Printable with a character set
150 //268440486, 268440490-8, 268457253-4, 268457801-5
151 //UID's used for Base64 with a character set
152 //268440480-82, 268440487, 268440508, 268456960, 268457257-62, 268470904-6, 268479493