CBCardEngine Class Reference
#include
<app/BCardEng.h>
Link against: BCardEng.lib
class CBCardEngine : public CBase |
Detailed Description
The business card engine is able to import and export vCards and Compact Business Cards to and from Phonebook.
Constructor & Destructor Documentation
Member Function Documentation
ExportBusinessCardL ( RWriteStream &, CPbkContactItem & )
Writes a vCard record with information from a Phonebook contact item. The main Export function.
Parameter | Description | aDestStream | A stream where the vCard data is written to. The data written to the stream is not Committed by this method. |
aSourceItem | Phonebook contact item where the information should be read from |
ImportBusinessCardL ( CPbkContactItem &, RReadStream & )
Reads a vCard record from a stream into a Phonebook contact item.
Parameter | Description | aDestItem | Phonebook contact item where the information should be written to. The item should be writable. The caller should commit the changes. |
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.
Parameter | Description | aDestItem | Phonebook contact item where the information must be written to. The item must be writable. The caller should commit the changes. |
aSourceStream | A stream where the Compact Business Card is read from |
Returns: ETrue on success
NewL ( CPbkContactEngine * )
Creates a new instance of this class.
Parameter | Description | aEngine | An open Phonebook Engine object which CBCardEngine uses to import and export vCard data. |
SupportsFieldType ( TPbkFieldId )
Checks if given field is supported by the vCard format
Parameter | Description | aFieldId | Field id type |
Returns: ETrue if given field is supported, EFalse otherwise