Re: [Evolution-hackers] Import Vcard programmically



Thanks. I checked the evolution-data-server/addressbook/tests and there's only one dump-vcard.c. After I examined, I found it not quite helpful to solve my problem. What I want is actully something like API to importors. Evolution has some importors which import VCard, iCalendar files, MBox and so on. Is thers any API to these importors?


------ Original Message ------
From: JP Rosevear <jpr novell com>
Date: Wednesday, October 13th, 2004 2:26 AM SGT
To: Liu Hai Bin <haibin resolvo com>
Subject: Re: [Evolution-hackers] Import Vcard programmically

On Mon, 2004-10-11 at 18:20 +0800, Liu Hai Bin wrote:
> Hi all,
> 
> I have a Vcard file and know Evolution has an importor which can import the Vcard file. But I'd like to know if there is any API that I can call to import the Vcard file programmically. I checked the libebook and found some interesting APIs like e_vcard_new() and  e_contact_new_from_vcard(const char *vcard). Are these APIs relevent? Any examples that show how to use them?

Yes they are, evolution-data-server/addressbook/tests may have some
relevant sample code for you.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]