williamr@2
|
1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
2 |
// All rights reserved.
|
williamr@2
|
3 |
// This component and the accompanying materials are made available
|
williamr@2
|
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
|
williamr@2
|
5 |
// which accompanies this distribution, and is available
|
williamr@2
|
6 |
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
|
williamr@2
|
7 |
//
|
williamr@2
|
8 |
// Initial Contributors:
|
williamr@2
|
9 |
// Nokia Corporation - initial contribution.
|
williamr@2
|
10 |
//
|
williamr@2
|
11 |
// Contributors:
|
williamr@2
|
12 |
//
|
williamr@2
|
13 |
// Description:
|
williamr@2
|
14 |
//
|
williamr@2
|
15 |
|
williamr@2
|
16 |
|
williamr@2
|
17 |
|
williamr@2
|
18 |
/**
|
williamr@2
|
19 |
@file
|
williamr@2
|
20 |
@publishedAll
|
williamr@2
|
21 |
@released
|
williamr@2
|
22 |
*/
|
williamr@2
|
23 |
|
williamr@2
|
24 |
#ifndef __VUID_H__
|
williamr@2
|
25 |
#define __VUID_H__
|
williamr@2
|
26 |
|
williamr@2
|
27 |
/** The default size for 8-bit buffers used in Versit. */
|
williamr@2
|
28 |
#define KVersitDefaultBufferSize 32
|
williamr@2
|
29 |
/** The maximum length for a Versit date/time buffer. */
|
williamr@2
|
30 |
#define KVersitMaxDateTimeLength 16
|
williamr@2
|
31 |
/** Not used. */
|
williamr@2
|
32 |
#define KVersitMaxVersionLength 16
|
williamr@2
|
33 |
_LIT8(KVersitQuestionMark, "?");
|
williamr@2
|
34 |
|
williamr@2
|
35 |
//
|
williamr@2
|
36 |
// Uid's
|
williamr@2
|
37 |
// 268440459-268440508 have been allocated to Versit initially
|
williamr@2
|
38 |
//
|
williamr@2
|
39 |
|
williamr@2
|
40 |
/** The UID for a KVersitTokenBEGIN property.
|
williamr@2
|
41 |
|
williamr@2
|
42 |
Used in vCards and vCalendars. */
|
williamr@2
|
43 |
#define KVersitTokenBeginUid 268440459
|
williamr@2
|
44 |
/** The UID for a KVersitTokenEND property.
|
williamr@2
|
45 |
|
williamr@2
|
46 |
Used in vCards and vCalendars. */
|
williamr@2
|
47 |
#define KVersitTokenEndUid 268440460
|
williamr@2
|
48 |
/** The UID for a property with an unrecognised name. */
|
williamr@2
|
49 |
#define KVersitTokenUnknownUid 268440461
|
williamr@2
|
50 |
/** The UID for a version property.
|
williamr@2
|
51 |
|
williamr@2
|
52 |
Used in vCards and vCalendars. */
|
williamr@2
|
53 |
#define KVersitTokenVersionUid 270490587
|
williamr@2
|
54 |
/** The UID for an agent property.
|
williamr@2
|
55 |
|
williamr@2
|
56 |
Used in vCards. */
|
williamr@2
|
57 |
#define KVCardPropertyAgentUid 268440471
|
williamr@2
|
58 |
/** The UID for a SOUND property.
|
williamr@2
|
59 |
|
williamr@2
|
60 |
Used in vCards. */
|
williamr@2
|
61 |
#define KVCardPropertySoundUid 270537213
|
williamr@2
|
62 |
/** The UID for an alarm property.
|
williamr@2
|
63 |
|
williamr@2
|
64 |
Used in vCalendars and associated with a vEvent or vToDo. */
|
williamr@2
|
65 |
#define KVCalPropertyAlarmUid 268440472
|
williamr@2
|
66 |
/** The UID for a vEvent entity. */
|
williamr@2
|
67 |
#define KVCalEntityUidVEvent 268440473
|
williamr@2
|
68 |
/** The UID for a vTodo entity. */
|
williamr@2
|
69 |
#define KVCalEntityUidVTodo 268440474
|
williamr@2
|
70 |
/** A grouped property UID. This is used to determine whether a property
|
williamr@2
|
71 |
is grouped. */
|
williamr@2
|
72 |
#define KVersitGroupedPropertyUid 268440475
|
williamr@2
|
73 |
/** The UID for a time zone property.
|
williamr@2
|
74 |
|
williamr@2
|
75 |
Used in vCards and vCalendars. */
|
williamr@2
|
76 |
#define KVersitPropertyTimeZoneUid 268440476
|
williamr@2
|
77 |
/** The UID for a date property. */
|
williamr@2
|
78 |
#define KVersitPropertyDateUid 268440477
|
williamr@2
|
79 |
/** A time property UID. */
|
williamr@2
|
80 |
#define KVersitTimePropertyUid 268440478
|
williamr@2
|
81 |
|
williamr@2
|
82 |
/** The UID for an rich (extended) alarm property.
|
williamr@2
|
83 |
|
williamr@2
|
84 |
Used in vCalendars and associated with a vEvent or vToDo. */
|
williamr@2
|
85 |
#define KVCalPropertyExtendedAlarmUid 268440479
|
williamr@2
|
86 |
|
williamr@2
|
87 |
|
williamr@2
|
88 |
|
williamr@2
|
89 |
/** Used by the contacts database to identify a vCard. */
|
williamr@2
|
90 |
#define KVersitEntityUidVCard 268440483 //Used by cntmodel and not by versit
|
williamr@2
|
91 |
/** The UID for a recurrence property. */
|
williamr@2
|
92 |
#define KVCalPropertyRecurrenceUid 268440484
|
williamr@2
|
93 |
/** The UID for a daylight savings property. */
|
williamr@2
|
94 |
#define KVersitPropertyDaylightUid 268440485
|
williamr@2
|
95 |
/** The UID for a character set property parameter. */
|
williamr@2
|
96 |
#define KVersitParamCharsetUid 268440488
|
williamr@2
|
97 |
|
williamr@2
|
98 |
/** The UID for a quoted printable to text converter. */
|
williamr@2
|
99 |
#define KQuotedPrintableToTextConverter 268441637
|
williamr@2
|
100 |
/** The UID for a text to quoted printable converter. */
|
williamr@2
|
101 |
#define KTextToQuotedPrintableConverter 268441638
|
williamr@2
|
102 |
/** The UID for a base 64 to text converter. */
|
williamr@2
|
103 |
#define KBase64ToTextConverter 268440005
|
williamr@2
|
104 |
/** The UID for a text to base 64 converter. */
|
williamr@2
|
105 |
#define KTextToBase64Converter 268437281
|
williamr@2
|
106 |
|
williamr@2
|
107 |
/** The UID for a character encoding property parameter. */
|
williamr@2
|
108 |
#define KVersitParamEncodingUid 268440463
|
williamr@2
|
109 |
/** The UID for a QUOTED-PRINTABLE property parameter. */
|
williamr@2
|
110 |
#define KVersitParamEncodingQuotedPrintableUid 268440464
|
williamr@2
|
111 |
/** The UID for a BASE64 property parameter. */
|
williamr@2
|
112 |
#define KVersitParamEncodingBase64Uid 268440465
|
williamr@2
|
113 |
|
williamr@2
|
114 |
|
williamr@2
|
115 |
/*
|
williamr@2
|
116 |
* These are versit data-type uids for property values. They
|
williamr@2
|
117 |
* are versit-internal.
|
williamr@2
|
118 |
*/
|
williamr@2
|
119 |
|
williamr@2
|
120 |
/** The UID for a heap descriptor property. */
|
williamr@2
|
121 |
#define KVersitPropertyHBufCUid 268440466
|
williamr@2
|
122 |
/** The UID for a binary property.
|
williamr@2
|
123 |
|
williamr@2
|
124 |
Used in vCards for logos and photos. */
|
williamr@2
|
125 |
#define KVersitPropertyBinaryUid 268470833
|
williamr@2
|
126 |
/** The UID for a descriptor array property.
|
williamr@2
|
127 |
|
williamr@2
|
128 |
Used in vCards and vCalendars. */
|
williamr@2
|
129 |
#define KVersitPropertyCDesCArrayUid 268440467
|
williamr@2
|
130 |
/** The UID for a multiple date/time property.
|
williamr@2
|
131 |
|
williamr@2
|
132 |
Used in vCalendars. */
|
williamr@2
|
133 |
#define KVersitPropertyMultiDateTimeUid 268440468
|
williamr@2
|
134 |
/** The UID for a date/time property.
|
williamr@2
|
135 |
|
williamr@2
|
136 |
Used in vCards and vCalendars. */
|
williamr@2
|
137 |
#define KVersitPropertyDateTimeUid 268440469
|
williamr@2
|
138 |
/** The UID for an integer property.
|
williamr@2
|
139 |
|
williamr@2
|
140 |
Used in vCalendars, e.g. for priorities and sequences. */
|
williamr@2
|
141 |
#define KVersitPropertyIntUid 268440470
|
williamr@2
|
142 |
|
williamr@2
|
143 |
|
williamr@2
|
144 |
/*
|
williamr@2
|
145 |
* The following is a list of UIDs that were used by versit but are not now
|
williamr@2
|
146 |
*/
|
williamr@2
|
147 |
//UID's for tokens
|
williamr@2
|
148 |
//268440462
|
williamr@2
|
149 |
//UID's used for character sets
|
williamr@2
|
150 |
//268440489, 268440499-506, 268457255-6, 268457654-8, 268478097
|
williamr@2
|
151 |
//UID's used for Quoted Printable with a character set
|
williamr@2
|
152 |
//268440486, 268440490-8, 268457253-4, 268457801-5
|
williamr@2
|
153 |
//UID's used for Base64 with a character set
|
williamr@2
|
154 |
//268440480-82, 268440487, 268440508, 268456960, 268457257-62, 268470904-6, 268479493
|
williamr@2
|
155 |
|
williamr@2
|
156 |
#endif
|