10 #ifndef GDATACONTACTSCONVERTER_HPP_
11 #define GDATACONTACTSCONVERTER_HPP_
13 #include <gdata/gdata.h>
39 static bool convert(GDataContactsContact* contact, std::string& vCard);
49 static bool convert(GDataContactsContact* contact, guint8* photoData, gsize photoDataLen, gchar* photoType, std::string& vCard);
68 typedef bool (*FieldParseFunction)(GDataContactsContact* contac, std::ostringstream& stream);
70 static std::vector<FieldParseFunction> fieldParsers;
72 static bool convertCommon(GDataContactsContact* contact, std::ostringstream& oss);
73 static void populateParsers();
76 #endif // GDATACONTACTSCONVERTER_HPP_