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