1 /* $Id: HBSubtitles.h,v 1.35 2005/08/01 14:29:50 titer Exp $
3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.fr/>.
5 It may be used under the terms of the GNU General Public License. */
7 #import <Cocoa/Cocoa.h>
10 @interface HBSubtitles : NSObject {
13 NSMutableArray *subtitleArray;
17 // Trigger a refresh of data
18 - (void)resetWithTitle:(hb_title_t *)title;
20 // Create new subtitle track
21 - (void)addSubtitleTrack;
22 - (NSDictionary *)createSubtitleTrack;
23 - (NSMutableArray*) getSubtitleArray: (NSMutableArray *) subtitlesArray ;
25 - (void)containerChanged:(int) newContainer;
27 // Table View Delegates
28 - (int)numberOfRowsInTableView:(NSTableView *)aTableView;
30 - (id)tableView:(NSTableView *)aTableView
31 objectValueForTableColumn:(NSTableColumn *)aTableColumn
32 row:(NSInteger)rowIndex;
34 - (void)tableView:(NSTableView *)aTableView
35 setObjectValue:(id)anObject
36 forTableColumn:(NSTableColumn *)aTableColumn
37 row:(NSInteger)rowIndex;
39 - (void)tableView:(NSTableView *)aTableView
40 willDisplayCell:(id)aCell
41 forTableColumn:(NSTableColumn *)aTableColumn
42 row:(NSInteger)rowIndex;