diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-05 04:53:10 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:26 +0800 |
commit | e7954c3f251aabbf95d099159709c8c66dfedc44 (patch) | |
tree | 08b6fbba02f05aa622cd54f45da223ef43066bb3 /mail/em-format-html.h | |
parent | dcaf6c52082765c2586a7d35b56b3dc417aa988d (diff) | |
download | gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.gz gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.zst gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'mail/em-format-html.h')
-rw-r--r-- | mail/em-format-html.h | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/mail/em-format-html.h b/mail/em-format-html.h index 37eace367f..68b5b438eb 100644 --- a/mail/em-format-html.h +++ b/mail/em-format-html.h @@ -90,6 +90,9 @@ typedef enum { typedef struct _EMFormatHTMLJob EMFormatHTMLJob; +typedef void (*EMFormatHTMLJobCallback) (EMFormatHTMLJob *job, + GCancellable *cancellable); + /** * struct _EMFormatHTMLJob - A formatting job. * @@ -120,7 +123,7 @@ struct _EMFormatHTMLJob { GNode *puri_level; CamelURL *base; - void (*callback)(EMFormatHTMLJob *job, GCancellable *cancellable); + EMFormatHTMLJobCallback callback; union { gchar *uri; CamelMedium *msg; @@ -275,7 +278,8 @@ EMFormatHTMLPObject * em_format_html_find_pobject (EMFormatHTML *efh, const gchar *classid); EMFormatHTMLPObject * - em_format_html_find_pobject_func (EMFormatHTML *efh, + em_format_html_find_pobject_func + (EMFormatHTML *efh, CamelMimePart *part, EMFormatHTMLPObjectFunc func); void em_format_html_remove_pobject (EMFormatHTML *efh, @@ -283,22 +287,29 @@ void em_format_html_remove_pobject (EMFormatHTML *efh, void em_format_html_clear_pobject (EMFormatHTML *efh); EMFormatHTMLJob * em_format_html_job_new (EMFormatHTML *efh, - void (*callback)(EMFormatHTMLJob *job, GCancellable *cancellable), + EMFormatHTMLJobCallback callback, gpointer data); void em_format_html_job_queue (EMFormatHTML *efh, EMFormatHTMLJob *job); -gboolean em_format_html_get_show_real_date (EMFormatHTML *efh); -void em_format_html_set_show_real_date (EMFormatHTML *efh, +gboolean em_format_html_get_show_real_date + (EMFormatHTML *efh); +void em_format_html_set_show_real_date + (EMFormatHTML *efh, gboolean show_real_date); EMFormatHTMLHeadersState - em_format_html_get_headers_state (EMFormatHTML *efh); -void em_format_html_set_headers_state (EMFormatHTML *efh, - EMFormatHTMLHeadersState state); -gboolean em_format_html_get_headers_collapsable (EMFormatHTML *efh); -void em_format_html_set_headers_collapsable (EMFormatHTML *efh, - gboolean collapsable); - -gchar * em_format_html_format_cert_infos (CamelCipherCertInfo *first_cinfo); + em_format_html_get_headers_state + (EMFormatHTML *efh); +void em_format_html_set_headers_state + (EMFormatHTML *efh, + EMFormatHTMLHeadersState state); +gboolean em_format_html_get_headers_collapsable + (EMFormatHTML *efh); +void em_format_html_set_headers_collapsable + (EMFormatHTML *efh, + gboolean collapsable); + +gchar * em_format_html_format_cert_infos + (CamelCipherCertInfo *first_cinfo); G_END_DECLS |