aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-07 15:42:53 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-07 15:42:53 +0200
commit013f650a3ddccd1b2f23840bee909236b7a03a35 (patch)
tree40d151be33056a3eb16b70a23e3f008eea4001af /src/sc_interp.h
parent0702209973603d5523d3599e86e4c70ca828a0d9 (diff)
Factorise style sheet
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r--src/sc_interp.h7
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);