aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Shell.idl
blob: 07dfbbf1912cc4e7d0aed2c2ee87f5334beae6bf (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
42
43
44
45
/*
 * CORBA interface for the Evolution shell
 *
 * Authors:
 *   Miguel de Icaza (miguel@kernel.org)
 *
 * (C) 2000 Helix Code, Inc.
 */
#include <bonobo.idl>


module Evolution {
    interface Shell : Bonobo::Unknown {
        enum NewType {
            APPOINTMENT,
            MEETING_REQUEST,
            TASK,
            TASK_REQUEST,
            CONTACT,
            MAIL_MESSAGE,
            DISTRIBUTION_LIST,
            JOURNAL_ENTRY,
            NOTE
        };
        
        enum ServiceType {
            MAIL_STORE,
            MAIL_TRANSPORT
        };

        void new (in NewType type);

        /**
         *  register_service : register a service into the shell
         * 
         * @type : type of the service
         * @uri : uri of the service, uniquely determine the service.
         *
         */
        void register_service (in ServiceType type,
                       in string uri);

            
    };
};