Implement image handling
[claws.git] / src / plugins / litehtml_viewer / lh_widget.h
index 4cdf8ceb1bbe0f5a298113a1f1dc9cb9864168a7..b17b6262a264eab1d8933ec31a09e028fa217b32 100644 (file)
@@ -1,8 +1,11 @@
 #include <gtk/gtk.h>
 #include <glib.h>
+#include <gio/gio.h>
 
 #include "container_linux.h"
 
+#define HTTP_GET_TIMEOUT 60L
+
 class lh_widget : public container_linux
 {
        public:
@@ -28,7 +31,9 @@ class lh_widget : public container_linux
 
        private:
                void paint_white();
+               GInputStream *load_url(const gchar *url, GError **error);
 
+               GInputStream *stream;
                litehtml::document::ptr m_html;
                gint m_rendered_width;
                GtkWidget *m_drawing_area;
@@ -36,4 +41,5 @@ class lh_widget : public container_linux
                GtkWidget *m_viewport;
                litehtml::context m_context;
                gint m_height;
+
 };