aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Component.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-Component.idl')
-rw-r--r--shell/Evolution-Component.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/shell/Evolution-Component.idl b/shell/Evolution-Component.idl
new file mode 100644
index 0000000000..52d86387db
--- /dev/null
+++ b/shell/Evolution-Component.idl
@@ -0,0 +1,37 @@
+/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Interface for the Evolution components.
+ *
+ * Authors:
+ * Ettore Perazzoli <ettore@ximian.com>
+ *
+ * Copyright (C) 2003 Ximian, Inc.
+ */
+
+#include <Bonobo.idl>
+
+module GNOME {
+module Evolution {
+
+ interface Component : Bonobo::Unknown {
+ /* Create the controls for embedding in the shell. */
+ void createControls (out Bonobo::Control sidebar_control,
+ out Bonobo::Control view_control);
+
+ /* Request the component to quit. The component will reply
+ with an event named "quit", with a boolean value of TRUE if
+ the component agrees to quit and FALSE if it doesn't want
+ to. */
+ void requestQuit (in Bonobo::Listener listener);
+
+ /* Notify the component of whether the shell is currently
+ running in interactive mode or not. (I.e. basically,
+ whether there are any Evolution windows on the screen.)
+ @new_view_xid is an X Window ID ("None" if @now_interactive
+ is FALSE) */
+ void interactive (in boolean now_interactive,
+ in unsigned long new_view_xid);
+ };
+
+};
+};