diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2005-05-04 13:37:51 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-05-04 13:37:51 +0800 |
commit | 3509757d148d80a78a942b1e3938bead90b5d506 (patch) | |
tree | c99d23b07961365d554eb78e5e77ecbdb3016b1c /plugins/mail-remote/Evolution-DataServer-Mail.idl | |
parent | f56ef1dbe184bc792c301092ff91d3d92fb48371 (diff) | |
download | gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.tar gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.tar.gz gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.tar.bz2 gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.tar.lz gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.tar.xz gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.tar.zst gsoc2013-evolution-3509757d148d80a78a942b1e3938bead90b5d506.zip |
Initial work on remote mail interface, as a plugin.
svn path=/trunk/; revision=29265
Diffstat (limited to 'plugins/mail-remote/Evolution-DataServer-Mail.idl')
-rw-r--r-- | plugins/mail-remote/Evolution-DataServer-Mail.idl | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/plugins/mail-remote/Evolution-DataServer-Mail.idl b/plugins/mail-remote/Evolution-DataServer-Mail.idl new file mode 100644 index 0000000000..d7a1aa736c --- /dev/null +++ b/plugins/mail-remote/Evolution-DataServer-Mail.idl @@ -0,0 +1,77 @@ +/* Evolution Mail Interface + * + * Copyright (C) 2005 Novell, Inc. + * + * Authors: Michael Zucchi <notzed@novell.com> + */ + +#ifndef _EVOLUTION_DATASERVER_MAIL_IDL_ +#define _EVOLUTION_DATASERVER_MAIL_IDL_ + +#include <Bonobo.idl> + +module GNOME { +module Evolution { +module Mail { + exception NOT_SUPPORTED { + string why; + }; + + interface Folder; + typedef sequence<Folder> Folders; + + interface Store; + typedef sequence<Store> Stores; + + // NB: tiny subset of omg properties service + typedef string PropertyName; + typedef sequence <PropertyName> PropertyNames; + struct Property { + PropertyName name; + any value; + }; + typedef sequence <Property> Properties; + + interface Session : Bonobo::Unknown { + boolean getProperties(in PropertyNames names, out Properties props); + + Stores getStores(in string pattern); + }; + + interface Store : Bonobo::Unknown { + boolean getProperties(in PropertyNames names, out Properties props); + + Folders getFolders(in string pattern) + raises (NOT_SUPPORTED); + + void sendMessage(in Bonobo::Stream msg, in string from, in string recipients) + raises (NOT_SUPPORTED); + }; + + struct MessageInfo { + string uid; + string subject; + string to; + string from; + }; + + typedef sequence <MessageInfo> MessageInfos; + +// interface MessageInfoIterator : Bonobo::Unknown { +// MessageInfos next(in long limit); +// }; + + interface Folder : Bonobo::Unknown { + void getProperties(inout Properties pseq); + +// MessageInfoIterator getMessageInfo(in string pattern); + + Bonobo::Stream getMessage(in string uid); + +// void appendMessage(in MessageInfo info, in Bonobo::Stream msg); + }; +}; +}; +}; + +#endif |