aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Shell.idl
blob: d39ec8edeb7248127dcbe8de91cbd089b7d3665b (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Interface for the Evolution shell.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@ximian.com>
 *
 * Copyright (C) 2000, 2001 Ximian, Inc.
 */

#ifndef _GNOME_EVOLUTION_SHELL_IDL
#define _GNOME_EVOLUTION_SHELL_IDL

#include <Bonobo.idl>

#ifndef __evolution_shell_COMPILATION
#ifdef __ORBIT_IDL__
%{
#pragma include_defs shell/evolution-component.h
%}
#pragma inhibit push
#endif
#endif

module GNOME {
module Evolution {


    interface ShellView : Bonobo::Unknown {
        /* Should really use a ComponentView i guess */
        void setTitle(in string component, in string title);
        void setComponent(in string component);
        void setButtonIcon(in string component, in string iconName);
    };

    interface Shell : Bonobo::Unknown {
        exception Busy {};
        exception ComponentNotFound {};
        exception InternalError {};
        exception InvalidURI {};
        exception NotFound {};
        exception NotReady {};
        exception UnsupportedSchema {};

        /**
         * createNewWindow:
         * @component_id: id or alias of the component to display in the new window.
         *
         */
        ShellView createNewWindow (in string component_id)
            raises (NotReady, ComponentNotFound, UnsupportedSchema, InternalError);

        /**
         * handleURI:
         * @uri: URI to handle
         *
         * This handles the specified URI.  It is different from
         * `::createNewView' as it doesn't necessarily imply creating a
         * new ShellView.  (For example, a `mailto:' URI will invoke
         * the message composer.)
         */
        void handleURI (in string uri)
            raises (NotReady, ComponentNotFound, NotFound, UnsupportedSchema, InvalidURI, InternalError);

        /**
         * setLineStatus:
         *
         * Set the shell into on-line or off-line mode.
         */
        void setLineStatus (in boolean online)
            raises (NotReady);

        /*
         * Lookup a component by id.
         */
        /*Component findComponent(in string id)
            raises (NotReady, ComponentNotFound);*/
    };
};
};

#ifndef __evolution_shell_COMPILATION
#ifdef __ORBIT_IDL__
#pragma inhibit pop
#endif
#endif
#endif  /* _GNOME_EVOLUTION_SHELL_IDL */
gnome/commit/print/rubygem-prawn-svg?id=0e909229bad6aef393c217618d7728bcac47737c'>- Update to 0.19.0sunpoet2015-06-112-3/+4 * - Update to 0.18.0sunpoet2015-05-252-4/+7 * print/rubygem-prawn-svg: update to 0.16.0swills2014-08-262-3/+3 * - Update to 0.15.0.0swills2014-03-292-3/+3 * - Add stage supportswills2013-10-301-1/+0 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-1/+1 * - Update to 0.12.0.4swills2013-06-232-7/+4 * - Update to 0.9.1.11swills2012-06-062-3/+3 * - Cannoicalize the WWW: [again],pgollucci2011-06-241-1/+1