From 5a1e588c3fbdce549e0b3c487e2671c679890675 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 30 Mar 2019 17:32:24 +0100 Subject: Get rid of Presentation structure It doesn't have any reason to exist. A Narrative defines the top-level object already. This is, after all, a narrative-based presentation system. This removes a lot of faff surrounding retrieving the Narrative from the Presentation. It also removes a gigantic place for bugs to hide in keeping the Presentation's view of the slides in sync with the Narrative's opinion. What was that quote? "Code is terrible, and we want as little of it as possible in our program." --- src/testcard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testcard.h') diff --git a/src/testcard.h b/src/testcard.h index da8315f..8e9a4ca 100644 --- a/src/testcard.h +++ b/src/testcard.h @@ -27,8 +27,8 @@ #include #endif -#include +#include -extern void show_testcard(Presentation *p); +extern void show_testcard(Narrative *n); #endif /* TESTCARD_H */ -- cgit v1.2.3