summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreferencesController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-16 16:12:16 +0000
committerritsuka <[email protected]>2014-08-16 16:12:16 +0000
commitcfc2be0c1e0ba120de2d798e6bbd3bd5c063cd10 (patch)
tree9f8708872e667e707d39082132dd0e1cba0d5bc0 /macosx/HBPreferencesController.m
parent4144852c1cd1bb12d2d9a483b0589a61f185240e (diff)
MacGui: forgot a file in rev 6300 commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6302 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreferencesController.m')
-rw-r--r--macosx/HBPreferencesController.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index 47bd36113..ede4ca44b 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -4,6 +4,8 @@
*/
#import "HBPreferencesController.h"
+#import "HBLanguagesSelection.h"
+
#define TOOLBAR_GENERAL @"TOOLBAR_GENERAL"
#define TOOLBAR_PICTURE @"TOOLBAR_PICTURE"
#define TOOLBAR_AUDIO @"TOOLBAR_AUDIO"
@@ -32,6 +34,8 @@
@property (readonly, nonatomic) NSArray *buildInFormatTokens;
@property (retain, nonatomic) NSArray *matches;
+@property (retain, nonatomic) HBLanguagesSelection *languages;
+
@end
@implementation HBPreferencesController
@@ -85,10 +89,18 @@
if (self = [super initWithWindowNibName:@"Preferences"])
{
NSAssert([self window], @"[HBPreferencesController init] window outlet is not connected in Preferences.nib");
+ _languages = [[HBLanguagesSelection alloc] init];
+
}
return self;
}
+- (void)dealloc
+{
+ [_languages release];
+ [super dealloc];
+}
+
/**
* -[HBPreferencesController awakeFromNib]
*