aboutsummaryrefslogblamecommitdiffstats
path: root/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
blob: 35586b611e8c6d0598544162de8e85a0014390da (plain) (tree)
1
2
3
4
5
6
7
8




                                                                             
                                         
  
                                  



                     
              













                                                      
                                                               

                                             
                                                                        

                                                 
                                                           



          
  
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * CORBA interface for the SelectNames dialog.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@ximian.com>
 *
 * Copyright (C) 2000 Ximian, Inc.
 */

#include <Bonobo.idl>

module GNOME {
module Evolution {
module Addressbook {

    interface SelectNames : Bonobo::Unknown {
        struct Section {
            string id;
            string title;
        };

        typedef sequence<Section> SectionList;

        exception DuplicateID {};
        exception SectionNotFound {};

        void addSection (in string id, in string title)
            raises (DuplicateID);

        Bonobo::Control getEntryBySection (in string section_id)
            raises (SectionNotFound);

        void activateDialog (in string section_id);
    };

};
};
};