43 lines
576 B
Objective-C
43 lines
576 B
Objective-C
//
|
|
// HelperController.m
|
|
// Cog
|
|
//
|
|
// Created by Vincent Spader on 6/20/08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import "SideView.h"
|
|
|
|
|
|
@implementation SideView
|
|
|
|
- (id)initWithNibNamed:(NSString *)nibName controller:(SideViewController *)c
|
|
{
|
|
self = [super init];
|
|
if (self)
|
|
{
|
|
controller = c;
|
|
|
|
[NSBundle loadNibNamed:nibName owner:self];
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
- (NSView *)view
|
|
{
|
|
return view;
|
|
}
|
|
|
|
- (NSResponder *)firstResponder
|
|
{
|
|
return firstResponder;
|
|
}
|
|
|
|
- (void) addToPlaylist:(NSArray *)urls
|
|
{
|
|
[controller addToPlaylist:urls];
|
|
}
|
|
|
|
@end
|