summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitles.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-10-25 18:21:54 +0000
committerritsuka <[email protected]>2013-10-25 18:21:54 +0000
commitef19311ee492b85995da5446d75e2cc0fdb40549 (patch)
treebd28a616c62f9a9c2eaa5d56f52795279ebf0adc /macosx/HBSubtitles.h
parent32a56184a88817091950a94335dbf1036677eaf1 (diff)
MacGUI: Varius warnings fixes:
- NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitles.h')
-rw-r--r--macosx/HBSubtitles.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBSubtitles.h b/macosx/HBSubtitles.h
index 7fb78b1cc..1f4930bd7 100644
--- a/macosx/HBSubtitles.h
+++ b/macosx/HBSubtitles.h
@@ -10,7 +10,7 @@
-@interface HBSubtitles : NSObject <NSTableViewDataSource> {
+@interface HBSubtitles : NSObject <NSTableViewDataSource, NSTableViewDelegate> {
hb_title_t *fTitle;
NSMutableArray *subtitleArray; // contains the output subtitle track info
@@ -32,7 +32,7 @@ int container;
- (NSDictionary *)createSubtitleTrack;
- (NSMutableArray*) getSubtitleArray;
// Add an srt file
-- (void)createSubtitleSrtTrack:(NSString *)filePath;
+- (void)createSubtitleSrtTrack:(NSURL *)fileURL;
- (void)containerChanged:(int) newContainer;