2008-06-21 05:09:29 +00:00
|
|
|
//
|
|
|
|
// 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;
|
|
|
|
|
2008-06-21 19:54:01 +00:00
|
|
|
[NSBundle loadNibNamed:nibName owner:self];
|
2008-06-21 05:09:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (NSView *)view
|
|
|
|
{
|
|
|
|
return view;
|
|
|
|
}
|
|
|
|
|
2008-06-21 05:42:40 +00:00
|
|
|
- (NSResponder *)firstResponder
|
|
|
|
{
|
|
|
|
return firstResponder;
|
|
|
|
}
|
|
|
|
|
2008-06-21 05:09:29 +00:00
|
|
|
- (void) addToPlaylist:(NSArray *)urls
|
|
|
|
{
|
|
|
|
[controller addToPlaylist:urls];
|
|
|
|
}
|
2008-06-21 19:54:01 +00:00
|
|
|
|
2008-06-21 05:09:29 +00:00
|
|
|
@end
|