aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Session.idl
blob: 855f1c03ea7e2b5f67ac8a7bc72127dadba443c6 (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
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Interface for saving configuration information.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@helixcode.com>
 *
 * Copyright (C) 2000 Helix Code, Inc.
 */

#include <Bonobo.h>

module Evolution {

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

        /**
         * save_configuration:
         * @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 save_configuration (in string prefix)
            raises (Failed);

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