X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-tny-stream-gtkhtml.h;h=e06d17143ae26eb76d255658746079fc00be3f9c;hb=8951c81ffcab3127897391ddf312a2f990a12c12;hp=42fd05a981c032cc978642bfeb5c32a6919a24ef;hpb=8382f271204a2540d6aa49329d91cba452e38772;p=modest diff --git a/src/widgets/modest-tny-stream-gtkhtml.h b/src/widgets/modest-tny-stream-gtkhtml.h index 42fd05a..e06d171 100644 --- a/src/widgets/modest-tny-stream-gtkhtml.h +++ b/src/widgets/modest-tny-stream-gtkhtml.h @@ -69,8 +69,26 @@ GType modest_tny_stream_gtkhtml_get_type (void) G_GNUC_CONST; * * Returns: a new #ModestTnyStreamGtkhtml **/ -GObject* modest_tny_stream_gtkhtml_new (GtkHTMLStream* stream); +GObject* modest_tny_stream_gtkhtml_new (GtkHTMLStream* stream, GtkHTML *html); +/** + * modest_tny_stream_gtkhtml_set_max_size: + * @stream: a #ModestTnyStreamGtkhtml + * @max_size: a #gssize + * + * set @max_size as the maximum size @stream will process + */ +void modest_tny_stream_gtkhtml_set_max_size (ModestTnyStreamGtkhtml *stream, gssize max_size); + +/** + * modest_tny_stream_gtkhtml_get_max_size: + * @stream: a #ModestTnyStreamGtkhtml + * + * obtain the maximum size @stream will process + * + * Returns: a #gssize (or 0 if unlimited) + */ +gssize modest_tny_stream_gtkhtml_get_max_size (ModestTnyStreamGtkhtml *stream); G_END_DECLS