From 31283b442713147dc5edb5135cb6dbcbb95635e8 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Tue, 15 Jul 2014 18:30:51 +0000 Subject: MacGUI: Refactored the controller code for the video/audio/subtitles/chapters view: Added a xib file and a NSViewController subclass for each tab of the main HandBrake window. Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes. Converted the modified .xibs to the Xcode 5.1 format. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBChapterTitlesController.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 macosx/HBChapterTitlesController.h (limited to 'macosx/HBChapterTitlesController.h') diff --git a/macosx/HBChapterTitlesController.h b/macosx/HBChapterTitlesController.h new file mode 100644 index 000000000..f56fd367b --- /dev/null +++ b/macosx/HBChapterTitlesController.h @@ -0,0 +1,29 @@ +/* ChapterTitles.h $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + +#include + +/** + * HBChapterTitlesController + * Responds to HBTitleChangedNotification notifications. + */ +@interface HBChapterTitlesController : NSViewController + +- (void)enableUI:(BOOL)b; +- (void)addChaptersFromQueue:(NSMutableArray *)newChaptersArray; + +/** + * Enable/disable chapters markers + */ +@property (readwrite, nonatomic) BOOL createChapterMarkers; + +/** + * Get the list of chapter titles + */ +@property (readonly, nonatomic) NSArray *chapterTitlesArray; + + +@end -- cgit v1.2.3