diff options
author | ritsuka <[email protected]> | 2014-12-23 10:26:39 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-23 10:26:39 +0000 |
commit | 9297c8f803c220c58b0cb187be8c584643ac3418 (patch) | |
tree | bd88e8e632a3121d6232eeb9d8b342e19657bb6e /macosx/HBVideoController.m | |
parent | a66b692e29674de9c444fd54f0493d03b4900abc (diff) |
MacGui: remove some unused #import. Move again more things in HBController to HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6644 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBVideoController.m')
-rw-r--r-- | macosx/HBVideoController.m | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index 42ee4d542..8819ac93e 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -5,9 +5,8 @@ It may be used under the terms of the GNU General Public License. */ #import "HBVideoController.h" -#import "Controller.h" #import "HBAdvancedController.h" -#import "HBVideo.h" +#import "HBVideo+UIAdditions.h" #include "hb.h" @@ -67,9 +66,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; // will use the HBJob one in the future. _video = [[HBVideo alloc] init]; - // register that we are interested in changes made to the video container. - [[NSNotificationCenter defaultCenter] addObserver:self selector: @selector(containerChanged:) name:HBContainerChangedNotification object:nil]; - // Observe the advanced tab pref shown/hided state. [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:@"values.HBShowAdvancedTab" @@ -92,12 +88,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; return self; } -- (void)loadView -{ - [super loadView]; - [self switchPresetView]; -} - - (void)setEnabled:(BOOL)flag { _enabled = flag; @@ -182,11 +172,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; } } -- (void)containerChanged:(NSNotification *)aNotification -{ - self.video.container = [[aNotification userInfo][keyContainerTag] intValue]; -} - #pragma mark - Interface setup /* |