OSDN Git Service

Macgui: Update Sparkle to 1.5 b6
[handbrake-jp/handbrake-jp-git.git] / macosx / HBSubtitles.h
1 /* $Id: HBSubtitles.h,v 1.35 2005/08/01 14:29:50 titer Exp $
2
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. */
6
7 #import <Cocoa/Cocoa.h>
8 #include "hb.h"
9
10 @interface HBSubtitles : NSObject {
11 hb_title_t                   *fTitle;
12
13 NSMutableArray               *subtitleArray;
14 int                           container;
15 }
16
17 // Trigger a refresh of data
18 - (void)resetWithTitle:(hb_title_t *)title;
19
20 // Create new subtitle track
21 - (void)addSubtitleTrack;
22 - (NSDictionary *)createSubtitleTrack;
23 - (NSMutableArray*) getSubtitleArray: (NSMutableArray *) subtitlesArray ;
24
25 - (void)containerChanged:(int) newContainer;
26
27 // Table View Delegates
28 - (int)numberOfRowsInTableView:(NSTableView *)aTableView;
29
30 - (id)tableView:(NSTableView *)aTableView
31       objectValueForTableColumn:(NSTableColumn *)aTableColumn
32       row:(NSInteger)rowIndex;
33       
34 - (void)tableView:(NSTableView *)aTableView
35         setObjectValue:(id)anObject
36         forTableColumn:(NSTableColumn *)aTableColumn
37         row:(NSInteger)rowIndex;
38
39 - (void)tableView:(NSTableView *)aTableView
40         willDisplayCell:(id)aCell
41         forTableColumn:(NSTableColumn *)aTableColumn
42         row:(NSInteger)rowIndex;
43
44 @end