aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Session.idl
blob: eeb6116740af06de5ed3020b216e5b4c1fb51cad (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
38
39
40
41
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Interface for saving configuration information.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@ximian.com>
 *
 * Copyright (C) 2000, 2001 Ximian, Inc.
 */

#include <Bonobo.h>

module GNOME {
module Evolution {

    interface Session : Bonobo::Unknown {
        exception Failed {};

        /**
         * saveConfiguration:
         * @prefix: A configuration path prefix.
         *
         * Save the current configuration at the specified @prefix.
         * The component can use any path starting by @prefix for its
         * keys.
         */
        void saveConfiguration (in string prefix)
            raises (Failed);

        /**
         * loadConfiguration:
         * @prefix: A configuration path prefix.
         *
         * Load the saved configuration at the specified @prefix.
         */
        void loadConfiguration (in string prefix)
            raises (Failed);
    };
    
};
};