mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
move about fetcher into its own directory
This commit is contained in:
parent
7997182cc0
commit
c74509cdf5
@ -53,7 +53,7 @@
|
||||
#include "content/fetch.h"
|
||||
#include "content/fetchers.h"
|
||||
#include "content/fetchers/resource.h"
|
||||
#include "content/fetchers/about.h"
|
||||
#include "content/fetchers/about/about.h"
|
||||
#include "content/fetchers/curl.h"
|
||||
#include "content/fetchers/data.h"
|
||||
#include "content/fetchers/file/file.h"
|
||||
|
@ -1,15 +1,15 @@
|
||||
# Content fetchers sources
|
||||
|
||||
S_FETCHERS_YES := data.c about.c resource.c
|
||||
S_FETCHERS_YES := data.c resource.c
|
||||
S_FETCHERS_NO :=
|
||||
S_FETCHERS_$(NETSURF_USE_CURL) += curl.c
|
||||
|
||||
S_FETCHERS := $(addprefix fetchers/,$(S_FETCHERS_YES))
|
||||
|
||||
# File fetcher
|
||||
# about fetcher
|
||||
include content/fetchers/about/Makefile
|
||||
S_FETCHERS += $(addprefix fetchers/about/,$(S_FETCHER_ABOUT))
|
||||
|
||||
# file fetcher
|
||||
include content/fetchers/file/Makefile
|
||||
|
||||
S_FETCHERS += $(addprefix fetchers/file/,$(S_FETCHER_FILE))
|
||||
|
||||
# The following files depend on the testament
|
||||
content/fetchers/about.c: testament $(OBJROOT)/testament.h
|
||||
|
6
content/fetchers/about/Makefile
Normal file
6
content/fetchers/about/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# about fetcher sources
|
||||
|
||||
S_FETCHER_ABOUT := about.c
|
||||
|
||||
# The following files depend on the testament
|
||||
content/fetchers/about/about.c: testament $(OBJROOT)/testament.h
|
@ -45,11 +45,12 @@
|
||||
|
||||
#include "content/fetch.h"
|
||||
#include "content/fetchers.h"
|
||||
#include "content/fetchers/about.h"
|
||||
#include "image/image_cache.h"
|
||||
|
||||
#include "desktop/system_colour.h"
|
||||
|
||||
#include "about.h"
|
||||
|
||||
struct fetch_about_context;
|
||||
|
||||
typedef bool (*fetch_about_handler)(struct fetch_about_context *);
|
Loading…
Reference in New Issue
Block a user