aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-27 16:47:14 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commitd749e8713072d7fd48693be1075274a3fe4057e8 (patch)
tree1a2419b01fee68f1a09376d567e344dcb16d8211 /src/scaling-report.h
parent14a89c74bf8c17309f042e7e2ef7fbfe4fed13e9 (diff)
partialator: Loads of work on the scaling report
Diffstat (limited to 'src/scaling-report.h')
-rw-r--r--src/scaling-report.h23
1 files changed, 13 insertions, 10 deletions
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 */