diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-09-24 21:48:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-03 11:00:42 +0800 |
commit | 09a335ec7b854bf4bc4c96c812b0655164f0a5a8 (patch) | |
tree | b911ae0cda027054648f30d2f60908d2b13a2853 /plugins/itip-formatter/itip-view.h | |
parent | 9385743236e2682b79b4c392efa7a636250ab7cd (diff) | |
download | gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.tar gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.tar.gz gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.tar.bz2 gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.tar.lz gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.tar.xz gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.tar.zst gsoc2013-evolution-09a335ec7b854bf4bc4c96c812b0655164f0a5a8.zip |
Adapt itip-formatter plugin to the new ESource API.
Diffstat (limited to 'plugins/itip-formatter/itip-view.h')
-rw-r--r-- | plugins/itip-formatter/itip-view.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/plugins/itip-formatter/itip-view.h b/plugins/itip-formatter/itip-view.h index 33f6f6fe03..d7ebd5b5b1 100644 --- a/plugins/itip-formatter/itip-view.h +++ b/plugins/itip-formatter/itip-view.h @@ -27,9 +27,9 @@ #include <stdarg.h> #include <unistd.h> #include <gtk/gtk.h> -#include <libedataserver/e-source-list.h> -#include <libecal/e-cal-client.h> #include <webkit/webkitdom.h> +#include <libecal/e-cal-client.h> +#include <libedataserver/e-source-registry.h> /* Standard GObject macros */ #define ITIP_TYPE_VIEW \ @@ -105,13 +105,19 @@ struct _ItipViewClass { }; GType itip_view_get_type (void); -ItipView * itip_view_new (ItipPURI *puri); +ItipView * itip_view_new (ItipPURI *puri, + ESourceRegistry *registry); void itip_view_write (GString *buffer); void itip_view_write_for_printing (ItipView *view, GString *buffer); void itip_view_create_dom_bindings (ItipView *view, WebKitDOMElement *element); ItipPURI * itip_view_get_puri (ItipView *view); +ESourceRegistry * + itip_view_get_registry (ItipView *view); +const gchar * itip_view_get_extension_name (ItipView *view); +void itip_view_set_extension_name (ItipView *view, + const gchar *extension_name); ItipViewMode itip_view_get_mode (ItipView *view); void itip_view_set_mode (ItipView *view, ItipViewMode mode); @@ -190,10 +196,7 @@ void itip_view_remove_lower_info_item guint id); void itip_view_clear_lower_info_items (ItipView *view); -ESourceList * itip_view_get_source_list (ItipView *view); -void itip_view_set_source_list (ItipView *view, - ESourceList *source_list); -ESource * itip_view_get_source (ItipView *view); +ESource * itip_view_ref_source (ItipView *view); void itip_view_set_source (ItipView *view, ESource *source); gboolean itip_view_get_rsvp (ItipView *view); |