aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-ShellComponent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-ShellComponent.idl')
-rw-r--r--shell/Evolution-ShellComponent.idl20
1 files changed, 19 insertions, 1 deletions
diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl
index 9a4624010e..2e67b18c17 100644
--- a/shell/Evolution-ShellComponent.idl
+++ b/shell/Evolution-ShellComponent.idl
@@ -11,7 +11,25 @@
#include <Bonobo.h>
module Evolution {
+ interface Shell;
+
+ struct FolderType {
+ string name;
+ string icon_name;
+ };
+
+ typedef sequence<FolderType> FolderTypeList;
+
interface ShellComponent : Bonobo::Unknown {
- void set_shell (in Shell shell);
+ readonly attribute FolderTypeList supported_types;
+
+ /* FIXME can we use an attribute here? */
+ exception AlreadyOwned {};
+ void set_owner (in Shell shell)
+ raises (AlreadyOwned);
+
+ exception NotFound {};
+ Bonobo::Control create_view (in string physical_uri)
+ raises (NotFound);
};
};