CContactConverter Class Reference

class CContactConverter : public CBase

Provides functionality to import and export vCards. One or more vCards can be imported from a read stream (the vCards are converted into contact items and added to the database). Also, contact items can be exported as vCards.

Inherits from

Member Functions Documentation

ExportL(CContactDatabase &, const CContactIdArray &, RWriteStream &, TInt, const Versit::TVersitCharSet, TBool, TInt)

voidExportL(CContactDatabase &aDb,
const CContactIdArray &aSelectedContactIds,
RWriteStream &aWriteStream,
TIntaOptions,
const Versit::TVersitCharSetaCharSet,
TBoolaExportPrivateFields,
TIntaCommitNumber = 10
)[pure virtual]

Parameters

CContactDatabase & aDb
const CContactIdArray & aSelectedContactIds
RWriteStream & aWriteStream
TInt aOptions
const Versit::TVersitCharSet aCharSet
TBool aExportPrivateFields
TInt aCommitNumber = 10

ImportL(CContactDatabase &, RReadStream &, TBool &, TInt, TBool)

CArrayPtr< CContactItem > *ImportL(CContactDatabase &aDb,
RReadStream &aReadStream,
TBool &aImportSuccessful,
TIntaOptions,
TBoolaImportSingle
)[pure virtual]

Parameters

CContactDatabase & aDb
RReadStream & aReadStream
TBool & aImportSuccessful
TInt aOptions
TBool aImportSingle