diff options
author | Thomas White <taw@bitwiz.me.uk> | 2020-01-14 23:11:26 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2020-01-14 23:11:26 +0100 |
commit | b2660879dc21df26ad12526072a75726091225e5 (patch) | |
tree | b1ee1de845ef1042e451b9dc23302c40957a6a02 /libstorycode/narrative_priv.h | |
parent | 588d51ef1e462eefc3761e55dc9ae87f75a3115c (diff) |
Track time taken for each narrative item
Diffstat (limited to 'libstorycode/narrative_priv.h')
-rw-r--r-- | libstorycode/narrative_priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstorycode/narrative_priv.h b/libstorycode/narrative_priv.h index 1f2c16a..b9d8eae 100644 --- a/libstorycode/narrative_priv.h +++ b/libstorycode/narrative_priv.h @@ -79,6 +79,8 @@ struct narrative_item void *slide_thumbnail; #endif int selected; /* Whether or not this item should be given a "selected" highlight */ + + double estd_duration; /* Estimated duration in minutes, based on word count */ }; @@ -101,5 +103,7 @@ struct _narrative extern int narrative_which_run(struct narrative_item *item, size_t item_offs, size_t *run_offs); +extern void update_timing(struct narrative_item *item); + #endif /* NARRATIVE_PRIV_H */ |