From 9908f0dba12569b2b9fe0b48de9d46ec3f2386bc Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 23 Jan 2001 00:37:44 +0000 Subject: New listener object. Plus some oneway stuff as well. svn path=/trunk/; revision=7729 --- shell/importer/GNOME_Evolution_Importer.idl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'shell/importer/GNOME_Evolution_Importer.idl') diff --git a/shell/importer/GNOME_Evolution_Importer.idl b/shell/importer/GNOME_Evolution_Importer.idl index df6c7a22bf..b93c759c45 100644 --- a/shell/importer/GNOME_Evolution_Importer.idl +++ b/shell/importer/GNOME_Evolution_Importer.idl @@ -12,11 +12,12 @@ module GNOME { module Evolution { - interface ImporterListener { + interface ImporterListener : Bonobo::Unknown { enum ImporterResult { OK, UNSUPPORTED_OPERATION, NOT_READY, + BUSY, UNKNOWN_DATA, BAD_DATA, BAD_FILE @@ -30,8 +31,8 @@ module Evolution { * Notifies the listener of the result and whether there are * any more items to be imported. */ - void notifyResult (in ImporterResult result, - in boolean more_items); + oneway void notifyResult (in ImporterResult result, + in boolean more_items); }; interface Importer : Bonobo::Unknown { @@ -50,7 +51,7 @@ module Evolution { * Processes the next item. * */ - void processItem (in ImporterListener listener) + oneway void processItem (in ImporterListener listener) raises (Busy); /** -- cgit v1.2.3