2012-04-01 [colin] 3.8.0cvs36
[claws.git] / src / claws-contacts.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE node PUBLIC
3   "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
4   "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
5 <!--
6 # $Id$
7 -->
8 <node name="/org/clawsmail/contacts/service">
9
10 <interface name="org.clawsmail.Contacts">
11     <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="abook"/>  
12     
13     <method name="ShowAddressbook">
14         <arg type="b" name="compose" direction="in" />
15     </method>
16     
17     <method name="Ping">
18         <arg type="s" name="reply" direction="out" />
19     </method>
20
21     <method name="Commit">
22         <arg type="s" name="addressbook" direction="in" />
23         <arg type="b" name="succes" direction="out" />
24     </method>    
25   
26         <method name="BookList">
27                 <arg type="as" name="books" direction="out" />
28         </method>
29         
30     <method name="SearchAddressbook">
31         <arg type="s" name="token" direction="in" />
32         <!-- if addressbook is NULL search all available books -->
33         <arg type="s" name="addressbook" direction="in" /> 
34         <arg type="as" name="emails" direction="out" />
35     </method>
36     
37     <method name="AddContact">
38         <arg type="s" name="addressbook" direction="in" /> 
39             <arg type="a{ss}" name="contact_data" direction="in" />
40             <arg type="a(sss)" name="contact_emails" direction="in" />
41     </method>
42
43     <method name="AddVCard">
44         <!-- if addressbook is NULL add to default address book -->
45         <arg type="s" name="addressbook" direction="in" /> 
46             <arg type="s" name="vcard" direction="in" />
47     </method>
48
49     <method name="GetVCard">
50         <arg type="s" name="acount" direction="in" /> 
51             <arg type="s" name="vcard" direction="out" />
52     </method>
53
54     <signal name="ContactMailTo">
55                 <arg type="s" name="contact_add_to" direction="out" />
56     </signal>
57
58     <signal name="ContactMailCc">
59                 <arg type="s" name="contact_add_cc" direction="out" />
60     </signal>
61
62     <signal name="ContactMailBcc">
63                 <arg type="s" name="contact_add_bcc" direction="out" />
64     </signal>
65
66 </interface>
67
68 </node>