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.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl
index 7c65544c01..101d23d4f3 100644
--- a/shell/Evolution-ShellComponent.idl
+++ b/shell/Evolution-ShellComponent.idl
@@ -28,11 +28,20 @@ module Evolution {
typedef string URISchema;
typedef sequence<URISchema> URISchemaList;
+ struct UserCreatableItemType {
+ string id;
+ string description;
+ string menuDescription;
+ char menuShortcut;
+ };
+ typedef sequence<UserCreatableItemType> UserCreatableItemTypeList;
+
interface ShellComponentListener;
interface ShellComponent : Bonobo::Unknown {
readonly attribute FolderTypeList supported_types;
readonly attribute URISchemaList external_uri_schemas;
+ readonly attribute UserCreatableItemTypeList user_creatable_item_types;
/* FIXME: Can we use an attribute here? */
exception AlreadyOwned {};
@@ -82,6 +91,9 @@ module Evolution {
void populateFolderContextMenu (in Bonobo::UIContainer uih,
in string physical_uri,
in string type);
+
+ void userCreateNewItem (in string id)
+ raises (UnsupportedType);
};
interface ShellComponentListener {