aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-08 16:29:07 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-08 16:29:07 +0800
commitbaad423775e9b0d94d560167286e46af677deb36 (patch)
tree32bdf0830fccdd0fcd7a498d538fafcd8b72ca5c /addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
parent2219b51a72c7c598777a64f1b39f329c12a7e9c6 (diff)
downloadgsoc2013-evolution-baad423775e9b0d94d560167286e46af677deb36.tar.gz
gsoc2013-evolution-baad423775e9b0d94d560167286e46af677deb36.tar.zst
gsoc2013-evolution-baad423775e9b0d94d560167286e46af677deb36.zip
Wrap the ESelectNames stuff into a Bonobo interface, so that we can
call it from the message composer in evolution-mail. The Bonobo interface is physically implemented in evolution-addressbook. svn path=/trunk/; revision=3972
Diffstat (limited to 'addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl')
-rw-r--r--addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl b/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
new file mode 100644
index 0000000000..2bc8154daf
--- /dev/null
+++ b/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
@@ -0,0 +1,37 @@
+/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * CORBA interface for the SelectNames dialog.
+ *
+ * Authors:
+ * Ettore Perazzoli <ettore@helixcode.com>
+ *
+ * Copyright (C) 2000 Helix Code, Inc.
+ */
+
+#include <Bonobo.idl>
+
+module Evolution {
+module Addressbook {
+
+ interface SelectNames : Bonobo::Unknown {
+ struct Section {
+ string id;
+ string title;
+ };
+
+ typedef sequence<Section> SectionList;
+
+ exception DuplicateID {};
+ exception SectionNotFound {};
+
+ void add_section (in string id, in string title)
+ raises (DuplicateID);
+
+ Bonobo::Control get_entry_for_section (in string section_id)
+ raises (SectionNotFound);
+
+ void activate_dialog (in string section_id);
+ };
+
+};
+};