aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Shortcuts.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-Shortcuts.idl')
-rw-r--r--shell/Evolution-Shortcuts.idl51
1 files changed, 51 insertions, 0 deletions
diff --git a/shell/Evolution-Shortcuts.idl b/shell/Evolution-Shortcuts.idl
new file mode 100644
index 0000000000..7ffb55a164
--- /dev/null
+++ b/shell/Evolution-Shortcuts.idl
@@ -0,0 +1,51 @@
+/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Interface for the Evolution shortcuts.
+ *
+ * Authors:
+ * Ettore Perazzoli <ettore@ximian.com>
+ *
+ * Copyright (C) 2001 Ximian, Inc.
+ */
+
+#include <Bonobo.idl>
+
+module GNOME {
+module Evolution {
+
+ interface Shortcuts : Bonobo::Unknown {
+
+ struct Shortcut {
+ string uri;
+ string name;
+ string type;
+ };
+ typedef sequence <Shortcut> ShortcutList;
+
+ struct Group {
+ string name;
+ ShortcutList shortcuts;
+ };
+ typedef sequence<Group> GroupList;
+
+ exception NotFound {};
+
+ readonly attribute GroupList groups; // FIXME: Could be non-readonly
+
+ void add (in short group_num, in short position, in Shortcut shortcut)
+ raises (NotFound);
+ void remove (in short group_num, in short item_num)
+ raises (NotFound);
+ Shortcut get (in short group_num, in short item_num)
+ raises (NotFound);
+
+ void addGroup (in short position, in string name);
+ void removeGroup (in short group_num)
+ raises (NotFound);
+ Group getGroup (in short group_num)
+ raises (NotFound);
+
+ };
+
+};
+};