diff options
author | ritsuka <[email protected]> | 2014-07-15 18:30:51 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-07-15 18:30:51 +0000 |
commit | 31283b442713147dc5edb5135cb6dbcbb95635e8 (patch) | |
tree | a779647bf655c11b4ba5d1c0a3839202cf17a2a4 /macosx/HBChapterTitlesController.h | |
parent | 076704ec10c392851673856eeaf071eb79f90075 (diff) |
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
Diffstat (limited to 'macosx/HBChapterTitlesController.h')
-rw-r--r-- | macosx/HBChapterTitlesController.h | 29 |
1 files changed, 29 insertions, 0 deletions
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: <http://handbrake.fr/>. + It may be used under the terms of the GNU General Public License. */ + +#include <Cocoa/Cocoa.h> + +/** + * 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 |