epoc32/include/app/vuid.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedAll
       
    21  @released 
       
    22 */
       
    23 
       
    24 #ifndef __VUID_H__
       
    25 #define __VUID_H__
       
    26 
       
    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
       
    31 /** Not used. */
       
    32 #define KVersitMaxVersionLength 16
       
    33 _LIT8(KVersitQuestionMark, "?");
       
    34 
       
    35 //
       
    36 // Uid's
       
    37 // 268440459-268440508 have been allocated to Versit initially
       
    38 //
       
    39 
       
    40 /** The UID for a KVersitTokenBEGIN property.
       
    41 
       
    42 Used in vCards and vCalendars. */
       
    43 #define KVersitTokenBeginUid							268440459
       
    44 /** The UID for a KVersitTokenEND property.
       
    45 
       
    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.
       
    51 
       
    52 Used in vCards and vCalendars. */
       
    53 #define KVersitTokenVersionUid							270490587
       
    54 /** The UID for an agent property.
       
    55 
       
    56 Used in vCards. */
       
    57 #define KVCardPropertyAgentUid							268440471
       
    58 /** The UID for a SOUND property.
       
    59 
       
    60 Used in vCards. */
       
    61 #define KVCardPropertySoundUid							270537213
       
    62 /** The UID for an alarm property.
       
    63 
       
    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 
       
    71 is grouped. */
       
    72 #define KVersitGroupedPropertyUid						268440475
       
    73 /** The UID for a time zone property.
       
    74 
       
    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
       
    81 
       
    82 /** The UID for an rich (extended) alarm property.
       
    83 
       
    84 Used in vCalendars and associated with a vEvent or vToDo. */
       
    85 #define KVCalPropertyExtendedAlarmUid					268440479
       
    86 
       
    87 
       
    88 
       
    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
       
    97 
       
    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 
       
   106 
       
   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
       
   113 
       
   114 
       
   115 /*
       
   116  * These are versit data-type uids for property values. They
       
   117  * are versit-internal.
       
   118  */
       
   119 
       
   120 /** The UID for a heap descriptor property. */
       
   121 #define KVersitPropertyHBufCUid							268440466
       
   122 /** The UID for a binary property.
       
   123 
       
   124 Used in vCards for logos and photos. */
       
   125 #define KVersitPropertyBinaryUid						268470833
       
   126 /** The UID for a descriptor array property.
       
   127 
       
   128 Used in vCards and vCalendars. */
       
   129 #define KVersitPropertyCDesCArrayUid					268440467
       
   130 /** The UID for a multiple date/time property.
       
   131 
       
   132 Used in vCalendars. */
       
   133 #define KVersitPropertyMultiDateTimeUid					268440468
       
   134 /** The UID for a date/time property.
       
   135 
       
   136 Used in vCards and vCalendars. */
       
   137 #define KVersitPropertyDateTimeUid						268440469
       
   138 /** The UID for an integer property.
       
   139 
       
   140 Used in vCalendars, e.g. for priorities and sequences. */
       
   141 #define KVersitPropertyIntUid							268440470
       
   142 
       
   143 
       
   144 /*
       
   145  * The following is a list of UIDs that were used by versit but are not now
       
   146  */
       
   147 //UID's for tokens
       
   148 //268440462
       
   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
       
   155 
       
   156 #endif