mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
889ae885c6
Add content instances. svn path=/import/netsurf/; revision=216
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
/*
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
* Licensed under the GNU General Public License,
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
* Copyright 2003 James Bursa <bursa@users.sourceforge.net>
|
|
*/
|
|
|
|
#ifndef _NETSURF_RENDER_HTML_H_
|
|
#define _NETSURF_RENDER_HTML_H_
|
|
|
|
#include "netsurf/content/content.h"
|
|
|
|
void html_create(struct content *c);
|
|
void html_process_data(struct content *c, char *data, unsigned long size);
|
|
int html_convert(struct content *c, unsigned int width, unsigned int height);
|
|
void html_revive(struct content *c, unsigned int width, unsigned int height);
|
|
void html_reformat(struct content *c, unsigned int width, unsigned int height);
|
|
void html_destroy(struct content *c);
|
|
void html_fetch_object(struct content *c, char *url, struct box *box);
|
|
void html_add_instance(struct content *c, struct browser_window *bw,
|
|
struct content *page, struct box *box,
|
|
struct object_params *params, void **state);
|
|
void html_remove_instance(struct content *c, struct browser_window *bw,
|
|
struct content *page, struct box *box,
|
|
struct object_params *params, void **state);
|
|
|
|
#endif
|