diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-09-07 15:42:53 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-09-07 15:42:53 +0200 |
commit | 013f650a3ddccd1b2f23840bee909236b7a03a35 (patch) | |
tree | 40d151be33056a3eb16b70a23e3f008eea4001af /src/sc_interp.h | |
parent | 0702209973603d5523d3599e86e4c70ca828a0d9 (diff) |
Factorise style sheet
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r-- | src/sc_interp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h index 19c5ed8..067fd60 100644 --- a/src/sc_interp.h +++ b/src/sc_interp.h @@ -29,6 +29,7 @@ #include <pango/pangocairo.h> +struct presentation; typedef struct _scinterp SCInterpreter; extern SCInterpreter *sc_interp_new(PangoContext *pc, struct frame *top); @@ -37,8 +38,10 @@ extern void sc_interp_destroy(SCInterpreter *scin); extern void sc_interp_save(SCInterpreter *scin); extern void sc_interp_restore(SCInterpreter *scin); -extern int sc_interp_add_blocks(SCInterpreter *scin, SCBlock *bl, - SCBlock *last); +extern int sc_interp_add_blocks(SCInterpreter *scin, SCBlock *bl); + +extern void find_stylesheet(struct presentation *p); +extern void sc_interp_run_stylesheet(SCInterpreter *scin, SCBlock *bl); /* Get the current state of the interpreter */ extern struct frame *sc_interp_get_frame(SCInterpreter *scin); |