aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Shell.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-Shell.idl')
-rw-r--r--shell/Evolution-Shell.idl21
1 files changed, 18 insertions, 3 deletions
diff --git a/shell/Evolution-Shell.idl b/shell/Evolution-Shell.idl
index 38b47b40f5..0426c037b0 100644
--- a/shell/Evolution-Shell.idl
+++ b/shell/Evolution-Shell.idl
@@ -18,8 +18,12 @@ module Evolution {
interface Shell : Bonobo::Unknown {
exception NotFound {};
+ exception UnsupportedSchema {};
+ exception InvalidURI {};
exception Busy {};
+ typedef sequence<string> FolderTypeNameList;
+
/**
* getComponentByType:
* @type: name of a valid folder type
@@ -32,15 +36,26 @@ module Evolution {
ShellComponent getComponentByType (in string type)
raises (NotFound);
- typedef sequence<string> FolderTypeNameList;
-
/**
* createNewView:
* @uri: URI for the view to open
*
* Return value: the new view.
*/
- ShellView createNewView (in string uri);
+ ShellView createNewView (in string uri)
+ raises (NotFound, UnsupportedSchema, InvalidURI);
+
+ /**
+ * handleURI:
+ * @uri: URI to handle
+ *
+ * This handles the specified URI. It is different from
+ * `::createNewView' as it doesn't necessarily imply creating a
+ * new ShellView. (For example, a `mailto:' URI will invoke
+ * the message composer.)
+ */
+ void handleURI (in string uri)
+ raises (NotFound, UnsupportedSchema, InvalidURI);
/**
* selectUserFolder: