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