aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-remote/Evolution-DataServer-Mail.idl
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2005-05-13 13:19:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-05-13 13:19:55 +0800
commitaab8b5c8273f6847f4ab33ebc5fa771d6a85832c (patch)
treeae0d1aa673d12a0993b93e29ce327106cda17702 /plugins/mail-remote/Evolution-DataServer-Mail.idl
parent68416e0bdd4f24d7d1336df463d6944d5451ecdd (diff)
downloadgsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.gz
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.bz2
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.lz
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.xz
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.tar.zst
gsoc2013-evolution-aab8b5c8273f6847f4ab33ebc5fa771d6a85832c.zip
more api/changes. dosn't build again.
svn path=/trunk/; revision=29346
Diffstat (limited to 'plugins/mail-remote/Evolution-DataServer-Mail.idl')
-rw-r--r--plugins/mail-remote/Evolution-DataServer-Mail.idl34
1 files changed, 26 insertions, 8 deletions
diff --git a/plugins/mail-remote/Evolution-DataServer-Mail.idl b/plugins/mail-remote/Evolution-DataServer-Mail.idl
index d7a1aa736c..f6c15348ad 100644
--- a/plugins/mail-remote/Evolution-DataServer-Mail.idl
+++ b/plugins/mail-remote/Evolution-DataServer-Mail.idl
@@ -23,6 +23,9 @@ module Mail {
interface Store;
typedef sequence<Store> Stores;
+ interface Session;
+
+ /* ********************************************************************** */
// NB: tiny subset of omg properties service
typedef string PropertyName;
typedef sequence <PropertyName> PropertyNames;
@@ -32,10 +35,26 @@ module Mail {
};
typedef sequence <Property> Properties;
+ /* ********************************************************************** */
+
+ // ??
+ interface Listener {
+ void storeAdded(in Store store);
+ void storeRemoved(in Store store);
+
+ void folderAdded(in Store store, in Folder folder);
+ void folderRemoved(in Store store, in Folder folder);
+ };
+
+ /* ********************************************************************** */
+
interface Session : Bonobo::Unknown {
boolean getProperties(in PropertyNames names, out Properties props);
Stores getStores(in string pattern);
+
+ void addListener(in Listener listener);
+ void removeListener(in Listener listener);
};
interface Store : Bonobo::Unknown {
@@ -48,23 +67,22 @@ module Mail {
raises (NOT_SUPPORTED);
};
- struct MessageInfo {
+ struct Message {
string uid;
string subject;
string to;
string from;
};
- typedef sequence <MessageInfo> MessageInfos;
-
-// interface MessageInfoIterator : Bonobo::Unknown {
-// MessageInfos next(in long limit);
-// };
+ typedef sequence <Message> Messages;
+ interface MessageIterator : Bonobo::Unknown {
+ Messages next(in long limit);
+ };
interface Folder : Bonobo::Unknown {
- void getProperties(inout Properties pseq);
+ boolean getProperties(in PropertyNames names, out Properties props);
-// MessageInfoIterator getMessageInfo(in string pattern);
+ MessageIterator getMessages(in string pattern);
Bonobo::Stream getMessage(in string uid);