From 013f650a3ddccd1b2f23840bee909236b7a03a35 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 7 Sep 2014 15:42:53 +0200 Subject: Factorise style sheet --- src/sc_interp.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/sc_interp.h') 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 +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); -- cgit v1.2.3