4 /* vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:��,trail\:�: */
7 * Claws-contacts is a proposed new design for the address book feature
8 * in Claws Mail. The goal for this new design was to create a
9 * solution more suitable for the term lightweight and to be more
10 * maintainable than the present implementation.
12 * More lightweight is achieved by design, in that sence that the whole
13 * structure is based on a plugable design.
15 * Claws Mail is Copyright (C) 1999-2012 by the Claws Mail Team and
16 * Claws-contacts is Copyright (C) 2011 by Michael Rasmussen.
18 * This program is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation; either version 3 of the License, or
21 * (at your option) any later version.
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
28 * You should have received a copy of the GNU General Public License
29 * along with this program. If not, see <http://www.gnu.org/licenses/>.
33 #ifndef __ADDRESSBOOK_DBUS_H__
34 #define __ADDRESSBOOK_DBUS_H__
53 gboolean
addressbook_start_service(GError
** error
);
54 void addressbook_install_hooks(GError
** error
);
55 int addressbook_dbus_add_contact(ContactData
* contact
, GError
** error
);
56 gboolean
addrindex_dbus_load_completion(gint (*callBackFunc
)
63 void addressbook_dbus_open(gboolean compose
, GError
** error
);
64 GSList
* addressbook_dbus_get_books(GError
** error
);
65 void contact_data_free(ContactData
** data
);
66 void addressbook_harvest(FolderItem
*folderItem
,
69 void addressbook_connect_signals(Compose
* compose
);
70 gchar
* addressbook_get_vcard(const gchar
* account
, GError
** error
);
71 gboolean
addressbook_add_vcard(const gchar
* abook
, const gchar
* vcard
, GError
** error
);