e-mail-data-session.xml 2.43 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE node SYSTEM "dbus.dtd">

<!--
  Author: Srinivasa Ragavan <sragavan@gnome.org>
  Copyright (C) 2011 Intel Corporation
-->
<node>

  <interface name="org.gnome.evolution.dataserver.mail.Session">
    <annotation name="org.gtk.GDBus.Name" value="CS"/>
    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="EMailDataSession"/>

    <method name="getStore">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_Mail_Session_getStore"/>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="uri" type="s" direction="in"/>
      <arg name="store" type="o" direction="out"/>
    </method>

    <method name="getLocalStore">
      <arg name="store" type="o" direction="out"/>
    </method>
24 25

    <method name="addPassword">
Srinivasa Ragavan's avatar
Srinivasa Ragavan committed
26
      <arg name="key" type="s" direction="in"/>	    
27 28 29
      <arg name="password" type="s" direction="in"/>
      <arg name="remember" type="b" direction="in"/>      
    </method>
30 31 32 33
    <method name="findPassword">
      <arg name="key" type="s" direction="in"/>	    
      <arg name="password" type="s" direction="out"/>
    </method>
34

35 36 37 38 39 40 41
    <!-- 
    FolderType should be a string "inbox" "draft" "outbox" "sent" "templates"
    -->
    <method name="getLocalFolder">
      <arg name="type" type="s" direction="in"/>	    
      <arg name="folder" type="o" direction="out"/>
    </method>
42 43 44 45 46
    <method name="getFolderFromUri">
      <arg name="uri" type="s" direction="in"/>	    
      <arg name="folder" type="o" direction="out"/>
    </method>

47 48
    <method name="sendReceive">
    </method>
49 50 51
    <method name="fetchAccount">
      <arg name="uid" type="s" direction="in"/>	    
    </method>
52 53 54 55 56 57
    
    <method name="fetchOldMessages">
      <arg name="uid" type="s" direction="in"/>	 
      <arg name="count" type="i" direction="in"/>	    	             
      <arg name="success" type="b" direction="out"/>            
    </method>
58

59 60
    <method name="cancelOperations">
    </method>    
61 62
    <signal name="sendReceiveComplete">
    </signal>
63 64 65 66 67 68 69 70 71
    <signal name="AccountAdded">
      <arg name="uid" type="s"/>
    </signal>
    <signal name="AccountRemoved">
      <arg name="uid" type="s"/>    
    </signal>
    <signal name="AccountChanged">
      <arg name="uid" type="s"/>    
    </signal>
72

73 74 75 76 77
    <signal name="GetPassword">
      <arg name="title" type="s"/>
      <arg name="prompt" type="s"/>
      <arg name="key" type="s"/>
    </signal>
78 79 80 81

  </interface>

</node>