reduce usage of content headers by monkey frontend
This commit is contained in:
parent
8861923455
commit
9c8d60792f
|
@ -20,16 +20,17 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "utils/utils.h"
|
||||
#include "utils/ring.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/nsurl.h"
|
||||
#include "netsurf/mouse.h"
|
||||
#include "netsurf/window.h"
|
||||
#include "netsurf/browser_window.h"
|
||||
#include "netsurf/plotters.h"
|
||||
#include "content/hlcache.h"
|
||||
|
||||
#include "monkey/browser.h"
|
||||
#include "monkey/plot.h"
|
||||
|
@ -140,7 +141,7 @@ gui_window_new_content(struct gui_window *g)
|
|||
}
|
||||
|
||||
static void
|
||||
gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
|
||||
gui_window_set_icon(struct gui_window *g, struct hlcache_handle *icon)
|
||||
{
|
||||
fprintf(stdout, "WINDOW NEW_ICON WIN %u\n", g->win_num);
|
||||
}
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef NETSURF_MONKEY_BROWSER_H
|
||||
#define NETSURF_MONKEY_BROWSER_H
|
||||
|
||||
struct hlcache_handle;
|
||||
|
||||
extern struct gui_window_table *monkey_window_table;
|
||||
extern struct gui_download_table *monkey_download_table;
|
||||
|
||||
|
@ -37,7 +39,7 @@ struct gui_window {
|
|||
};
|
||||
|
||||
struct gui_window *monkey_find_window_by_num(uint32_t win_num);
|
||||
struct gui_window *monkey_find_window_by_content(hlcache_handle *content);
|
||||
struct gui_window *monkey_find_window_by_content(struct hlcache_handle *content);
|
||||
void monkey_window_process_reformats(void);
|
||||
|
||||
void monkey_window_handle_command(int argc, char **argv);
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "utils/ring.h"
|
||||
#include "netsurf/download.h"
|
||||
#include "desktop/download.h"
|
||||
#include "content/hlcache.h"
|
||||
|
||||
#include "monkey/browser.h"
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "content/fetch.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/hashtable.h"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <sys/select.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "utils/config.h"
|
||||
#include "utils/sys_time.h"
|
||||
|
@ -29,12 +30,11 @@
|
|||
#include "utils/messages.h"
|
||||
#include "utils/filepath.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "content/urldb.h"
|
||||
#include "content/fetchers.h"
|
||||
#include "content/fetchers/resource.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "utils/nsurl.h"
|
||||
#include "netsurf/misc.h"
|
||||
#include "netsurf/netsurf.h"
|
||||
#include "content/urldb.h"
|
||||
#include "content/fetchers.h"
|
||||
|
||||
#include "monkey/dispatch.h"
|
||||
#include "monkey/browser.h"
|
||||
|
|
Loading…
Reference in New Issue