From ee5decd2ffb8693396d27b6c0eed24991d676934 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 2 Oct 2000 12:52:22 +0000 Subject: Add a `::remove_listener' method to Evolution::Storage. svn path=/trunk/; revision=5655 --- shell/Evolution-Storage.idl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'shell/Evolution-Storage.idl') 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 { -- cgit v1.2.3