aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-StorageSetView.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-10-02 22:22:11 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-10-02 22:22:11 +0800
commite062edf57318b368b82862dc40c17bcd4be86661 (patch)
tree0fed023afae4a59f56bca368b61ee8951ac05b01 /shell/Evolution-StorageSetView.idl
parent9f7278389604e1a8c212aac3056a122e99cf4344 (diff)
downloadgsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.tar
gsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.tar.gz
gsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.tar.bz2
gsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.tar.lz
gsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.tar.xz
gsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.tar.zst
gsoc2013-evolution-e062edf57318b368b82862dc40c17bcd4be86661.zip
Added the ability for the shell to export the storage set view as a
Bonobo::Control (untested, and needed by Toshok's subscription dialog). Also, added a custom interface for this control so that the container can get notification when a folder gets selected. svn path=/trunk/; revision=5657
Diffstat (limited to 'shell/Evolution-StorageSetView.idl')
-rw-r--r--shell/Evolution-StorageSetView.idl28
1 files changed, 28 insertions, 0 deletions
diff --git a/shell/Evolution-StorageSetView.idl b/shell/Evolution-StorageSetView.idl
new file mode 100644
index 0000000000..0649b3b4a2
--- /dev/null
+++ b/shell/Evolution-StorageSetView.idl
@@ -0,0 +1,28 @@
+/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Interface for the Evolution's StorageSetView control.
+ *
+ * Authors:
+ * Ettore Perazzoli <ettore@helixcode.com>
+ *
+ * Copyright (C) 2000 Helix Code, Inc.
+ */
+
+#include <Bonoob.idl>
+
+module Evolution {
+ interface StorageSetViewListener {
+ void folder_selected (in string uri);
+ };
+
+ /* FIXME: Maybe we should have a generic Bonobo::Listener interface. */
+ interface StorageSetView : Bonobo::Unknown {
+ exception AlreadyListening {};
+ exception NotFound {};
+
+ void add_listener (in StorageSetViewListener listener)
+ raises (AlreadyListening);
+ void remove_listener (in StorageSetViewListener listener)
+ raises (NotFound);
+ };
+};