aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-StorageSetView.idl
blob: 7ed45a33582ab6f8e76e0a8e4a1346f7f33e669f (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
/* -*- 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, 2002 Ximian, Inc.
 */

#include <Bonobo.idl>

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

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

        attribute boolean showFolders;
        attribute boolean showCheckboxes;

        readonly attribute FolderList checkedFolders;

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

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