diff options
Diffstat (limited to 'executive-summary/idl')
-rw-r--r-- | executive-summary/idl/Summary.idl | 14 | ||||
-rw-r--r-- | executive-summary/idl/SummaryComponent.idl | 38 |
2 files changed, 27 insertions, 25 deletions
diff --git a/executive-summary/idl/Summary.idl b/executive-summary/idl/Summary.idl index 59f13910b3..76f98dd537 100644 --- a/executive-summary/idl/Summary.idl +++ b/executive-summary/idl/Summary.idl @@ -11,8 +11,6 @@ #include <Bonobo.idl> module Evolution { - interface SummaryComponent; - interface Summary: Bonobo::Unknown { exception NoSubWindow {}; @@ -24,17 +22,21 @@ module Evolution { * Sets the title of the subwindow that displays @component * to @title */ - void set_title (in SummaryComponent component, + void set_title (in long id, in string title) raises (NoSubWindow); + void set_icon (in long id, + in string icon) + raises (NoSubWindow); + /** * flash: * @component: The SummaryComponent that owns a subwindow. * * Flashes the subwindow that displays @component. */ - void flash (in SummaryComponent component) + void flash (in long id) raises (NoSubWindow); /** @@ -45,8 +47,8 @@ module Evolution { * Requests that the html that displays @component is changed * to @html. */ - void update_html_component (in SummaryComponent component, - in string html) + void update_component (in long id, + in string html) raises (NoSubWindow); }; }; diff --git a/executive-summary/idl/SummaryComponent.idl b/executive-summary/idl/SummaryComponent.idl index 55f7b6426d..6cf04b3a01 100644 --- a/executive-summary/idl/SummaryComponent.idl +++ b/executive-summary/idl/SummaryComponent.idl @@ -1,9 +1,9 @@ /*-*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * CORBA interface for the Evolution shell. + * CORBA interface for the Evolution Executive Summary Components. * * Authors: - * Ettore Perazzoli <ettore@helixcode.com> + * Iain Holmes <iain@helixcode.com> * * Copyright (C) 2000 Helix Code, Inc. */ @@ -18,17 +18,6 @@ module Evolution { interface SummaryComponent: Bonobo::Unknown { /** - * supports: - * @html: Does it support HTML? - * @bonobo: Does it support Bonobo Controls? - * - * Sets the @html and @bonobo arguments to TRUE - * if the component supports that type of - * embedding - */ - void supports (out boolean bonobo, out boolean html); - - /** * set_owner: * @summary: A Summary object. * @@ -45,15 +34,26 @@ module Evolution { /** * create_view: - * + * @control: A Bonobo_Control + * @html: HTML of the view. + * @title: Title of the view. + * @icon: Icon to be used for the view. + * * Creates a summary of the data that the component has. - * Returns: A @BonoboControl of the view. + * Returns: The ID of the view. */ - Bonobo::Control create_bonobo_view (out string title, - out string icon); + long create_view (out Bonobo::Control control, + out string html, + out string title, + out string icon); - string create_html_view (out string title, - out string icon); + /** + * destroy_view: + * @id: ID of the view to be destroyed. + * + * Tells a service that a view has been destroyed. + */ + void destroy_view (in long id); /** * configure: |