Class GDataContactsConverter. Converts contacts from GData format to vCards.
More...
#include <GDataContactsConverter.hpp>
|
static bool | convert (GDataContactsContact *contact, std::string &vCard) |
| Converts GDataContactsContact to vCard. More...
|
|
static bool | convert (GDataContactsContact *contact, guint8 *photoData, gsize photoDataLen, gchar *photoType, std::string &vCard) |
| Converts GDataContactsContact to vCard with photo data. More...
|
|
Class GDataContactsConverter. Converts contacts from GData format to vCards.
GDataContactsConverter::GDataContactsConverter |
( |
| ) |
|
GDataContactsConverter::~GDataContactsConverter |
( |
| ) |
|
|
virtual |
Destructor, virtual by default.
bool GDataContactsConverter::convert |
( |
GDataContactsContact * |
contact, |
|
|
std::string & |
vCard |
|
) |
| |
|
static |
Converts GDataContactsContact to vCard.
- Parameters
-
[in] | contact | contact to be converted |
[out] | vCard | converted vCard. |
bool GDataContactsConverter::convert |
( |
GDataContactsContact * |
contact, |
|
|
guint8 * |
photoData, |
|
|
gsize |
photoDataLen, |
|
|
gchar * |
photoType, |
|
|
std::string & |
vCard |
|
) |
| |
|
static |
Converts GDataContactsContact to vCard with photo data.
- Parameters
-
[in] | contact | contact to be converted. |
[in] | photoData | photo data. |
[in] | photoDataLen | size of photoData. |
[in] | photoType | format of photo. |
[out] | vCard | converted vCard. |
The documentation for this class was generated from the following files: