1.1 --- a/epoc32/include/cntdef.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,1402 +0,0 @@
1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// 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
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 -
1.19 -#ifndef __CNTDEF_H__
1.20 -#define __CNTDEF_H__
1.21 -
1.22 -#include <e32base.h>
1.23 -
1.24 -#if !( defined __SYMBIAN_CNTMODEL_HIDE_DBMS__ && defined __SYMBIAN_CNTMODEL_USE_SQLITE__ )
1.25 -#include <d32dbms.h>
1.26 -#else
1.27 -#include <s32std.h>
1.28 -#include <f32file.h>
1.29 -#endif
1.30 -
1.31 -#include <cntdef.hrh>
1.32 -
1.33 -
1.34 -// Constants
1.35 -
1.36 -/**
1.37 -@internalTechnology
1.38 -@released
1.39 -*/
1.40 -const TInt KSpeedDialPhoneLength = 64;
1.41 -
1.42 -/**
1.43 -@internalTechnology
1.44 -@released
1.45 -*/
1.46 -const TInt KCntMinSpeedDialIndex = 1;
1.47 -
1.48 -/**
1.49 -@internalTechnology
1.50 -@released
1.51 -*/
1.52 -const TInt KCntMaxSpeedDialIndex = 9;
1.53 -
1.54 -/**
1.55 -Phone Match Length
1.56 -@internalTechnology
1.57 -@released
1.58 -*/
1.59 -const TInt KMaxPhoneMatchLength = 15;
1.60 -
1.61 -/**
1.62 -@internalTechnology
1.63 -@released
1.64 -*/
1.65 -const TInt KLowerSevenDigits = 7;
1.66 -
1.67 -/**
1.68 -Used for firstname, lastname, companyname, secondname and their
1.69 -associated pronunciation fields and e-mail address
1.70 -@internalTechnology
1.71 -@released
1.72 -*/
1.73 -const TInt KCntMaxTextFieldLength=255;
1.74 -
1.75 -// Type definitions
1.76 -
1.77 -/**
1.78 -@internalTechnology
1.79 -@released
1.80 -*/
1.81 -typedef TBuf<KSpeedDialPhoneLength> TSpeedDialPhoneNumber;
1.82 -
1.83 -/** Contact item ID. These are used to uniquely identify contact items within a
1.84 -contacts database. Contact items include contact cards, contact card templates,
1.85 -contact card groups and own cards. Contact item IDs are also used to uniquely
1.86 -identify agents.
1.87 -@publishedAll
1.88 -@released
1.89 -*/
1.90 -typedef TInt32 TContactItemId;
1.91 -
1.92 -/** A UID which identifies a contact item field's type. The possible values are
1.93 -defined as UIDs in cntdef.h.
1.94 -@publishedAll
1.95 -@released
1.96 -*/
1.97 -typedef TUid TFieldType;
1.98 -
1.99 -/** A contact item field's storage type.
1.100 -
1.101 -This is an unsigned integer value which identifies the type of data stored
1.102 -in a contact item field. The possible values are defined in cntdef.hrh as:
1.103 -
1.104 -- KStorageTypeText (used by CContactTextFields)
1.105 -
1.106 -- KStorageTypeStore (used by CContactStoreFields)
1.107 -
1.108 -- KStorageTypeContactItemId (used by CContactAgentFields)
1.109 -
1.110 -- KStorageTypeDateTime (used by CContactDateFields)
1.111 -
1.112 -Note that numeric fields are not supported. Numbers (e.g. telephone
1.113 -numbers) are stored in the database using text fields.
1.114 -@publishedAll
1.115 -@released
1.116 -*/
1.117 -typedef TUint TStorageType;
1.118 -
1.119 -/** Machine identifier.
1.120 -
1.121 -This is used when synchronising the contact database to identify the
1.122 -machine with which the database has been synchronised.
1.123 -@see CContactDatabase::SetLastSyncDateL()
1.124 -@see CContactDatabase::GetLastSyncDateL().
1.125 -@publishedAll
1.126 -@released
1.127 -*/
1.128 -typedef TInt32 TContactSyncId;
1.129 -
1.130 -/** Stores the value of KUidContactsDbFile as an integer.
1.131 -@publishedAll
1.132 -@released
1.133 -*/
1.134 -const TInt KUidContactsDbFileValue=0x100065FF;
1.135 -/**
1.136 -The third UID of the contacts database file, c:\\system\\data\\contacts.cdb.
1.137 -This should be used by file recogniser implementations.
1.138 -@publishedAll
1.139 -@released
1.140 -*/
1.141 -const TUid KUidContactsDbFile={KUidContactsDbFileValue};
1.142 -
1.143 -
1.144 -/** NULL contact item ID. Indicates that no contact item is present.
1.145 -@publishedAll
1.146 -@released
1.147 -*/
1.148 -const TContactItemId KNullContactId=-1;
1.149 -/**
1.150 -The ID of the system template.
1.151 -@publishedAll
1.152 -@released
1.153 -*/
1.154 -const TContactItemId KGoldenTemplateId=0;
1.155 -
1.156 -/** Identifies a vCard that has been pasted from the clipboard into the Contacts application.
1.157 -@publishedAll
1.158 -@released
1.159 -*/
1.160 -const TUid KClipboardUidTypeVCard={0x100038f6};
1.161 -
1.162 -/** Identifies a contact card (CContactCard).
1.163 -@publishedAll
1.164 -@released
1.165 -*/
1.166 -const TUid KUidContactCard={KUidContactCardValue};
1.167 -/** Identifies a contact group (CContactGroup).
1.168 -@publishedAll
1.169 -@released
1.170 -*/
1.171 -const TUid KUidContactGroup={KUidContactGroupValue};
1.172 -/** Identifies the system template (CContactTemplate).
1.173 -@publishedAll
1.174 -@released
1.175 -*/
1.176 -const TUid KUidContactTemplate={KUidContactTemplateValue};
1.177 -/** Identifies an own card (CContactOwnCard).
1.178 -@publishedAll
1.179 -@released
1.180 -*/
1.181 -const TUid KUidContactOwnCard={KUidContactOwnCardValue};
1.182 -/** Identifies a non-system template (CContactCardTemplate).
1.183 -@publishedAll
1.184 -@released
1.185 -*/
1.186 -const TUid KUidContactCardTemplate={KUidContactCardTemplateValue};
1.187 -/** The UID that identifies ICC entries. These are a special type of
1.188 -contact item that are stored in the SIM (ICC) card on the phone.
1.189 -
1.190 -@publishedAll
1.191 -@released
1.192 -*/
1.193 -const TUid KUidContactICCEntry={KUidContactICCEntryValue};
1.194 -
1.195 -/** Identifies any CContactItem-derived class (all of the above).
1.196 -@publishedAll
1.197 -@released
1.198 -*/
1.199 -const TUid KUidContactItem={0x10005673};
1.200 -/** This identifies the CContactCard and CContactGroup classes.
1.201 -It is used internally by the contacts model.
1.202 -@publishedAll
1.203 -@released
1.204 -*/
1.205 -const TUid KUidContactCardOrGroup={0x10005F71};
1.206 -
1.207 -
1.208 -/*
1.209 - * Speed-dial UIDs.
1.210 - * These are used to indicate the speed-dial position for a particular field.
1.211 - * They are added to the content type of a phone number field set as a
1.212 - * speed-dial using CContactDatabase::SetFieldAsSpeedDialL().
1.213 - */
1.214 -/** Field maps to the first speed dial position.
1.215 -@publishedAll
1.216 -@released
1.217 -*/
1.218 -const TUid KUidSpeedDialOne={KUidSpeedDialOneValue};
1.219 -/** Field maps to the second speed dial position.
1.220 -@publishedAll
1.221 -@released
1.222 -*/
1.223 -const TUid KUidSpeedDialTwo={KUidSpeedDialTwoValue};
1.224 -/** Field maps to the third speed dial position.
1.225 -@publishedAll
1.226 -@released
1.227 -*/
1.228 -const TUid KUidSpeedDialThree={KUidSpeedDialThreeValue};
1.229 -/** Field maps to the fourth speed dial position.
1.230 -@publishedAll
1.231 -@released
1.232 -*/
1.233 -const TUid KUidSpeedDialFour={KUidSpeedDialFourValue};
1.234 -/** Field maps to the fifth speed dial position.
1.235 -@publishedAll
1.236 -@released
1.237 -*/
1.238 -const TUid KUidSpeedDialFive={KUidSpeedDialFiveValue};
1.239 -/** Field maps to the sixth speed dial position.
1.240 -@publishedAll
1.241 -@released
1.242 -*/
1.243 -const TUid KUidSpeedDialSix={KUidSpeedDialSixValue};
1.244 -/** Field maps to the seventh speed dial position.
1.245 -@publishedAll
1.246 -@released
1.247 -*/
1.248 -const TUid KUidSpeedDialSeven={KUidSpeedDialSevenValue};
1.249 -/** Field maps to the eighth speed dial position.
1.250 -@publishedAll
1.251 -@released
1.252 -*/
1.253 -const TUid KUidSpeedDialEight={KUidSpeedDialEightValue};
1.254 -/** Field maps to the ninth speed dial position.
1.255 -@publishedAll
1.256 -@released
1.257 -*/
1.258 -const TUid KUidSpeedDialNine={KUidSpeedDialNineValue};
1.259 -
1.260 -/*
1.261 - * Contact field type UIDs.
1.262 - */
1.263 -/** Address field.
1.264 -@publishedAll
1.265 -@released
1.266 -*/
1.267 -const TUid KUidContactFieldAddress={KUidContactFieldAddressValue};
1.268 -/** Post office box field.
1.269 -@publishedAll
1.270 -@released
1.271 -*/
1.272 -const TUid KUidContactFieldPostOffice={KUidContactFieldPostOfficeValue};
1.273 -/** Extended address field.
1.274 -@publishedAll
1.275 -@released
1.276 -*/
1.277 -const TUid KUidContactFieldExtendedAddress={KUidContactFieldExtendedAddressValue};
1.278 -/** Locality field.
1.279 -@publishedAll
1.280 -@released
1.281 -*/
1.282 -const TUid KUidContactFieldLocality={KUidContactFieldLocalityValue};
1.283 -/** Region field.
1.284 -@publishedAll
1.285 -@released
1.286 -*/
1.287 -const TUid KUidContactFieldRegion={KUidContactFieldRegionValue};
1.288 -/** Post code field.
1.289 -@publishedAll
1.290 -@released
1.291 -*/
1.292 -const TUid KUidContactFieldPostcode={KUidContactFieldPostCodeValue};
1.293 -/** Country field.
1.294 -@publishedAll
1.295 -@released
1.296 -*/
1.297 -const TUid KUidContactFieldCountry={KUidContactFieldCountryValue};
1.298 -
1.299 -/** Company name field.
1.300 -@publishedAll
1.301 -@released
1.302 -*/
1.303 -const TUid KUidContactFieldCompanyName={KUidContactFieldCompanyNameValue};
1.304 -/** Company name pronunciation field.
1.305 -@publishedAll
1.306 -@released
1.307 -*/
1.308 -const TUid KUidContactFieldCompanyNamePronunciation={KUidContactFieldCompanyNamePronunciationValue};
1.309 -/** Phone number field.
1.310 -@publishedAll
1.311 -@released
1.312 -*/
1.313 -const TUid KUidContactFieldPhoneNumber={KUidContactFieldPhoneNumberValue};
1.314 -/** Given name field.
1.315 -@publishedAll
1.316 -@released
1.317 -*/
1.318 -const TUid KUidContactFieldGivenName={KUidContactFieldGivenNameValue};
1.319 -/** Family name field.
1.320 -@publishedAll
1.321 -@released
1.322 -*/
1.323 -const TUid KUidContactFieldFamilyName={KUidContactFieldFamilyNameValue};
1.324 -/** Given name pronunciation field.
1.325 -@publishedAll
1.326 -@released
1.327 -*/
1.328 -const TUid KUidContactFieldGivenNamePronunciation={KUidContactFieldGivenNamePronunciationValue};
1.329 -/** Family name pronunciation field.
1.330 -@publishedAll
1.331 -@released
1.332 -*/
1.333 -const TUid KUidContactFieldFamilyNamePronunciation={KUidContactFieldFamilyNamePronunciationValue};
1.334 -/** Middle name field.
1.335 -@publishedAll
1.336 -@released
1.337 -*/
1.338 -const TUid KUidContactFieldAdditionalName={KUidContactFieldAdditionalNameValue};
1.339 -/** Name suffix field.
1.340 -@publishedAll
1.341 -@released
1.342 -*/
1.343 -const TUid KUidContactFieldSuffixName={KUidContactFieldSuffixNameValue};
1.344 -/** Name prefix field.
1.345 -@publishedAll
1.346 -@released
1.347 -*/
1.348 -const TUid KUidContactFieldPrefixName={KUidContactFieldPrefixNameValue};
1.349 -/** Hidden field.
1.350 -@publishedAll
1.351 -@released
1.352 -*/
1.353 -const TUid KUidContactFieldHidden={KUidContactFieldHiddenValue};
1.354 -/** Hidden field.
1.355 -@publishedAll
1.356 -@released
1.357 -*/
1.358 -const TUid KUidContactFieldDefinedText={KUidContactFieldDefinedTextValue};
1.359 -/** Email address field.
1.360 -@publishedAll
1.361 -@released
1.362 -*/
1.363 -const TUid KUidContactFieldEMail={KUidContactFieldEMailValue};
1.364 -/** Telephone number used for a messaging service.
1.365 -@publishedAll
1.366 -@released
1.367 -*/
1.368 -const TUid KUidContactFieldMsg={KUidContactFieldMsgValue};
1.369 -/** Telephone number used for SMS messages.
1.370 -@publishedAll
1.371 -@released
1.372 -*/
1.373 -const TUid KUidContactFieldSms={KUidContactFieldSmsValue};
1.374 -/** Fax number field.
1.375 -@publishedAll
1.376 -@released
1.377 -*/
1.378 -const TUid KUidContactFieldFax={KUidContactFieldFaxValue};
1.379 -/** Comment field.
1.380 -@publishedAll
1.381 -@released
1.382 -*/
1.383 -const TUid KUidContactFieldNote={KUidContactFieldNoteValue};
1.384 -/** Comment field.
1.385 -@publishedAll
1.386 -@released
1.387 -*/
1.388 -const TUid KUidContactStorageInline={KUidContactFieldStorageInlineValue};
1.389 -/** Birthday field.
1.390 -@publishedAll
1.391 -@released
1.392 -*/
1.393 -const TUid KUidContactFieldBirthday={KUidContactFieldBirthdayValue};
1.394 -/** URL field.
1.395 -@publishedAll
1.396 -@released
1.397 -*/
1.398 -const TUid KUidContactFieldUrl={KUidContactFieldUrlValue};
1.399 -/** Template label field (a label which is used to refer to a template, for instance "work
1.400 -template", "personal template").
1.401 -@publishedAll
1.402 -@released
1.403 -*/
1.404 -const TUid KUidContactFieldTemplateLabel={KUidContactFieldTemplateLabelValue};
1.405 -/** A picture field, for instance a logo or a photo.
1.406 -@publishedAll
1.407 -@released
1.408 -*/
1.409 -const TUid KUidContactFieldPicture={KUidContactFieldPictureValue};
1.410 -/** Used internally by the contacts model.
1.411 -@publishedAll
1.412 -@released
1.413 -*/
1.414 -const TUid KUidContactFieldDTMF={KUidContactFieldDTMFValue};
1.415 -/** Identifies a ring tone field. This is a ring tone that is associated with a contact item.
1.416 -@publishedAll
1.417 -@released
1.418 -*/
1.419 -const TUid KUidContactFieldRingTone={KUidContactFieldRingToneValue};
1.420 -/** Identifies a job title field.
1.421 -@publishedAll
1.422 -@released
1.423 -*/
1.424 -const TUid KUidContactFieldJobTitle={KUidContactFieldJobTitleValue};
1.425 -/** Identifies an instant messaging address field.
1.426 -@publishedAll
1.427 -@released
1.428 -*/
1.429 -const TUid KUidContactFieldIMAddress = { KUidContactFieldIMAddressValue };
1.430 -/** Identifies a USIM second name field. This field is provided to
1.431 -store an additional representation of the contact's name, such as a
1.432 -nickname or a different representation. An example could be a Japanese
1.433 -contact which has a romanised name and an alternative representation using
1.434 -kanji (pictogram) characters.
1.435 -@publishedAll
1.436 -@released
1.437 -*/
1.438 -const TUid KUidContactFieldSecondName = { KUidContactFieldSecondNameValue };
1.439 -/** Identifies a SIP identity field.
1.440 -@publishedAll
1.441 -@released
1.442 -*/
1.443 -const TUid KUidContactFieldSIPID = { KUidContactFieldSIPIDValue };
1.444 -/** Identifies a Assistant field.
1.445 -@publishedAll
1.446 -@released
1.447 -*/
1.448 -const TUid KUidContactFieldAssistant = { KUidContactFieldAssistantValue };
1.449 -/** Identifies an Anniversary field.
1.450 -@publishedAll
1.451 -@released
1.452 -*/
1.453 -const TUid KUidContactFieldAnniversary = { KUidContactFieldAnniversaryValue };
1.454 -/** Identifies a Spouse field.
1.455 -@publishedAll
1.456 -@released
1.457 -*/
1.458 -const TUid KUidContactFieldSpouse = { KUidContactFieldSpouseValue };
1.459 -/** Identifies a Children field.
1.460 -@publishedAll
1.461 -@released
1.462 -*/
1.463 -const TUid KUidContactFieldChildren = { KUidContactFieldChildrenValue };
1.464 -/** Identifies a Class field.
1.465 -@publishedAll
1.466 -@released
1.467 -*/
1.468 -const TUid KUidContactFieldClass = { KUidContactFieldClassValue };
1.469 -/** Identifies a Department field.
1.470 -@publishedAll
1.471 -@released
1.472 -*/
1.473 -const TUid KUidContactFieldDepartmentName = { KUidContactFieldDepartmentNameValue };
1.474 -/*
1.475 -* CContactICCEntry (Telephony specific) UIDs.
1.476 - */
1.477 -/** Identifies an ICC slot contact field in the contact item.
1.478 -@publishedAll
1.479 -@released
1.480 -*/
1.481 -const TUid KUidContactFieldICCSlot={KUidContactFieldICCSlotValue};
1.482 -/** Identifies an ICC Phonebook contact field in the contact item.
1.483 -@publishedAll
1.484 -@released
1.485 -*/
1.486 -const TUid KUidContactFieldICCPhonebook={KUidContactFieldICCPhonebookValue};
1.487 -/** Identifies an ICC Group contact field in the contact item.
1.488 -@publishedAll
1.489 -@released
1.490 -*/
1.491 -const TUid KUidContactFieldICCGroup={KUidContactFieldICCGroupValue};
1.492 -
1.493 -/** Identifies a voice dial field. This is a voice recording associated with a telephone number
1.494 -field in the item.
1.495 -@publishedAll
1.496 -@released
1.497 -*/
1.498 -const TUid KUidContactsVoiceDialField={KUidContactsVoiceDialFieldValue};
1.499 -
1.500 -/** Indicates no field present.
1.501 -@publishedAll
1.502 -@released
1.503 -*/
1.504 -const TUid KUidContactFieldNone={KUidContactFieldNoneValue};
1.505 -/** Used in field type matching to indicate that all field types match.
1.506 -@publishedAll
1.507 -@released
1.508 -*/
1.509 -const TInt32 KUidContactFieldMatchAllValue=0x110FFF22;
1.510 -const TUid KUidContactFieldMatchAll={KUidContactFieldMatchAllValue};
1.511 -
1.512 -/*
1.513 - * Contact field type vCard mappings.
1.514 - * The vCard mapping describes how the field should be handled by the
1.515 - * vCard import/export code.
1.516 - */
1.517 -/** Field type maps to the Post office box field in an ADR vCard property value.
1.518 -@publishedAll
1.519 -@released
1.520 -*/
1.521 -const TUid KUidContactFieldVCardMapPOSTOFFICE={KIntContactFieldVCardMapPOSTOFFICE};
1.522 -/** Field type maps to the Extended address field in an ADR vCard property value.
1.523 -@publishedAll
1.524 -@released
1.525 -*/
1.526 -const TUid KUidContactFieldVCardMapEXTENDEDADR={KIntContactFieldVCardMapEXTENDEDADR};
1.527 -/** Field type maps to vCard property ADR.
1.528 -@publishedAll
1.529 -@released
1.530 -*/
1.531 -const TUid KUidContactFieldVCardMapADR={KIntContactFieldVCardMapADR};
1.532 -/** Field type maps to the Locality field in an ADR vCard property value.
1.533 -@publishedAll
1.534 -@released
1.535 -*/
1.536 -const TUid KUidContactFieldVCardMapLOCALITY={KIntContactFieldVCardMapLOCALITY};
1.537 -/** Field type maps to the Region field in an ADR vCard property value.
1.538 -@publishedAll
1.539 -@released
1.540 -*/
1.541 -const TUid KUidContactFieldVCardMapREGION={KIntContactFieldVCardMapREGION};
1.542 -/** Field type maps to the Postcode field in an ADR vCard property value.
1.543 -@publishedAll
1.544 -@released
1.545 -*/
1.546 -const TUid KUidContactFieldVCardMapPOSTCODE={KIntContactFieldVCardMapPOSTCODE};
1.547 -/** Field type maps to the Country field in an ADR vCard property value.
1.548 -@publishedAll
1.549 -@released
1.550 -*/
1.551 -const TUid KUidContactFieldVCardMapCOUNTRY={KIntContactFieldVCardMapCOUNTRY};
1.552 -
1.553 -/** Field type maps to vCard property AGENT.
1.554 -@publishedAll
1.555 -@released
1.556 -*/
1.557 -const TUid KUidContactFieldVCardMapAGENT={KIntContactFieldVCardMapAGENT};
1.558 -/** Field type maps to vCard property BDAY.
1.559 -@publishedAll
1.560 -@released
1.561 -*/
1.562 -const TUid KUidContactFieldVCardMapBDAY={KIntContactFieldVCardMapBDAY};
1.563 -/** Field type maps to vCard property EMAIL.
1.564 -@publishedAll
1.565 -@released
1.566 -*/
1.567 -const TUid KUidContactFieldVCardMapEMAILINTERNET={KIntContactFieldVCardMapEMAILINTERNET};
1.568 -/** Field type maps to vCard property GEO.
1.569 -@publishedAll
1.570 -@released
1.571 -*/
1.572 -const TUid KUidContactFieldVCardMapGEO={KIntContactFieldVCardMapGEO};
1.573 -/** Field type maps to vCard property LABEL.
1.574 -@publishedAll
1.575 -@released
1.576 -*/
1.577 -const TUid KUidContactFieldVCardMapLABEL={KIntContactFieldVCardMapLABEL};
1.578 -/** Field type maps to vCard property LOGO.
1.579 -@publishedAll
1.580 -@released
1.581 -*/
1.582 -const TUid KUidContactFieldVCardMapLOGO={KIntContactFieldVCardMapLOGO};
1.583 -/** Field type maps to vCard property MAILER.
1.584 -@publishedAll
1.585 -@released
1.586 -*/
1.587 -const TUid KUidContactFieldVCardMapMAILER={KIntContactFieldVCardMapMAILER};
1.588 -/** Field type maps to vCard property NOTE.
1.589 -@publishedAll
1.590 -@released
1.591 -*/
1.592 -const TUid KUidContactFieldVCardMapNOTE={KIntContactFieldVCardMapNOTE};
1.593 -/** Field type maps to vCard property ORG.
1.594 -@publishedAll
1.595 -@released
1.596 -*/
1.597 -const TUid KUidContactFieldVCardMapORG={KIntContactFieldVCardMapORG};
1.598 -/** Field type maps to vCard X-IRMC-ORG parameter of property SOUND.
1.599 -@publishedAll
1.600 -@released
1.601 -*/
1.602 -const TUid KUidContactFieldVCardMapORGPronunciation={KIntContactFieldVCardMapORGPronunciation};
1.603 -/** Field type maps to vCard property PHOTO.
1.604 -@publishedAll
1.605 -@released
1.606 -*/
1.607 -const TUid KUidContactFieldVCardMapPHOTO={KIntContactFieldVCardMapPHOTO};
1.608 -/** Field type maps to vCard property ROLE.
1.609 -@publishedAll
1.610 -@released
1.611 -*/
1.612 -const TUid KUidContactFieldVCardMapROLE={KIntContactFieldVCardMapROLE};
1.613 -/** Field type maps to vCard property SOUND.
1.614 -@publishedAll
1.615 -@released
1.616 -*/
1.617 -const TUid KUidContactFieldVCardMapSOUND={KIntContactFieldVCardMapSOUND};
1.618 -/** Field type maps to vCard property TEL.
1.619 -@publishedAll
1.620 -@released
1.621 -*/
1.622 -const TUid KUidContactFieldVCardMapTEL={KIntContactFieldVCardMapTEL};
1.623 -/** Field type maps to vCard property parameter FAX.
1.624 -@publishedAll
1.625 -@released
1.626 -*/
1.627 -const TUid KUidContactFieldVCardMapTELFAX={KIntContactFieldVCardMapTELFAX};
1.628 -/** Field type maps to vCard property TITLE.
1.629 -@publishedAll
1.630 -@released
1.631 -*/
1.632 -const TUid KUidContactFieldVCardMapTITLE={KIntContactFieldVCardMapTITLE};
1.633 -/** Field type maps to vCard property URL.
1.634 -@publishedAll
1.635 -@released
1.636 -*/
1.637 -const TUid KUidContactFieldVCardMapURL={KIntContactFieldVCardMapURL};
1.638 -/** Field maps to the vCard property N (name). Must be used in conjunction with
1.639 -a name-related field type (e.g. KUidContactFieldGivenName) to form the given
1.640 -name field mapping.
1.641 -@publishedAll
1.642 -@released
1.643 -*/
1.644 -const TUid KUidContactFieldVCardMapUnusedN={KIntContactFieldVCardMapUnusedN};
1.645 -/** Field type maps to vCard property FN (the display name).
1.646 -@publishedAll
1.647 -@released
1.648 -*/
1.649 -const TUid KUidContactFieldVCardMapUnusedFN={KIntContactFieldVCardMapUnusedFN};
1.650 -/** Mapping between the vCard property and field type is not required.
1.651 -@publishedAll
1.652 -@released
1.653 -*/
1.654 -const TUid KUidContactFieldVCardMapNotRequired={KIntContactFieldVCardMapNotRequired};
1.655 -/** Unknown mapping between a field type and a vCard extension property.
1.656 -@publishedAll
1.657 -@released
1.658 -*/
1.659 -const TUid KUidContactFieldVCardMapUnknownXDash={KIntContactFieldVCardMapUnknownXDash};
1.660 -/** Unknown mapping between field type and non-extension vCard property.
1.661 -@publishedAll
1.662 -@released
1.663 -*/
1.664 -const TUid KUidContactFieldVCardMapUnknown={KIntContactFieldVCardMapUnknown};
1.665 -/** Field type maps to vCard property UID.
1.666 -@publishedAll
1.667 -@released
1.668 -*/
1.669 -const TUid KUidContactFieldVCardMapUID={KIntContactFieldVCardMapUID};
1.670 -/** Field type maps to vCard property parameter WORK.
1.671 -@publishedAll
1.672 -@released
1.673 -*/
1.674 -const TUid KUidContactFieldVCardMapWORK={KIntContactFieldVCardMapWORK};
1.675 -/** Field type maps to vCard property parameter HOME.
1.676 -@publishedAll
1.677 -@released
1.678 -*/
1.679 -const TUid KUidContactFieldVCardMapHOME={KIntContactFieldVCardMapHOME};
1.680 -/** Field type maps to vCard property parameter MSG.
1.681 -@publishedAll
1.682 -@released
1.683 -*/
1.684 -const TUid KUidContactFieldVCardMapMSG={KIntContactFieldVCardMapMSG};
1.685 -/** Field type maps to vCard property parameter VOICE.
1.686 -@publishedAll
1.687 -@released
1.688 -*/
1.689 -const TUid KUidContactFieldVCardMapVOICE={KIntContactFieldVCardMapVOICE};
1.690 -/** Field type maps to vCard property parameter FAX.
1.691 -@publishedAll
1.692 -@released
1.693 -*/
1.694 -const TUid KUidContactFieldVCardMapFAX={KIntContactFieldVCardMapFAX};
1.695 -/** Field type maps to vCard property parameter PREF.
1.696 -@publishedAll
1.697 -@released
1.698 -*/
1.699 -const TUid KUidContactFieldVCardMapPREF={KIntContactFieldVCardMapPREF};
1.700 -/** Field type maps to vCard property parameter CELL.
1.701 -@publishedAll
1.702 -@released
1.703 -*/
1.704 -const TUid KUidContactFieldVCardMapCELL={KIntContactFieldVCardMapCELL};
1.705 -/** Field type maps to vCard property parameter PAGER.
1.706 -@publishedAll
1.707 -@released
1.708 -*/
1.709 -const TUid KUidContactFieldVCardMapPAGER={KIntContactFieldVCardMapPAGER};
1.710 -/** Field type maps to vCard property parameter BBS.
1.711 -@publishedAll
1.712 -@released
1.713 -*/
1.714 -const TUid KUidContactFieldVCardMapBBS={KIntContactFieldVCardMapBBS};
1.715 -/** Field type maps to vCard property parameter MODEM.
1.716 -@publishedAll
1.717 -@released
1.718 -*/
1.719 -const TUid KUidContactFieldVCardMapMODEM={KIntContactFieldVCardMapMODEM};
1.720 -/** Field type maps to vCard property parameter CAR.
1.721 -@publishedAll
1.722 -@released
1.723 -*/
1.724 -const TUid KUidContactFieldVCardMapCAR={KIntContactFieldVCardMapCAR};
1.725 -/** Field type maps to vCard property parameter ISDN.
1.726 -@publishedAll
1.727 -@released
1.728 -*/
1.729 -const TUid KUidContactFieldVCardMapISDN={KIntContactFieldVCardMapISDN};
1.730 -/** Field type maps to vCard property parameter VIDEO.
1.731 -@publishedAll
1.732 -@released
1.733 -*/
1.734 -const TUid KUidContactFieldVCardMapVIDEO={KIntContactFieldVCardMapVIDEO};
1.735 -/** Field type maps to vCard property parameter DOM.
1.736 -@publishedAll
1.737 -@released
1.738 -*/
1.739 -const TUid KUidContactFieldVCardMapDOM={KIntContactFieldVCardMapDOM};
1.740 -/** Field type maps to vCard property parameter INTL.
1.741 -@publishedAll
1.742 -@released
1.743 -*/
1.744 -const TUid KUidContactFieldVCardMapINTL={KIntContactFieldVCardMapINTL};
1.745 -/** Field type maps to vCard property parameter POSTAL.
1.746 -@publishedAll
1.747 -@released
1.748 -*/
1.749 -const TUid KUidContactFieldVCardMapPOSTAL={KIntContactFieldVCardMapPOSTAL};
1.750 -/** Field type maps to vCard property parameter PARCEL.
1.751 -@publishedAll
1.752 -@released
1.753 -*/
1.754 -const TUid KUidContactFieldVCardMapPARCEL={KIntContactFieldVCardMapPARCEL};
1.755 -/** Field type maps to vCard property parameter value GIF.
1.756 -@publishedAll
1.757 -@released
1.758 -*/
1.759 -const TUid KUidContactFieldVCardMapGIF={KIntContactFieldVCardMapGIF};
1.760 -/** Field type maps to vCard property parameter value CGM.
1.761 -@publishedAll
1.762 -@released
1.763 -*/
1.764 -const TUid KUidContactFieldVCardMapCGM={KIntContactFieldVCardMapCGM};
1.765 -/** Field type maps to vCard property parameter value WMF.
1.766 -@publishedAll
1.767 -@released
1.768 -*/
1.769 -const TUid KUidContactFieldVCardMapWMF={KIntContactFieldVCardMapWMF};
1.770 -/** Field type maps to vCard property parameter value BMP.
1.771 -@publishedAll
1.772 -@released
1.773 -*/
1.774 -const TUid KUidContactFieldVCardMapBMP={KIntContactFieldVCardMapBMP};
1.775 -/** Field type maps to vCard property parameter value MET.
1.776 -@publishedAll
1.777 -@released
1.778 -*/
1.779 -const TUid KUidContactFieldVCardMapMET={KIntContactFieldVCardMapMET};
1.780 -/** Field type maps to vCard property parameter value PMB.
1.781 -@publishedAll
1.782 -@released
1.783 -*/
1.784 -const TUid KUidContactFieldVCardMapPMB={KIntContactFieldVCardMapPMB};
1.785 -/** Field type maps to vCard property parameter value DIB.
1.786 -@publishedAll
1.787 -@released
1.788 -*/
1.789 -const TUid KUidContactFieldVCardMapDIB={KIntContactFieldVCardMapDIB};
1.790 -/** Field type maps to vCard property parameter value PICT.
1.791 -@publishedAll
1.792 -@released
1.793 -*/
1.794 -const TUid KUidContactFieldVCardMapPICT={KIntContactFieldVCardMapPICT};
1.795 -/** Field type maps to vCard property parameter value TIFF.
1.796 -@publishedAll
1.797 -@released
1.798 -*/
1.799 -const TUid KUidContactFieldVCardMapTIFF={KIntContactFieldVCardMapTIFF};
1.800 -/** Field type maps to vCard property parameter value PDF.
1.801 -@publishedAll
1.802 -@released
1.803 -*/
1.804 -const TUid KUidContactFieldVCardMapPDF={KIntContactFieldVCardMapPDF};
1.805 -/** Field type maps to vCard property parameter value PS.
1.806 -@publishedAll
1.807 -@released
1.808 -*/
1.809 -const TUid KUidContactFieldVCardMapPS={KIntContactFieldVCardMapPS};
1.810 -/** Field type maps to vCard property parameter value JPEG.
1.811 -@publishedAll
1.812 -@released
1.813 -*/
1.814 -const TUid KUidContactFieldVCardMapJPEG={KIntContactFieldVCardMapJPEG};
1.815 -/** Field type maps to vCard property parameter value MPEG.
1.816 -@publishedAll
1.817 -@released
1.818 -*/
1.819 -const TUid KUidContactFieldVCardMapMPEG={KIntContactFieldVCardMapMPEG};
1.820 -/** Field type maps to vCard property parameter value MPEG2.
1.821 -@publishedAll
1.822 -@released
1.823 -*/
1.824 -const TUid KUidContactFieldVCardMapMPEG2={KIntContactFieldVCardMapMPEG2};
1.825 -/** Field type maps to vCard property parameter value AVI.
1.826 -@publishedAll
1.827 -@released
1.828 -*/
1.829 -const TUid KUidContactFieldVCardMapAVI={KIntContactFieldVCardMapAVI};
1.830 -/** Field type maps to vCard property parameter value QTIME.
1.831 -@publishedAll
1.832 -@released
1.833 -*/
1.834 -const TUid KUidContactFieldVCardMapQTIME={KIntContactFieldVCardMapQTIME};
1.835 -/** Field type maps to vCard property TZ.
1.836 -@publishedAll
1.837 -@released
1.838 -*/
1.839 -const TUid KUidContactFieldVCardMapTZ={KIntContactFieldVCardMapTZ};
1.840 -/** Field type maps to vCard property KEY.
1.841 -@publishedAll
1.842 -@released
1.843 -*/
1.844 -const TUid KUidContactFieldVCardMapKEY={KIntContactFieldVCardMapKEY};
1.845 -/** Field type maps to vCard property parameter value X509.
1.846 -@publishedAll
1.847 -@released
1.848 -*/
1.849 -const TUid KUidContactFieldVCardMapX509={KIntContactFieldVCardMapX509};
1.850 -/** Field type maps to vCard property parameter value PGP.
1.851 -@publishedAll
1.852 -@released
1.853 -*/
1.854 -const TUid KUidContactFieldVCardMapPGP={KIntContactFieldVCardMapPGP};
1.855 -/** Used internally by the contacts model.
1.856 -@publishedAll
1.857 -@released
1.858 -*/
1.859 -const TUid KUidContactFieldVCardMapSMIME={KIntContactFieldVCardMapSMIME};
1.860 -/** The field contains a Wireless Village instant messaging ID.
1.861 -@publishedAll
1.862 -@released
1.863 -*/
1.864 -const TUid KUidContactFieldVCardMapWV={KIntContactFieldVCardMapWV};
1.865 -/** Field type mapping of a vCard property to contacts Second Name Field
1.866 -@publishedAll
1.867 -@released
1.868 -*/
1.869 -const TUid KUidContactFieldVCardMapSECONDNAME={KIntContactFieldVCardMapSECONDNAME};
1.870 -/** Field type mapping of a vCard property to contacts SIP Identity Field.
1.871 -@publishedAll
1.872 -@released
1.873 -*/
1.874 -const TUid KUidContactFieldVCardMapSIPID={KIntContactFieldVCardMapSIPID};
1.875 -/** Field type maps to vCard extension property parameter value POC
1.876 -(Push to Talk Over Cellular).
1.877 -@publishedAll
1.878 -@released
1.879 -*/
1.880 -const TUid KUidContactFieldVCardMapPOC={KIntContactFieldVCardMapPOC};
1.881 -/** Field type maps to vCard extension property parameter value SWIS
1.882 -("See What I See").
1.883 -@publishedAll
1.884 -@released
1.885 -*/
1.886 -const TUid KUidContactFieldVCardMapSWIS={KIntContactFieldVCardMapSWIS};
1.887 -/** Field type maps to vCard extension property parameter value VOIP
1.888 -(Voice Over IP).
1.889 -@publishedAll
1.890 -@released
1.891 -*/
1.892 -const TUid KUidContactFieldVCardMapVOIP={KIntContactFieldVCardMapVOIP};
1.893 -/** Field type maps to vCard extension property parameter value Assistant
1.894 -@publishedAll
1.895 -@released
1.896 -*/
1.897 -const TUid KUidContactFieldVCardMapAssistant={KIntContactFieldVCardMapAssistant};
1.898 -/** Field type maps to vCard extension property parameter value AssistantTel
1.899 -@publishedAll
1.900 -@released
1.901 -*/
1.902 -const TUid KUidContactFieldVCardMapAssistantTel={KIntContactFieldVCardMapAssistantTel};
1.903 -/** Field type maps to vCard extension property parameter value Anniversary
1.904 -@publishedAll
1.905 -@released
1.906 -*/
1.907 -const TUid KUidContactFieldVCardMapAnniversary={KIntContactFieldVCardMapAnniversary};
1.908 -/** Field type maps to vCard extension property parameter value Spouse
1.909 -@publishedAll
1.910 -@released
1.911 -*/
1.912 -const TUid KUidContactFieldVCardMapSpouse={KIntContactFieldVCardMapSpouse};
1.913 -/** Field type maps to vCard extension property parameter value Children
1.914 -@publishedAll
1.915 -@released
1.916 -*/
1.917 -const TUid KUidContactFieldVCardMapChildren={KIntContactFieldVCardMapChildren};
1.918 -/** Field type maps to vCard extension property parameter value Class
1.919 -@publishedAll
1.920 -@released
1.921 -*/
1.922 -const TUid KUidContactFieldVCardMapClass={KIntContactFieldVCardMapClass};
1.923 -/** Field type maps to vCard extension property parameter value Department
1.924 -@publishedAll
1.925 -@released
1.926 -*/
1.927 -const TUid KUidContactFieldVCardMapDepartment={KIntContactFieldVCardMapDepartment};
1.928 -
1.929 -/** Name of the TYPE property parameter, for which the values are work, home etc.
1.930 -@publishedAll
1.931 -@released
1.932 -*/
1.933 -_LIT(KVersitParamType,"TYPE");
1.934 -/** Name of the WORK property parameter.
1.935 -@publishedAll
1.936 -@released
1.937 -*/
1.938 -_LIT(KVersitParamWork,"WORK");
1.939 -/** Name of the HOME property parameter.
1.940 -@publishedAll
1.941 -@released
1.942 -*/
1.943 -_LIT(KVersitParamHome,"HOME");
1.944 -/** Name of the MSG property parameter.
1.945 -@publishedAll
1.946 -@released
1.947 -*/
1.948 -_LIT(KVersitParamMsg,"MSG");
1.949 -/** Name of the VOICE property parameter.
1.950 -@publishedAll
1.951 -@released
1.952 -*/
1.953 -_LIT(KVersitParamVoice,"VOICE");
1.954 -/** Name of the FAX property parameter.
1.955 -@publishedAll
1.956 -@released
1.957 -*/
1.958 -_LIT(KVersitParamFax,"FAX");
1.959 -/** Name of the PREF property parameter.
1.960 -@publishedAll
1.961 -@released
1.962 -*/
1.963 -_LIT(KVersitParamPref,"PREF");
1.964 -/** Name of the CELL property parameter.
1.965 -@publishedAll
1.966 -@released
1.967 -*/
1.968 -_LIT(KVersitParamCell,"CELL");
1.969 -/** Name of the PAGER property parameter.
1.970 -@publishedAll
1.971 -@released
1.972 -*/
1.973 -_LIT(KVersitParamPager,"PAGER");
1.974 -/** Name of the BBS property parameter.
1.975 -@publishedAll
1.976 -@released
1.977 -*/
1.978 -_LIT(KVersitParamBbs,"BBS");
1.979 -/** Name of the MODEM property parameter.
1.980 -@publishedAll
1.981 -@released
1.982 -*/
1.983 -_LIT(KVersitParamModem,"MODEM");
1.984 -/** Name of the CAR property parameter.
1.985 -@publishedAll
1.986 -@released
1.987 -*/
1.988 -_LIT(KVersitParamCar,"CAR");
1.989 -/** Name of the ISDN property parameter.
1.990 -@publishedAll
1.991 -@released
1.992 -*/
1.993 -_LIT(KVersitParamIsdn,"ISDN");
1.994 -/** Name of the VIDEO property parameter.
1.995 -@publishedAll
1.996 -@released
1.997 -*/
1.998 -_LIT(KVersitParamVideo,"VIDEO");
1.999 -/** Name of the DOM property parameter.
1.1000 -@publishedAll
1.1001 -@released
1.1002 -*/
1.1003 -_LIT(KVersitParamDom,"DOM");
1.1004 -/** Name of the GIF property parameter.
1.1005 -@publishedAll
1.1006 -@released
1.1007 -*/
1.1008 -_LIT(KVersitParamGif,"GIF");
1.1009 -/** Name of the CGM property parameter.
1.1010 -@publishedAll
1.1011 -@released
1.1012 -*/
1.1013 -_LIT(KVersitParamCgm,"CGM");
1.1014 -/** Name of the WMF property parameter.
1.1015 -@publishedAll
1.1016 -@released
1.1017 -*/
1.1018 -_LIT(KVersitParamWmf,"WMF");
1.1019 -/** Name of the BMP property parameter.
1.1020 -@publishedAll
1.1021 -@released
1.1022 -*/
1.1023 -_LIT(KVersitParamBmp,"BMP");
1.1024 -/** Name of the MET property parameter.
1.1025 -@publishedAll
1.1026 -@released
1.1027 -*/
1.1028 -_LIT(KVersitParamMet,"MET");
1.1029 -/** Name of the PMB property parameter.
1.1030 -@publishedAll
1.1031 -@released
1.1032 -*/
1.1033 -_LIT(KVersitParamPmb,"PMB");
1.1034 -/** Name of the DIB property parameter.
1.1035 -@publishedAll
1.1036 -@released
1.1037 -*/
1.1038 -_LIT(KVersitParamDib,"DIB");
1.1039 -/** Name of the PICT property parameter.
1.1040 -@publishedAll
1.1041 -@released
1.1042 -*/
1.1043 -_LIT(KVersitParamPict,"PICT");
1.1044 -/** Name of the TIFF property parameter.
1.1045 -@publishedAll
1.1046 -@released
1.1047 -*/
1.1048 -_LIT(KVersitParamTiff,"TIFF");
1.1049 -/** Name of the PDF property parameter.
1.1050 -@publishedAll
1.1051 -@released
1.1052 -*/
1.1053 -_LIT(KVersitParamPdf,"PDF");
1.1054 -/** Name of the PS property parameter.
1.1055 -@publishedAll
1.1056 -@released
1.1057 -*/
1.1058 -_LIT(KVersitParamPs,"PS");
1.1059 -/** Name of the JPEG property parameter.
1.1060 -@publishedAll
1.1061 -@released
1.1062 -*/
1.1063 -_LIT(KVersitParamJpeg,"JPEG");
1.1064 -/** Name of the MPEG property parameter.
1.1065 -@publishedAll
1.1066 -@released
1.1067 -*/
1.1068 -_LIT(KVersitParamMpeg,"MPEG");
1.1069 -/** Name of the MPEG2 property parameter.
1.1070 -@publishedAll
1.1071 -@released
1.1072 -*/
1.1073 -_LIT(KVersitParamMpeg2,"MPEG2");
1.1074 -/** Name of the AVI property parameter.
1.1075 -@publishedAll
1.1076 -@released
1.1077 -*/
1.1078 -_LIT(KVersitParamAvi,"AVI");
1.1079 -/** Name of the QTIME property parameter.
1.1080 -@publishedAll
1.1081 -@released
1.1082 -*/
1.1083 -_LIT(KVersitParamQtime,"QTIME");
1.1084 -/** Name of the X509 property parameter.
1.1085 -@publishedAll
1.1086 -@released
1.1087 -*/
1.1088 -_LIT(KVersitParamX509,"X509");
1.1089 -/** Name of the PGP property parameter.
1.1090 -@publishedAll
1.1091 -@released
1.1092 -*/
1.1093 -_LIT(KVersitParamPGP,"PGP");
1.1094 -
1.1095 -/** 8 bit name of the TYPE property parameter.
1.1096 -@publishedAll
1.1097 -@released
1.1098 -*/
1.1099 -_LIT8(KVersitParam8Type,"TYPE");
1.1100 -/** 8 bit name of the WORK property parameter.
1.1101 -@publishedAll
1.1102 -@released
1.1103 -*/
1.1104 -_LIT8(KVersitParam8Work,"WORK");
1.1105 -/** 8 bit name of the HOME property parameter.
1.1106 -@publishedAll
1.1107 -@released
1.1108 -*/
1.1109 -_LIT8(KVersitParam8Home,"HOME");
1.1110 -/** 8 bit name of the MSG property parameter.
1.1111 -@publishedAll
1.1112 -@released
1.1113 -*/
1.1114 -_LIT8(KVersitParam8Msg,"MSG");
1.1115 -/** 8 bit name of the VOICE property parameter.
1.1116 -@publishedAll
1.1117 -@released
1.1118 -*/
1.1119 -_LIT8(KVersitParam8Voice,"VOICE");
1.1120 -/** 8 bit name of the FAX property parameter.
1.1121 -@publishedAll
1.1122 -@released
1.1123 -*/
1.1124 -_LIT8(KVersitParam8Fax,"FAX");
1.1125 -/** 8 bit name of the PREF property parameter.
1.1126 -@publishedAll
1.1127 -@released
1.1128 -*/
1.1129 -_LIT8(KVersitParam8Pref,"PREF");
1.1130 -/** 8 bit name of the CELL property parameter.
1.1131 -@publishedAll
1.1132 -@released
1.1133 -*/
1.1134 -_LIT8(KVersitParam8Cell,"CELL");
1.1135 -/** 8 bit name of the PAGER property parameter.
1.1136 -@publishedAll
1.1137 -@released
1.1138 -*/
1.1139 -_LIT8(KVersitParam8Pager,"PAGER");
1.1140 -/** 8 bit name of the BBS property parameter.
1.1141 -@publishedAll
1.1142 -@released
1.1143 -*/
1.1144 -_LIT8(KVersitParam8Bbs,"BBS");
1.1145 -/** 8 bit name of the MODEM property parameter.
1.1146 -@publishedAll
1.1147 -@released
1.1148 -*/
1.1149 -_LIT8(KVersitParam8Modem,"MODEM");
1.1150 -/** 8 bit name of the CAR property parameter.
1.1151 -@publishedAll
1.1152 -@released
1.1153 -*/
1.1154 -_LIT8(KVersitParam8Car,"CAR");
1.1155 -/** 8 bit name of the ISDN property parameter.
1.1156 -@publishedAll
1.1157 -@released
1.1158 -*/
1.1159 -_LIT8(KVersitParam8Isdn,"ISDN");
1.1160 -/** 8 bit name of the VIDEO property parameter.
1.1161 -@publishedAll
1.1162 -@released
1.1163 -*/
1.1164 -_LIT8(KVersitParam8Video,"VIDEO");
1.1165 -/** 8 bit name of the DOM property parameter.
1.1166 -@publishedAll
1.1167 -@released
1.1168 -*/
1.1169 -_LIT8(KVersitParam8Dom,"DOM");
1.1170 -/** 8 bit name of the GIF property parameter.
1.1171 -@publishedAll
1.1172 -@released
1.1173 -*/
1.1174 -_LIT8(KVersitParam8Gif,"GIF");
1.1175 -/** 8 bit name of the CGM property parameter.
1.1176 -@publishedAll
1.1177 -@released
1.1178 -*/
1.1179 -_LIT8(KVersitParam8Cgm,"CGM");
1.1180 -/** 8 bit name of the WMF property parameter.
1.1181 -@publishedAll
1.1182 -@released
1.1183 -*/
1.1184 -_LIT8(KVersitParam8Wmf,"WMF");
1.1185 -/** 8 bit name of the BMP property parameter.
1.1186 -@publishedAll
1.1187 -@released
1.1188 -*/
1.1189 -_LIT8(KVersitParam8Bmp,"BMP");
1.1190 -/** 8 bit name of the MET property parameter.
1.1191 -@publishedAll
1.1192 -@released
1.1193 -*/
1.1194 -_LIT8(KVersitParam8Met,"MET");
1.1195 -/** 8 bit name of the PMB property parameter.
1.1196 -@publishedAll
1.1197 -@released
1.1198 -*/
1.1199 -_LIT8(KVersitParam8Pmb,"PMB");
1.1200 -/** 8 bit name of the DIB property parameter.
1.1201 -@publishedAll
1.1202 -@released
1.1203 -*/
1.1204 -_LIT8(KVersitParam8Dib,"DIB");
1.1205 -/** 8 bit name of the PICT property parameter.
1.1206 -@publishedAll
1.1207 -@released
1.1208 -*/
1.1209 -_LIT8(KVersitParam8Pict,"PICT");
1.1210 -/** 8 bit name of the TIFF property parameter.
1.1211 -@publishedAll
1.1212 -@released
1.1213 -*/
1.1214 -_LIT8(KVersitParam8Tiff,"TIFF");
1.1215 -/** 8 bit name of the PDF property parameter.
1.1216 -@publishedAll
1.1217 -@released
1.1218 -*/
1.1219 -_LIT8(KVersitParam8Pdf,"PDF");
1.1220 -/** 8 bit name of the PS property parameter.
1.1221 -@publishedAll
1.1222 -@released
1.1223 -*/
1.1224 -_LIT8(KVersitParam8Ps,"PS");
1.1225 -/** 8 bit name of the JPEG property parameter.
1.1226 -@publishedAll
1.1227 -@released
1.1228 -*/
1.1229 -_LIT8(KVersitParam8Jpeg,"JPEG");
1.1230 -/** 8 bit name of the MPEG property parameter.
1.1231 -@publishedAll
1.1232 -@released
1.1233 -*/
1.1234 -_LIT8(KVersitParam8Mpeg,"MPEG");
1.1235 -/** 8 bit name of the MPEG2 property parameter.
1.1236 -@publishedAll
1.1237 -@released
1.1238 -*/
1.1239 -_LIT8(KVersitParam8Mpeg2,"MPEG2");
1.1240 -/** 8 bit name of the AVI property parameter.
1.1241 -@publishedAll
1.1242 -@released
1.1243 -*/
1.1244 -_LIT8(KVersitParam8Avi,"AVI");
1.1245 -/** 8 bit name of the QTIME property parameter.
1.1246 -@publishedAll
1.1247 -@released
1.1248 -*/
1.1249 -_LIT8(KVersitParam8Qtime,"QTIME");
1.1250 -/** 8 bit name of the X509 property parameter.
1.1251 -@publishedAll
1.1252 -@released
1.1253 -*/
1.1254 -_LIT8(KVersitParam8X509,"X509");
1.1255 -/** 8 bit name of the PGP property parameter.
1.1256 -@publishedAll
1.1257 -@released
1.1258 -*/
1.1259 -_LIT8(KVersitParam8PGP,"PGP");
1.1260 -
1.1261 -/**
1.1262 -8 bit name of the X-IRMC-N property parameter (family or given
1.1263 -name pronunciation).
1.1264 -@publishedAll
1.1265 -@released
1.1266 -*/
1.1267 -_LIT8(KVersitParam8NamePrn,"X-IRMC-N");
1.1268 -/**
1.1269 -8 bit name of the X-IRMC-ORG property parameter (company
1.1270 -name pronunciation).
1.1271 -@publishedAll
1.1272 -@released
1.1273 -*/
1.1274 -_LIT8(KVersitParam8CompanyPrn,"X-IRMC-ORG");
1.1275 -/**
1.1276 -8 bit name of the X-IRMC- property parameter (pronunciation field prefix).
1.1277 -@publishedAll
1.1278 -@released
1.1279 -*/
1.1280 -_LIT8(KVersitParam8PronunciationPrefix,"X-IRMC-");
1.1281 -
1.1282 -
1.1283 -
1.1284 -class CContactIdArray : public CBase
1.1285 -/** Array of contact item IDs (TContactItemIds).
1.1286 -
1.1287 -Instances of this class are used in several contact database functions,
1.1288 -for instance CContactDatabase::DeleteContactsL().
1.1289 -@publishedAll
1.1290 -@released
1.1291 -*/
1.1292 - {
1.1293 -public:
1.1294 - IMPORT_C static CContactIdArray* NewL();
1.1295 - IMPORT_C static CContactIdArray* NewLC();
1.1296 - IMPORT_C static CContactIdArray* NewL(const CContactIdArray* aArray);
1.1297 - IMPORT_C static CContactIdArray* NewLC(const CContactIdArray* aArray);
1.1298 - static CContactIdArray* NewLC(RReadStream& aStream);
1.1299 - IMPORT_C ~CContactIdArray();
1.1300 - inline const TContactItemId& operator[](TInt aIndex) const;
1.1301 - inline TContactItemId& operator[](TInt aIndex);
1.1302 - inline TInt Count() const;
1.1303 - inline void Reset();
1.1304 - IMPORT_C TInt Find(TContactItemId aId) const;
1.1305 - IMPORT_C void AddL(TContactItemId aId);
1.1306 -
1.1307 - inline void Remove(TInt aIndex);
1.1308 - inline void Remove(TInt aIndex,TInt aCount);
1.1309 - inline void InsertL(TInt aIndex,TContactItemId aId);
1.1310 - IMPORT_C void MoveL(TInt aOldIndex,TInt aNewIndex);
1.1311 - IMPORT_C void ReverseOrder();
1.1312 - IMPORT_C void InternalizeL(RReadStream& aStream);
1.1313 - IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
1.1314 -public: // intended for internal Contacts Model usage only
1.1315 - void Sort();
1.1316 -private:
1.1317 - CContactIdArray();
1.1318 - void ConstructL();
1.1319 - void CloneL(const CContactIdArray* aArray);
1.1320 -private:
1.1321 - CArrayFixFlat<TContactItemId> *iIds;
1.1322 - };
1.1323 -inline const TContactItemId& CContactIdArray::operator[](TInt aIndex) const
1.1324 -/** Gets the indexed TContactItemId.
1.1325 -
1.1326 -@param aIndex The position of the contact ID within the array, relative to zero.
1.1327 -This must be non-negative and less than the number of objects in the array
1.1328 -otherwise the operator raises a panic.
1.1329 -@return A reference to a const element of the array. */
1.1330 - { return (*iIds)[aIndex]; }
1.1331 -
1.1332 -inline TContactItemId& CContactIdArray::operator[](TInt aIndex)
1.1333 -/** Gets the indexed TContactItemId.
1.1334 -
1.1335 -@param aIndex The position of the contact ID within the array, relative to zero.
1.1336 -This must be non-negative and less than the number of objects in the array
1.1337 -otherwise the operator raises a panic.
1.1338 -@return A reference to a non-const element of the array. */
1.1339 - { return (*iIds)[aIndex]; }
1.1340 -
1.1341 -inline TInt CContactIdArray::Count() const
1.1342 -/** Gets the number of contact IDs in the array.
1.1343 -
1.1344 -@return The number of contact IDs in the array. */
1.1345 - { return iIds->Count(); }
1.1346 -
1.1347 -inline void CContactIdArray::Reset()
1.1348 -/** Removes all contact IDs from the array. */
1.1349 - { iIds->Reset(); }
1.1350 -
1.1351 -inline void CContactIdArray::Remove(TInt aIndex)
1.1352 -/** Removes the indexed contact ID from the array.
1.1353 -
1.1354 -The index value must not be negative and must not be greater than the number
1.1355 -of elements in the array, otherwise the function raises a panic.
1.1356 -
1.1357 -@param aIndex The index of the contact ID to remove. */
1.1358 - { iIds->Delete(aIndex); }
1.1359 -
1.1360 -inline void CContactIdArray::Remove(TInt aIndex,TInt aCount)
1.1361 -/** Removes a block of contact IDs from the array.
1.1362 -
1.1363 -This function raises a panic if any of the following are true:-
1.1364 -
1.1365 -- aCount is negative
1.1366 -
1.1367 -- aIndex is negative or is greater than the number of elements currently in
1.1368 -the array
1.1369 -
1.1370 -- the sum of aIndex and aCount is greater than the number of elements currently
1.1371 -in the array
1.1372 -
1.1373 -@param aIndex The index of the first contact ID to remove.
1.1374 -@param aCount The number of contiguous contact IDs to delete from the array.
1.1375 -If this is not specified, a value of one is assumed. */
1.1376 - { iIds->Delete(aIndex,aCount); }
1.1377 -
1.1378 -inline void CContactIdArray::InsertL(TInt aIndex,TContactItemId aId)
1.1379 -/** Inserts a contact ID into the array.
1.1380 -
1.1381 -The index must be valid or a panic occurs.
1.1382 -
1.1383 -The function may attempt to expand the array buffer. If there is insufficient
1.1384 -memory available, the function leaves. The leave code is one of the system
1.1385 -error codes. If the function leaves, the array is left in the state it was
1.1386 -in before the call.
1.1387 -
1.1388 -@param aIndex The index at which to insert the contact ID.
1.1389 -@param aId The contact ID to insert. */
1.1390 - { iIds->InsertL(aIndex,aId); }
1.1391 -
1.1392 -
1.1393 -/** Shows supported event action types that are used when deleting
1.1394 -a contact or an array of contacts
1.1395 -@internalTechnology
1.1396 -@released
1.1397 -*/
1.1398 -enum TCntSendEventAction
1.1399 - {
1.1400 - EDeferEvent = 0,
1.1401 - ESendEvent = 1,
1.1402 - ESendUnknownChangesEvent = 2,
1.1403 - };
1.1404 -
1.1405 -#endif