diff options
Diffstat (limited to 'shell/Evolution-LocalStorage.idl')
-rw-r--r-- | shell/Evolution-LocalStorage.idl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/shell/Evolution-LocalStorage.idl b/shell/Evolution-LocalStorage.idl index 04d04c7150..8ade4e9813 100644 --- a/shell/Evolution-LocalStorage.idl +++ b/shell/Evolution-LocalStorage.idl @@ -27,5 +27,37 @@ module Evolution { in string display_name, in boolean highlighted); }; + + interface LocalStorageOpsListener : Bonobo::Unknown { + enum Result { + OK, + UNSUPPORTED_OPERATION, + UNSUPPORTED_TYPE, + EXISTS, + INVALID_URI, + PERMISSION_DENIED, + HAS_SUBFOLDERS, + NO_SPACE + }; + + void notifyResult (in Result result); + }; + + interface LocalStorageOps : Bonobo::Unknown { + exception Busy {}; + + void addFolderAsync (in ShellComponentListener listener, + in string physical_uri, + in string type) + raises (Busy); + + void removeFolderAsync (in ShellComponentListener listener, + in string physical_uri) + raises (Busy); + + void populateFolderContextMenu (in Bonobo::UIContainer uih, + in string physical_uri, + in string type); + }; }; }; |