e-mail-data-session.xml 2.05 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 30
      <arg name="password" type="s" direction="in"/>
      <arg name="remember" type="b" direction="in"/>      
    </method>

31 32 33 34 35 36 37
    <!-- 
    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>
38 39 40 41 42
    <method name="getFolderFromUri">
      <arg name="uri" type="s" direction="in"/>	    
      <arg name="folder" type="o" direction="out"/>
    </method>

43 44
    <method name="sendReceive">
    </method>
45 46 47 48
    <method name="fetchAccount">
      <arg name="uid" type="s" direction="in"/>	    
    </method>

49 50
    <method name="cancelOperations">
    </method>    
51 52
    <signal name="sendReceiveComplete">
    </signal>
53 54 55 56 57 58 59 60 61
    <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>
62

63 64 65 66 67
    <signal name="GetPassword">
      <arg name="title" type="s"/>
      <arg name="prompt" type="s"/>
      <arg name="key" type="s"/>
    </signal>
68 69 70 71

  </interface>

</node>