From f69d5ec14310f4903a8b88224f7c82cfa1de014a Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 22 Nov 2000 00:34:39 +0000 Subject: Big patch. Evolution-services rewrite, services updated for new system, Big patch. Evolution-services rewrite, services updated for new system, Fixes to Executive Summary and other things. See some changelogs svn path=/trunk/; revision=6644 --- executive-summary/component/e-summary.h | 55 ++++++++++++++------------------- 1 file changed, 23 insertions(+), 32 deletions(-) (limited to 'executive-summary/component/e-summary.h') diff --git a/executive-summary/component/e-summary.h b/executive-summary/component/e-summary.h index 2e930cd692..5eae27ea0c 100644 --- a/executive-summary/component/e-summary.h +++ b/executive-summary/component/e-summary.h @@ -24,13 +24,11 @@ #ifndef _E_SUMMARY_H__ #define _E_SUMMARY_H__ -#include #include #include #include -#include -#include +#include #include #define E_SUMMARY_TYPE (e_summary_get_type ()) @@ -45,9 +43,20 @@ typedef struct _ESummaryClass ESummaryClass; typedef struct _ESummaryWindow ESummaryWindow; struct _ESummaryWindow { - ExecutiveSummary *summary; - ExecutiveSummaryComponentView *view; + GNOME_Evolution_Summary_Component component; + + Bonobo_Control control; + GNOME_Evolution_Summary_HTMLView html; + + Bonobo_PersistStream persiststream; + Bonobo_PropertyBag propertybag; + Bonobo_PropertyControl propertycontrol; + + BonoboPropertyListener *listener; + char *iid; + char *title; + char *icon; }; struct _ESummary { @@ -63,31 +72,14 @@ struct _ESummaryClass { GtkType e_summary_get_type (void); GtkWidget *e_summary_new (const GNOME_Evolution_Shell shell); int e_summary_rebuild_page (ESummary *esummary); -void e_summary_add_html_service (ESummary *esummary, - ExecutiveSummary *summary, - ExecutiveSummaryComponentClient *client, - const char *html, - const char *title, - const char *icon); -void e_summary_add_bonobo_service (ESummary *esummary, - ExecutiveSummary *summary, - ExecutiveSummaryComponentClient *client, - GtkWidget *control, - const char *title, - const char *icon); -void e_summary_update_window (ESummary *esummary, - ExecutiveSummary *summary, - const char *html); -void e_summary_window_free (ESummaryWindow *window, - ESummary *esummary); -void e_summary_window_remove_from_ht (ESummaryWindow *window, - ESummary *esummary); -void e_summary_add_service (ESummary *esummary, - ExecutiveSummary *summary, - ExecutiveSummaryComponentView *view, - const char *iid); -ExecutiveSummaryComponentView * e_summary_view_from_id (ESummary *esummary, - int id); + +void e_summary_window_free (ESummaryWindow *window); +void e_summary_remove_window (ESummary *esummary, + ESummaryWindow *window); +ESummaryWindow *e_summary_add_service (ESummary *esummary, + GNOME_Evolution_Summary_Component component, + const char *iid); + void e_summary_set_shell_view_interface (ESummary *summary, GNOME_Evolution_ShellView svi); void e_summary_set_message (ESummary *esummary, @@ -98,8 +90,7 @@ void e_summary_change_current_view (ESummary *esummary, const char *uri); void e_summary_set_title (ESummary *esummary, const char *title); -ESummaryWindow *e_summary_window_from_view (ESummary *esummary, - ExecutiveSummaryComponentView *view); + void e_summary_window_move_left (ESummary *esummary, ESummaryWindow *window); void e_summary_window_move_right (ESummary *esummary, -- cgit v1.2.3