[Evolution-hackers] EClient Functions



The EbookClient functions such as:

1) e_book_client_connect_sync and
2) e_book_client_connect_direct_sync etc

are Declared as EClient * functions but return an EbookClient

Does this means that the returned EbookClient must be type casted to a
EbookClient to stop the Compliler warnings about the mismatch in
declaration of the function and what the function returns. or am I
missing the point here.

What is the correct code to type cast for an EbookClient.

When using these functions with evolution-data-server can a new glib
main loop be started for bdus operation or does it have to started
in another way for an application that wishes to retrieve all contact
info for the available addressbooks. A good example is gnome-contacts.

1) Is the only two methods of getting all contacts fields in an
EWS    addressbook is either to iterate over a list or hash table of
all  known fields of a contact,  or

2) Use the vcard functions to get all the known fields.


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