/* -*- 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);
	};

};
};