summaryrefslogtreecommitdiff
path: root/gfx/diff.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-03 22:55:29 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-03 23:11:45 -0300
commit9132d430693cfda5e0c046a902cab469f83418de (patch)
tree3ddfe6bb9b282f9b70464bb0a5016a1b3c55e8a2 /gfx/diff.h
parent1eebec29e302f07a77cfcfa6db5a08dedc727eda (diff)
downloadeeshow-9132d430693cfda5e0c046a902cab469f83418de.tar.gz
eeshow-9132d430693cfda5e0c046a902cab469f83418de.tar.bz2
eeshow-9132d430693cfda5e0c046a902cab469f83418de.zip
main/eediff.c: the big leap - use diff_process_file (WIP)
There is still some cleanup left to do, including doing something about -e and -1.
Diffstat (limited to 'gfx/diff.h')
-rw-r--r--gfx/diff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/diff.h b/gfx/diff.h
index 5bee90c..90eb66d 100644
--- a/gfx/diff.h
+++ b/gfx/diff.h
@@ -20,6 +20,7 @@
#include "gfx/gfx.h"
#include "gfx/cro.h"
+#include "kicad/ext.h"
extern const struct gfx_ops diff_ops;
@@ -31,6 +32,8 @@ struct area {
struct area *next;
};
+struct diff;
+
void add_area(struct area **areas, int xa, int ya, int xb, int yb,
uint32_t color);
@@ -41,4 +44,7 @@ void diff_to_canvas(cairo_t *cr, int cx, int cy, float scale,
struct cro_ctx *new, struct cro_ctx *new_extra,
const struct area *areas);
+void *diff_process_file(struct diff *diff, struct file_names *file_names,
+ int argc, char *const *argv, const char *opts);
+
#endif /* !GFX_DIFF_H */