[project @ 2004-03-27 18:47:21 by bursa]
Add save_complete to the debug build. svn path=/import/netsurf/; revision=679
This commit is contained in:
parent
16423f30fc
commit
3fb3866dfb
|
@ -46,6 +46,7 @@ int main(int argc, char *argv[])
|
|||
cache_init();
|
||||
fetchcache_init();
|
||||
url_init();
|
||||
save_complete_init();
|
||||
options_read("options");
|
||||
messages_load("messages");
|
||||
|
||||
|
@ -75,6 +76,7 @@ int main(int argc, char *argv[])
|
|||
cache_dump();
|
||||
if (!destroyed) {
|
||||
/* content_reformat(c, 1, 1000); */
|
||||
save_complete(c, "save_complete");
|
||||
content_remove_user(c, callback, 0, 0);
|
||||
}
|
||||
}
|
||||
|
@ -227,3 +229,28 @@ void die(const char *error)
|
|||
printf("die: %s\n", error);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int ro_content_filetype(int x)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern os_error *xosfile_save_stamped (char const *file_name,
|
||||
bits file_type,
|
||||
byte const *data,
|
||||
byte const *end)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern os_error *xosfile_set_type (char const *file_name,
|
||||
bits file_type)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void warn_user(const char *warn)
|
||||
{
|
||||
printf("WARNING: %s\n", warn);
|
||||
}
|
||||
|
||||
|
|
4
makefile
4
makefile
|
@ -10,7 +10,7 @@ OBJECTS_COMMON = cache.o content.o fetch.o fetchcache.o \
|
|||
css.o css_enum.o parser.o ruleset.o scanner.o \
|
||||
box.o form.o html.o layout.o textplain.o \
|
||||
messages.o utils.o translit.o pool.o url.o imagemap.o \
|
||||
jpeg.o
|
||||
jpeg.o save_complete.o
|
||||
OBJECTS = $(OBJECTS_COMMON) \
|
||||
browser.o loginlist.o netsurf.o options.o \
|
||||
htmlinstance.o htmlredraw.o \
|
||||
|
@ -20,7 +20,7 @@ OBJECTS = $(OBJECTS_COMMON) \
|
|||
draw.o gif.o plugin.o png.o sprite.o \
|
||||
about.o filetype.o font.o uri.o url_protocol.o history.o \
|
||||
version.o thumbnail.o \
|
||||
save.o save_complete.o save_draw.o save_text.o schedule.o
|
||||
save.o save_draw.o save_text.o schedule.o
|
||||
OBJECTS_DEBUG = $(OBJECTS_COMMON) \
|
||||
netsurfd.o \
|
||||
options.o filetyped.o fontd.o
|
||||
|
|
Loading…
Reference in New Issue