aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Shell.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-28 10:22:40 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-28 10:22:40 +0800
commit764cfb5a6ba195958b1b3b814fdb584d6a5ff63b (patch)
tree1c49f5dca5a940c4a4715ba055738da25d64498b /shell/Evolution-Shell.idl
parentad31ac2c9e472dd03e537b7bc3008cd9c54842e8 (diff)
downloadgsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.tar
gsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.tar.gz
gsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.tar.bz2
gsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.tar.lz
gsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.tar.xz
gsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.tar.zst
gsoc2013-evolution-764cfb5a6ba195958b1b3b814fdb584d6a5ff63b.zip
Added a URI schema registry to the shell, and changed the bootstrap
sequence to get the schema lists from the components and register them into it. svn path=/trunk/; revision=10553
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: