mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-16 22:43:58 +03:00
remove further extraneous includes
This commit is contained in:
parent
00bdf39dc2
commit
427f127fa9
@ -17,18 +17,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** \file
|
/** \file
|
||||||
* Interface to platform-specific gui functions.
|
* Interface to platform-specific gui operation tables.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _NETSURF_DESKTOP_GUI_H_
|
#ifndef _NETSURF_DESKTOP_GUI_H_
|
||||||
#define _NETSURF_DESKTOP_GUI_H_
|
#define _NETSURF_DESKTOP_GUI_H_
|
||||||
|
|
||||||
#include <stdbool.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "utils/types.h"
|
#include "utils/types.h"
|
||||||
#include "utils/errors.h"
|
#include "utils/errors.h"
|
||||||
#include "utils/nsurl.h"
|
|
||||||
#include "desktop/plot_style.h"
|
#include "desktop/plot_style.h"
|
||||||
#include "desktop/mouse.h"
|
#include "desktop/mouse.h"
|
||||||
|
|
||||||
@ -63,6 +59,7 @@ struct form_control;
|
|||||||
struct ssl_cert_info;
|
struct ssl_cert_info;
|
||||||
struct hlcache_handle;
|
struct hlcache_handle;
|
||||||
struct download_context;
|
struct download_context;
|
||||||
|
struct nsurl;
|
||||||
|
|
||||||
typedef struct nsnsclipboard_styles {
|
typedef struct nsnsclipboard_styles {
|
||||||
size_t start; /**< Start of run */
|
size_t start; /**< Start of run */
|
||||||
@ -356,7 +353,7 @@ struct gui_fetch_table {
|
|||||||
* \return A string containing the full URL of the target object or
|
* \return A string containing the full URL of the target object or
|
||||||
* NULL if no suitable resource can be found.
|
* NULL if no suitable resource can be found.
|
||||||
*/
|
*/
|
||||||
nsurl* (*get_resource_url)(const char *path);
|
struct nsurl* (*get_resource_url)(const char *path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find a MIME type for a local file
|
* Find a MIME type for a local file
|
||||||
@ -437,12 +434,12 @@ struct gui_browser_table {
|
|||||||
/**
|
/**
|
||||||
* verify certificate
|
* verify certificate
|
||||||
*/
|
*/
|
||||||
void (*cert_verify)(nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror (*cb)(bool proceed, void *pw), void *cbpw);
|
void (*cert_verify)(struct nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror (*cb)(bool proceed, void *pw), void *cbpw);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prompt user for login
|
* Prompt user for login
|
||||||
*/
|
*/
|
||||||
void (*login)(nsurl *url, const char *realm,
|
void (*login)(struct nsurl *url, const char *realm,
|
||||||
nserror (*cb)(bool proceed, void *pw), void *cbpw);
|
nserror (*cb)(bool proceed, void *pw), void *cbpw);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -21,13 +21,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "desktop/gui.h"
|
#include "utils/nsurl.h"
|
||||||
#include "utils/url.h"
|
#include "utils/url.h"
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "utils/filepath.h"
|
#include "utils/filepath.h"
|
||||||
|
#include "desktop/gui.h"
|
||||||
|
|
||||||
#include "framebuffer/findfile.h"
|
#include "framebuffer/findfile.h"
|
||||||
#include "framebuffer/fetch.h"
|
#include "framebuffer/fetch.h"
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "desktop/gui.h"
|
|
||||||
#include "utils/ring.h"
|
#include "utils/ring.h"
|
||||||
|
#include "utils/nsurl.h"
|
||||||
|
#include "desktop/gui.h"
|
||||||
|
|
||||||
#include "monkey/cert.h"
|
#include "monkey/cert.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user