diff options
Diffstat (limited to 'shell/Evolution-Storage.idl')
-rw-r--r-- | shell/Evolution-Storage.idl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shell/Evolution-Storage.idl b/shell/Evolution-Storage.idl index be6eaafcab..3660e3d74d 100644 --- a/shell/Evolution-Storage.idl +++ b/shell/Evolution-Storage.idl @@ -37,6 +37,13 @@ module Evolution { string path; }; + struct DiscoverSharedFolderResult { + Result result; + string storagePath; + string physicalURI; + string type; + }; + /* The name of the storage. */ readonly attribute string name; @@ -46,6 +53,8 @@ module Evolution { /* Flat list of the folders in the storage. */ readonly attribute FolderList folderList; + /* Folder Operations. */ + void asyncCreateFolder (in string path, in string type, in string description, @@ -61,11 +70,23 @@ module Evolution { in boolean remove_source, in Bonobo::Listener listener); + /* Open remote nodes. */ + void asyncOpenFolder (in string path); + /* Set unread count. */ + void updateFolder (in string path, in long unread_count); + /* Shared folders. */ + + void asyncDiscoverSharedFolder (in string user, + in string folder_name, + in Bonobo::Listener listener); + + /* Listener handling. */ + void addListener (in StorageListener listener) raises (AlreadyListening); |