e-mail-data-session.xml 1.55 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 45 46 47
    <signal name="GetPassword">
      <arg name="title" type="s"/>
      <arg name="prompt" type="s"/>
      <arg name="key" type="s"/>
    </signal>
48 49 50 51

  </interface>

</node>