From 9fc892bc755e79ee500b67b52d0f02da9d75a4af Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 23 Dec 2003 22:38:25 +0000 Subject: Update libebook API documentation --- .../addressbook/libebook/libebook-docs.sgml | 10 +- .../addressbook/libebook/libebook-sections.txt | 110 +++-- docs/reference/addressbook/libebook/libebook.types | 2 +- .../libebook/tmpl/e-address-western.sgml | 9 +- .../addressbook/libebook/tmpl/e-book-async.sgml | 13 + .../addressbook/libebook/tmpl/e-book-listener.sgml | 14 + .../addressbook/libebook/tmpl/e-book-query.sgml | 9 +- .../addressbook/libebook/tmpl/e-book-types.sgml | 4 +- .../libebook/tmpl/e-book-view-listener.sgml | 14 + .../addressbook/libebook/tmpl/e-book-view.sgml | 48 +++ .../addressbook/libebook/tmpl/e-book.sgml | 46 +- .../addressbook/libebook/tmpl/e-contact.sgml | 384 ++++++++++++++++- .../addressbook/libebook/tmpl/e-name-western.sgml | 9 +- .../addressbook/libebook/tmpl/e-vcard.sgml | 368 ++++++++-------- .../addressbook/libebook/tmpl/libebook-unused.sgml | 461 --------------------- 15 files changed, 764 insertions(+), 737 deletions(-) (limited to 'docs') diff --git a/docs/reference/addressbook/libebook/libebook-docs.sgml b/docs/reference/addressbook/libebook/libebook-docs.sgml index a70abcbc6..c196b5cc6 100644 --- a/docs/reference/addressbook/libebook/libebook-docs.sgml +++ b/docs/reference/addressbook/libebook/libebook-docs.sgml @@ -3,19 +3,19 @@ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -Evolution API Reference: libebook, the Addressbook Library + Evolution API Reference: libebook, the Addressbook Library Evolution API Reference: libebook, the Addressbook Library - - - + + + + - diff --git a/docs/reference/addressbook/libebook/libebook-sections.txt b/docs/reference/addressbook/libebook/libebook-sections.txt index 87ec972f9..061c2ceec 100644 --- a/docs/reference/addressbook/libebook/libebook-sections.txt +++ b/docs/reference/addressbook/libebook/libebook-sections.txt @@ -1,11 +1,13 @@
e-book-listener -EBookListenerResponse EBookListener +EBookListener +EBookListenerResponse EBookListenerOperation e_book_listener_new e_book_listener_stop +EBookListenerClass E_BOOK_LISTENER E_IS_BOOK_LISTENER E_TYPE_BOOK_LISTENER @@ -19,12 +21,14 @@ EBookListenerPrivate
e-book-view-listener -EBookViewListenerResponse EBookViewListener +EBookViewListener +EBookViewListenerResponse EBookViewListenerOperation e_book_view_listener_new e_book_view_listener_stop +EBookViewListenerClass E_BOOK_VIEW_LISTENER E_IS_BOOK_VIEW_LISTENER E_TYPE_BOOK_VIEW_LISTENER @@ -39,11 +43,13 @@ EBookViewListenerPrivate
e-book-view EBookView +EBookView e_book_view_new e_book_view_set_book e_book_view_start e_book_view_stop +EBookViewClass E_BOOK_VIEW E_IS_BOOK_VIEW E_TYPE_BOOK_VIEW @@ -58,7 +64,9 @@ EBookViewPrivate
e-book EBook +EBook e_book_new +e_book_load_source e_book_load_uri e_book_unload_uri e_book_remove @@ -82,9 +90,11 @@ e_book_is_writable e_book_cancel e_book_get_self e_book_set_self +e_book_is_self e_book_get_default_addressbook e_book_get_addressbooks +EBookClass E_BOOK E_IS_BOOK E_TYPE_BOOK @@ -98,12 +108,13 @@ EBookPrivate
e-contact +EContact +EContact EContactField EContactName EContactPhoto EContactAddress EContactDate -EContact e_contact_new e_contact_new_from_vcard e_contact_duplicate @@ -113,6 +124,7 @@ e_contact_set e_contact_date_new e_contact_date_from_string e_contact_date_to_string +e_contact_date_equal e_contact_name_new e_contact_name_to_string e_contact_name_from_string @@ -125,19 +137,65 @@ e_contact_field_name e_contact_pretty_name e_contact_field_id +EContactClass E_CONTACT E_IS_CONTACT E_TYPE_CONTACT -e_contact_get_type E_CONTACT_CLASS E_IS_CONTACT_CLASS E_CONTACT_GET_CLASS +e_contact_get_type +e_contact_address_get_type +e_contact_photo_get_type +e_contact_name_get_type +e_contact_date_get_type + EContactPrivate
e-vcard +EVCard +EVCard +EVCardFormat +EVCardAttribute +EVCardAttributeParam +e_vcard_construct +e_vcard_new +e_vcard_new_from_string +e_vcard_to_string +e_vcard_dump_structure +e_vcard_attribute_new +e_vcard_attribute_free +e_vcard_attribute_copy +e_vcard_remove_attributes +e_vcard_remove_attribute +e_vcard_add_attribute +e_vcard_add_attribute_with_value +e_vcard_add_attribute_with_values +e_vcard_attribute_add_value +e_vcard_attribute_add_value_decoded +e_vcard_attribute_add_values +e_vcard_attribute_remove_values +e_vcard_attribute_remove_params +e_vcard_attribute_param_new +e_vcard_attribute_param_free +e_vcard_attribute_param_copy +e_vcard_attribute_add_param +e_vcard_attribute_add_param_with_value +e_vcard_attribute_add_param_with_values +e_vcard_attribute_param_add_value +e_vcard_attribute_param_add_values +e_vcard_attribute_param_remove_values +e_vcard_get_attributes +e_vcard_attribute_get_group +e_vcard_attribute_get_name +e_vcard_attribute_get_values +e_vcard_attribute_get_values_decoded +e_vcard_attribute_get_params +e_vcard_attribute_param_get_name +e_vcard_attribute_param_get_values EVC_ADR EVC_BDAY EVC_CALURI @@ -181,46 +239,8 @@ EVC_X_MSN EVC_X_SPOUSE EVC_X_WANTS_HTML EVC_X_YAHOO -EVCardFormat -EVCardAttribute -EVCardAttributeParam -EVCard -e_vcard_construct -e_vcard_new -e_vcard_new_from_string -e_vcard_to_string -e_vcard_dump_structure -e_vcard_attribute_new -e_vcard_attribute_free -e_vcard_attribute_copy -e_vcard_remove_attributes -e_vcard_remove_attribute -e_vcard_add_attribute -e_vcard_add_attribute_with_value -e_vcard_add_attribute_with_values -e_vcard_attribute_add_value -e_vcard_attribute_add_value_decoded -e_vcard_attribute_add_values -e_vcard_attribute_remove_values -e_vcard_attribute_remove_params -e_vcard_attribute_param_new -e_vcard_attribute_param_free -e_vcard_attribute_param_copy -e_vcard_attribute_add_param -e_vcard_attribute_add_param_with_value -e_vcard_attribute_add_param_with_values -e_vcard_attribute_param_add_value -e_vcard_attribute_param_add_values -e_vcard_attribute_param_remove_values -e_vcard_get_attributes -e_vcard_attribute_get_group -e_vcard_attribute_get_name -e_vcard_attribute_get_values -e_vcard_attribute_get_values_decoded -e_vcard_attribute_get_params -e_vcard_attribute_param_get_name -e_vcard_attribute_param_get_values +EVCardClass E_VCARD E_IS_VCARD E_TYPE_VCARD @@ -242,6 +262,7 @@ EBookContactsCallback EBookBookViewCallback EBookFieldsCallback EBookAuthMethodsCallback +e_book_async_load_source e_book_async_load_uri e_book_async_get_default_addressbook e_book_async_unload_uri @@ -260,6 +281,7 @@ e_book_async_get_book_view
e-book-query +EBookQuery EBookQueryTest e_book_query_from_string e_book_query_to_string @@ -287,6 +309,7 @@ EBookChange
e-address-western +EAddressWestern EAddressWestern e_address_western_parse e_address_western_free @@ -298,6 +321,7 @@ e_address_western_free
e-name-western +ENameWestern ENameWestern e_name_western_parse e_name_western_free diff --git a/docs/reference/addressbook/libebook/libebook.types b/docs/reference/addressbook/libebook/libebook.types index cb5150502..d59ca0a5a 100644 --- a/docs/reference/addressbook/libebook/libebook.types +++ b/docs/reference/addressbook/libebook/libebook.types @@ -4,4 +4,4 @@ e_book_view_listener_get_type e_book_view_get_type e_book_get_type e_contact_get_type -e_vcard_get_type \ No newline at end of file +e_vcard_get_type diff --git a/docs/reference/addressbook/libebook/tmpl/e-address-western.sgml b/docs/reference/addressbook/libebook/tmpl/e-address-western.sgml index 5c2d9dc8e..cb27d98d9 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-address-western.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-address-western.sgml @@ -14,18 +14,11 @@ A physical address in the format used in the Western hemisphere. - + -@po_box: -@extended: -@street: -@locality: -@region: -@postal_code: -@country: diff --git a/docs/reference/addressbook/libebook/tmpl/e-book-async.sgml b/docs/reference/addressbook/libebook/tmpl/e-book-async.sgml index c3556fe9d..697ddf9c6 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book-async.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book-async.sgml @@ -102,6 +102,17 @@ Handles asynchronous interactions with the EBook. @closure: + + + + + +@book: +@source: +@open_response: +@closure: + + @@ -256,6 +267,8 @@ Handles asynchronous interactions with the EBook. @book: @query: +@requested_fields: +@max_results: @cb: @closure: @Returns: diff --git a/docs/reference/addressbook/libebook/tmpl/e-book-listener.sgml b/docs/reference/addressbook/libebook/tmpl/e-book-listener.sgml index 340d3c041..82994f8e8 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book-listener.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book-listener.sgml @@ -15,6 +15,12 @@ Exposes the Evolution:BookListener interface. Contrast with EBookViewListener. + + + + + + @@ -68,3 +74,11 @@ Exposes the Evolution:BookListener interface. Contrast with EBookViewListener. @listener: + + + + + +@ebooklistener: the object which received the signal. +@arg1: + diff --git a/docs/reference/addressbook/libebook/tmpl/e-book-query.sgml b/docs/reference/addressbook/libebook/tmpl/e-book-query.sgml index a8eea07f0..0ecbd300f 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book-query.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book-query.sgml @@ -33,8 +33,10 @@ Handles queries of addressboook data. -@sexp: +@query_string: @Returns: + +@sexp: @@ -52,6 +54,7 @@ Handles queries of addressboook data. @q: +@Returns: @@ -109,9 +112,11 @@ Handles queries of addressboook data. -@qs: +@q: @unref: @Returns: + +@qs: diff --git a/docs/reference/addressbook/libebook/tmpl/e-book-types.sgml b/docs/reference/addressbook/libebook/tmpl/e-book-types.sgml index 149a2b240..ce583ee29 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book-types.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book-types.sgml @@ -77,11 +77,9 @@ Evolution:BookListener interface. @E_BOOK_CHANGE_CARD_DELETED: @E_BOOK_CHANGE_CARD_MODIFIED: - + -@change_type: -@contact: diff --git a/docs/reference/addressbook/libebook/tmpl/e-book-view-listener.sgml b/docs/reference/addressbook/libebook/tmpl/e-book-view-listener.sgml index bf3686099..2064a94fb 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book-view-listener.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book-view-listener.sgml @@ -15,6 +15,12 @@ EBookListener EBookTypes + + + + + + Data sent back to the e-book object. @@ -53,3 +59,11 @@ Stops the listener. @listener: + + + + + +@ebookviewlistener: the object which received the signal. +@arg1: + diff --git a/docs/reference/addressbook/libebook/tmpl/e-book-view.sgml b/docs/reference/addressbook/libebook/tmpl/e-book-view.sgml index 8ecce0bf1..c8a2edd45 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book-view.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book-view.sgml @@ -16,6 +16,12 @@ addressbook itself. #e-book-view-listener, #e-book + + + + + + @@ -51,3 +57,45 @@ addressbook itself. @book_view: + + +Fired when more contacts are found. Each contact in the list will be unref'd +when done, and the list freed, so simply reference any contacts you want to +keep. + + +@ebookview: the object which received the signal. +@arg1: + + + + + + +@ebookview: the object which received the signal. +@arg1: + + + + + + +@ebookview: the object which received the signal. +@arg1: + + + + + + +@ebookview: the object which received the signal. +@arg1: + + + + + + +@ebookview: the object which received the signal. +@arg1: + diff --git a/docs/reference/addressbook/libebook/tmpl/e-book.sgml b/docs/reference/addressbook/libebook/tmpl/e-book.sgml index 4a0d8f158..8df591606 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-book.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-book.sgml @@ -15,6 +15,12 @@ Represents a complete addressbook. Event notifications and callbacks go to the #e-book-listener, #e-book-view + + +#EBook has no publicly available members. + + + @@ -23,6 +29,18 @@ Represents a complete addressbook. Event notifications and callbacks go to the @Returns: + + + + + +@book: +@source: +@only_if_exists: +@error: +@Returns: + + @@ -129,7 +147,7 @@ Represents a complete addressbook. Event notifications and callbacks go to the @book: -@id_list: +@ids: @error: @Returns: @@ -252,7 +270,7 @@ Represents a complete addressbook. Event notifications and callbacks go to the -Gets the address information for the current Evolution user. + @contact: @@ -274,6 +292,15 @@ Gets the address information for the current Evolution user. @id: + + + + + +@contact: +@Returns: + + @@ -294,3 +321,18 @@ Gets the address information for the current Evolution user. @Returns: + + +The backend for this address book has died. + + +@ebook: the object which received the signal. + + + + + + +@ebook: the object which received the signal. +@arg1: + diff --git a/docs/reference/addressbook/libebook/tmpl/e-contact.sgml b/docs/reference/addressbook/libebook/tmpl/e-contact.sgml index a6e5a680c..be7c295f7 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-contact.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-contact.sgml @@ -14,6 +14,12 @@ A convenient way of accessing the contact information in EVCard objects. #e-vcard + + + + + + @@ -64,6 +70,7 @@ A convenient way of accessing the contact information in EVCard objects. @E_CONTACT_CALENDAR_URI: @E_CONTACT_FREEBUSY_URL: @E_CONTACT_ICS_CALENDAR: +@E_CONTACT_VIDEO_URL: @E_CONTACT_SPOUSE: @E_CONTACT_NOTE: @E_CONTACT_IS_LIST: @@ -86,7 +93,6 @@ A convenient way of accessing the contact information in EVCard objects. @E_CONTACT_BIRTH_DATE: @E_CONTACT_ANNIVERSARY: @E_CONTACT_X509_CERT: -@E_CONTACT_X509_CERT_SHA1_FINGERPRINT: @E_CONTACT_NAME_OR_ORG: @E_CONTACT_FIELD_LAST: @E_CONTACT_LAST_SIMPLE_STRING: @@ -99,47 +105,29 @@ A convenient way of accessing the contact information in EVCard objects. @E_CONTACT_FIRST_LABEL_ID: @E_CONTACT_LAST_LABEL_ID: - + -@family: -@given: -@additional: -@prefixes: -@suffixes: - + -@length: -@data: - + -@address_format: -@po: -@ext: -@street: -@locality: -@region: -@code: -@country: - + -@year: -@month: -@day: @@ -223,6 +211,16 @@ A convenient way of accessing the contact information in EVCard objects. @Returns: + + + + + +@dt1: +@dt2: +@Returns: + + @@ -317,3 +315,343 @@ A convenient way of accessing the contact information in EVCard objects. @Returns: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/addressbook/libebook/tmpl/e-name-western.sgml b/docs/reference/addressbook/libebook/tmpl/e-name-western.sgml index daf37dd5b..d763c1138 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-name-western.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-name-western.sgml @@ -14,18 +14,11 @@ e-name-western - + -@prefix: -@first: -@middle: -@nick: -@last: -@suffix: -@full: diff --git a/docs/reference/addressbook/libebook/tmpl/e-vcard.sgml b/docs/reference/addressbook/libebook/tmpl/e-vcard.sgml index 44b59072c..2315e4f91 100644 --- a/docs/reference/addressbook/libebook/tmpl/e-vcard.sgml +++ b/docs/reference/addressbook/libebook/tmpl/e-vcard.sgml @@ -14,640 +14,646 @@ Does the low-level parsing work for contact information. This data is more conve #e-contact - + - - + +@EVC_FORMAT_VCARD_21: +@EVC_FORMAT_VCARD_30: - - + - - + - - + +@evc: +@str: - + +@Returns: - + +@str: +@Returns: - + +@evc: +@format: +@Returns: - + +@evc: - + +@attr_group: +@attr_name: +@Returns: - + +@attr: - + +@attr: +@Returns: - + +@evcard: +@attr_group: +@attr_name: - + +@evcard: +@attr: - + +@evcard: +@attr: - + +@evcard: +@attr: +@value: - + +@evcard: +@attr: +@Varargs: - + +@attr: +@value: - + +@attr: +@value: +@len: - + +@attr: +@Varargs: - + +@attr: - + +@attr: - + +@param_name: +@Returns: - + +@param: - + +@param: +@Returns: - + +@attr: +@param: - + +@attr: +@param: +@value: - + +@attr: +@param: +@Varargs: - + +@param: +@value: - + +@param: +@Varargs: - + +@param: - + +@evcard: +@Returns: - + +@attr: +@Returns: - + +@attr: +@Returns: - + +@attr: +@Returns: - + +@attr: +@Returns: - + +@attr: +@Returns: - + +@param: +@Returns: - + +@param: +@Returns: - + - + - +Birthday - + - +Calendar URL - + - +Categories - + - +Email address -@EVC_FORMAT_VCARD_21: -@EVC_FORMAT_VCARD_30: - + + - + + - + + -@evc: -@str: - + -@Returns: - + -@str: -@Returns: - + -@evc: -@format: -@Returns: - + -@evc: - + - +Nickname -@attr_group: -@attr_name: -@Returns: - + -@attr: - + -@attr: -@Returns: - + - +Organisation -@evcard: -@attr_group: -@attr_name: - + - +Photo -@evcard: -@attr: - + -@evcard: -@attr: - + -@evcard: -@attr: -@value: - + -@evcard: -@attr: -@Varargs: - + - +Role -@attr: -@value: - + - +Telephone -@attr: -@value: -@len: - + - +Title -@attr: -@Varargs: - + -@attr: - + - +Unique ID -@attr: - + - +Home page URL -@param_name: -@Returns: - + -@param: - + -@param: -@Returns: - + - +AIM ID -@attr: -@param: - + - +Wedding anniversary -@attr: -@param: -@value: - + - +Assistant -@attr: -@param: -@Varargs: - + - +Birthday -@param: -@value: - + - +Blog URL -@param: -@Varargs: - + - +File As -@param: - + - +ICQ number -@evcard: -@Returns: - + - +Jabber ID -@attr: -@Returns: - + -@attr: -@Returns: - + -@attr: -@Returns: - + - +Mananger -@attr: -@Returns: - + - +MSN ID -@attr: -@Returns: - + - +Spouse -@param: -@Returns: - + +Wants HTML mail + + + + + +Yahoo ID -@param: -@Returns: diff --git a/docs/reference/addressbook/libebook/tmpl/libebook-unused.sgml b/docs/reference/addressbook/libebook/tmpl/libebook-unused.sgml index da304d273..70d05e6de 100644 --- a/docs/reference/addressbook/libebook/tmpl/libebook-unused.sgml +++ b/docs/reference/addressbook/libebook/tmpl/libebook-unused.sgml @@ -18,29 +18,6 @@ e-book-marshal - - - - - -@ebook: the object which received the signal. - - - - - - -@ebook: the object which received the signal. -@arg1: - - - - - - -@ebooklistener: the object which received the signal. -@arg1: - @@ -53,54 +30,6 @@ e-book-marshal - - - - - -@ebookview: the object which received the signal. -@arg1: - - - - - - -@ebookview: the object which received the signal. -@arg1: - - - - - - -@ebookview: the object which received the signal. -@arg1: - - - - - - -@ebookview: the object which received the signal. -@arg1: - - - - - - -@ebookview: the object which received the signal. -@arg1: - - - - - - -@ebookviewlistener: the object which received the signal. -@arg1: - @@ -113,396 +42,6 @@ e-book-marshal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.1