aboutsummaryrefslogblamecommitdiffstats
path: root/shell/Evolution-StorageSetView.idl
blob: c9222c3d62a0a6e31f5e76d4df34264857cd26f0 (plain) (tree)
1
2
3
4
5
6
7
8




                                                                             
                                         
  
                                        



                     
              

                                          
                                                           
                                                            






                                                                                
                                              
 
                                                                        
                                                  

                                                                        


                                          
  
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Interface for the Evolution's StorageSetView control.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@ximian.com>
 *
 * Copyright (C) 2000, 2001 Ximian, Inc.
 */

#include <Bonoob.idl>

module GNOME {
module Evolution {
    interface StorageSetViewListener {
        void notifyFolderSelected  (in string uri);
        void notifyStorageSelected (in string name);
    };

    /* FIXME: Maybe we should have a generic Bonobo::Listener interface.  */
    interface StorageSetView : Bonobo::Unknown {
        exception AlreadyListening {};
        exception NotFound {};

        attribute boolean showFolders;

        void addListener    (in StorageSetViewListener listener)
            raises (AlreadyListening);

        void removeListener (in StorageSetViewListener listener)
            raises (NotFound);
    };
};
};