From d749e8713072d7fd48693be1075274a3fe4057e8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 27 Sep 2011 16:47:14 +0200 Subject: partialator: Loads of work on the scaling report --- src/scaling-report.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'src/scaling-report.h') diff --git a/src/scaling-report.h b/src/scaling-report.h index 063a0f39..419acc0b 100644 --- a/src/scaling-report.h +++ b/src/scaling-report.h @@ -23,31 +23,34 @@ typedef struct _srcontext SRContext; /* Opaque */ #ifdef HAVE_CAIRO -extern SRContext *sr_header(const char *filename, const char *stream_filename, - const char *cmdline); +extern SRContext *sr_titlepage(struct image *images, int n, + const char *filename, + const char *stream_filename, + const char *cmdline); -extern void sr_before(SRContext *sr, struct image *images, int n, - RefList *full); +extern void sr_iteration(SRContext *sr, int iteration, struct image *images, + int n, RefList *full); -extern void sr_after(SRContext *sr, struct image *images, int n, - RefList *full); +extern void sr_finish(SRContext *sr); #else -SRContext *sr_header(const char *filename, const char *stream_filename, - const char *cmdline) +SRContext *sr_titlepage(struct image *images, int n, const char *filename, + const char *stream_filename, const char *cmdline) { return NULL; } -void sr_before(SRContext *sr, struct image *images, int n, RefList *full) +void sr_iteration(SRContext *sr, int iteration, struct image *images, int n, + RefList *full) { } -void sr_after(SRContext *sr, struct image *images, int n, RefList *full) +void sr_finish(SRContext *sr) { } #endif + #endif /* SCALING_REPORT_H */ -- cgit v1.2.3