aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/idl/SummaryComponent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'executive-summary/idl/SummaryComponent.idl')
-rw-r--r--executive-summary/idl/SummaryComponent.idl64
1 files changed, 64 insertions, 0 deletions
diff --git a/executive-summary/idl/SummaryComponent.idl b/executive-summary/idl/SummaryComponent.idl
new file mode 100644
index 0000000000..4282a91f2b
--- /dev/null
+++ b/executive-summary/idl/SummaryComponent.idl
@@ -0,0 +1,64 @@
+/*-*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * CORBA interface for the Evolution shell.
+ *
+ * Authors:
+ * Ettore Perazzoli <ettore@helixcode.com>
+ *
+ * Copyright (C) 2000 Helix Code, Inc.
+ */
+
+/* TODO: Needs Exceptions */
+
+#include <Bonobo.idl>
+
+module Evolution {
+ interface Summary;
+
+ 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.
+ *
+ * Sets the owner of the component.
+ */
+ void set_owner (in Summary owner);
+
+ /**
+ * unset_owner:
+ *
+ * Unsets the owner of the component.
+ */
+ void unset_owner ();
+
+ /**
+ * create_view:
+ *
+ * Creates a summary of the data that the component has.
+ * Returns: A @BonoboControl of the view.
+ */
+ Bonobo::Control create_bonobo_view (out string title);
+
+ string create_html_view (out string title);
+
+ /**
+ * configure:
+ *
+ * Instructs the component to open a preferences dialog.
+ */
+ void configure ();
+
+ };
+};