OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
GDataContactsConverter Class Reference

Class GDataContactsConverter. Converts contacts from GData format to vCards. More...

#include <GDataContactsConverter.hpp>

Public Member Functions

 GDataContactsConverter ()
 Constructor. More...
 
virtual ~GDataContactsConverter ()
 Destructor, virtual by default. More...
 

Static Public Member Functions

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...
 

Detailed Description

Class GDataContactsConverter. Converts contacts from GData format to vCards.

Constructor & Destructor Documentation

GDataContactsConverter::GDataContactsConverter ( )

Constructor.

GDataContactsConverter::~GDataContactsConverter ( )
virtual

Destructor, virtual by default.

Member Function Documentation

bool GDataContactsConverter::convert ( GDataContactsContact *  contact,
std::string &  vCard 
)
static

Converts GDataContactsContact to vCard.

Parameters
[in]contactcontact to be converted
[out]vCardconverted 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]contactcontact to be converted.
[in]photoDataphoto data.
[in]photoDataLensize of photoData.
[in]photoTypeformat of photo.
[out]vCardconverted vCard.

The documentation for this class was generated from the following files: