diff options
author | Rodeo <[email protected]> | 2013-05-11 19:38:49 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-05-11 19:38:49 +0000 |
commit | 7479f4af01737781d00bf48deb3b3d923ee8d664 (patch) | |
tree | 2850e93c593e9b503fa82a5ee6a1f3b99f3659ac /macosx/ChapterTitles.h | |
parent | a09e24030d455e435096be0dbaf4370c5696d787 (diff) |
MacGui: refactor handling on chapter titles.
job->list_chapters is reset by any call to hb_job_reset(), so store chapter titles in an NSArray instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5451 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/ChapterTitles.h')
-rw-r--r-- | macosx/ChapterTitles.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/ChapterTitles.h b/macosx/ChapterTitles.h index 94d06c806..4b6a3fb07 100644 --- a/macosx/ChapterTitles.h +++ b/macosx/ChapterTitles.h @@ -8,12 +8,16 @@ #include "hb.h" @interface ChapterTitles : NSObject { - hb_title_t *fTitle; + hb_title_t *fTitle; + NSMutableArray *fChapterTitlesArray; } // Trigger a refresh of data - (void)resetWithTitle:(hb_title_t *)title; +// Get the list of chapter titles +- (NSArray*)chapterTitlesArray; + // Table View Delegates - (int)numberOfRowsInTableView:(NSTableView *)aTableView; |