summaryrefslogtreecommitdiff
path: root/desktop/thumbnail.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-02 20:10:32 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-02 20:10:32 +0000
commitad343eccb18454bab2f4e9464b88564c9da69649 (patch)
treea4d775a8e99e7d98dcfabdcdde7e6ad0dfd7368b /desktop/thumbnail.h
parentf2cda2e1a707033ac582e791c45eeb3d0feaa70d (diff)
downloadnetsurf-ad343eccb18454bab2f4e9464b88564c9da69649.tar.gz
netsurf-ad343eccb18454bab2f4e9464b88564c9da69649.tar.bz2
remove unecessary utils/types.h
This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required.
Diffstat (limited to 'desktop/thumbnail.h')
-rw-r--r--desktop/thumbnail.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/desktop/thumbnail.h b/desktop/thumbnail.h
index 05bae7abc..ecf8fa6f2 100644
--- a/desktop/thumbnail.h
+++ b/desktop/thumbnail.h
@@ -24,12 +24,11 @@
#define _NETSURF_DESKTOP_THUMBNAIL_H_
#include <stdbool.h>
-#include "utils/nsurl.h"
-#include "utils/types.h"
struct hlcache_handle;
+struct redraw_context;
struct bitmap;
-
+struct nsurl;
/**
* Redraw a content for thumbnailing
@@ -47,12 +46,12 @@ struct bitmap;
*
* Units for width and height are pixels.
*/
-bool thumbnail_redraw(struct hlcache_handle *content,
- int width, int height, const struct redraw_context *ctx);
+bool thumbnail_redraw(struct hlcache_handle *content, int width, int height,
+ const struct redraw_context *ctx);
/* In platform specific thumbnail.c. */
bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap,
- nsurl *url);
+ struct nsurl *url);
#endif