summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitles.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-07-15 18:30:51 +0000
committerritsuka <[email protected]>2014-07-15 18:30:51 +0000
commit31283b442713147dc5edb5135cb6dbcbb95635e8 (patch)
treea779647bf655c11b4ba5d1c0a3839202cf17a2a4 /macosx/HBSubtitles.h
parent076704ec10c392851673856eeaf071eb79f90075 (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/HBSubtitles.h')
-rw-r--r--macosx/HBSubtitles.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/macosx/HBSubtitles.h b/macosx/HBSubtitles.h
deleted file mode 100644
index 1f4930bd7..000000000
--- a/macosx/HBSubtitles.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/* $Id: HBSubtitles.h,v 1.35 2005/08/01 14:29:50 titer Exp $
-
- 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. */
-
-#import <Cocoa/Cocoa.h>
-#include "hb.h"
-
-
-
-
-@interface HBSubtitles : NSObject <NSTableViewDataSource, NSTableViewDelegate> {
-hb_title_t *fTitle;
-
-NSMutableArray *subtitleArray; // contains the output subtitle track info
-NSMutableArray *subtitleSourceArray;// contains the source subtitle track info
-NSString *foreignAudioSearchTrackName;
-NSMutableArray *languagesArray; // array of languages taken from lang.c
-NSInteger languagesArrayDefIndex;
-NSMutableArray *charCodeArray; // array of character codes
-int charCodeArrayDefIndex;
-int container;
-
-}
-
-// Trigger a refresh of data
-- (void)resetWithTitle:(hb_title_t *)title;
-
-// Create new subtitle track
-- (void)addSubtitleTrack;
-- (NSDictionary *)createSubtitleTrack;
-- (NSMutableArray*) getSubtitleArray;
-// Add an srt file
-- (void)createSubtitleSrtTrack:(NSURL *)fileURL;
-
-- (void)containerChanged:(int) newContainer;
-
-- (void)setNewSubtitles:(NSMutableArray*) newSubtitleArray;
-
-// Table View Delegates
-- (NSUInteger)numberOfRowsInTableView:(NSTableView *)aTableView;
-
-- (id)tableView:(NSTableView *)aTableView
- objectValueForTableColumn:(NSTableColumn *)aTableColumn
- row:(NSInteger)rowIndex;
-
-- (void)tableView:(NSTableView *)aTableView
- setObjectValue:(id)anObject
- forTableColumn:(NSTableColumn *)aTableColumn
- row:(NSInteger)rowIndex;
-
-- (void)tableView:(NSTableView *)aTableView
- willDisplayCell:(id)aCell
- forTableColumn:(NSTableColumn *)aTableColumn
- row:(NSInteger)rowIndex;
-
-@end