aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
blob: 2bc8154daf4deb11704f59d6004fcdba633cb962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
    };

};
};