aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Storage.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-Storage.idl')
-rw-r--r--shell/Evolution-Storage.idl9
1 files changed, 7 insertions, 2 deletions
diff --git a/shell/Evolution-Storage.idl b/shell/Evolution-Storage.idl
index 0a2402a773..42fc043047 100644
--- a/shell/Evolution-Storage.idl
+++ b/shell/Evolution-Storage.idl
@@ -22,11 +22,16 @@ module Evolution {
interface StorageListener;
interface Storage : Bonobo::Unknown {
+ exception AlreadyListening {};
+ exception NotFound {};
+
attribute string name;
- void add_listener (in StorageListener listener);
+ void add_listener (in StorageListener listener)
+ raises (AlreadyListening);
- /* FIXME remove_listener? */
+ void remove_listener (in StorageListener listener)
+ raises (NotFound);
};
interface StorageListener {