CBCardEngine Class Reference
class CBCardEngine : public CBase
|
The business card engine is able to import and export vCards and Compact Business Cards to and from Phonebook.
Constructor & Destructor Documentation
CBCardEngine()
CBCardEngine
|
(
|
)
|
[private, inline]
|
~CBCardEngine()
IMPORT_C
|
~CBCardEngine
|
(
|
)
|
|
Member Functions Documentation
ConstructL(CPbkContactEngine *)
ExportBusinessCardL(RWriteStream &, CPbkContactItem &)
Writes a vCard record with information from a Phonebook contact item. The main Export function.
Parameters
RWriteStream
& aDestStream
|
A stream where the vCard data is written to. The data written to the stream is not Committed by this method.
|
CPbkContactItem
& aSourceItem
|
Phonebook contact item where the information should be read from
|
GetByteFromStream(TUint8 &, RReadStream &)
GetLineFromStreamL(TDes &, RReadStream &)
ImportBusinessCardL(CPbkContactItem &, RReadStream &)
Reads a vCard record from a stream into a Phonebook contact item.
Parameters
CPbkContactItem
& aDestItem
|
Phonebook contact item where the information should be written to. The item should be writable. The caller should commit the changes.
|
RReadStream
& aSourceStream
|
A stream where the vCard data is read from
|
ImportCompactBusinessCardL(CPbkContactItem &, RReadStream &)
Reads a Compact Business Card record from a stream into a Phonebook contact item.
Parameters
CPbkContactItem
& aDestItem
|
Phonebook contact item where the information must be written to. The item must be writable. The caller should commit the changes.
|
RReadStream
& aSourceStream
|
A stream where the Compact Business Card is read from
|
NewL(CPbkContactEngine *)
Creates a new instance of this class.
Parameters
CPbkContactEngine
* aEngine
|
An open Phonebook Engine object which CBCardEngine uses to import and export vCard data.
|
ProcessExportPropertyL(CParserVCard &, CPbkContactItem &, const CBCardExportProperty &)
void
|
ProcessExportPropertyL
|
(
|
CParserVCard
&
|
aParser,
|
|
CPbkContactItem
&
|
aSourceItem,
|
|
const CBCardExportProperty &
|
aExportProperty
|
|
)
|
[private]
|
SupportsFieldType(TPbkFieldId)
Checks if given field is supported by the vCard format
Member Data Documentation
CPbkContactEngine * iEngine
RPointerArray< CBCardExportProperty > iExportProperties
RPointerArray
< CBCardExportProperty >
|
iExportProperties
|
[private]
|
CBCardFieldAction * iFieldAction
CBCardFieldAction *
|
iFieldAction
|
[private]
|
CBCardFieldUidMapping * iNameUidMap
CBCardFieldUidMapping *
|
iNameUidMap
|
[private]
|
HBufC * iPictureFileName
HBufC
*
|
iPictureFileName
|
[private]
|
HBufC * iThumbnailFileName
HBufC
*
|
iThumbnailFileName
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.