cog/FileTree/FileTreeViewController.m

36 lines
695 B
Matlab
Raw Normal View History

2008-06-21 04:05:30 +00:00
//
2009-03-07 21:31:44 +00:00
// SplitViewController.m
2008-06-21 04:05:30 +00:00
// Cog
//
2009-03-07 21:31:44 +00:00
// Created by Vincent Spader on 6/20/08.
2008-06-21 04:05:30 +00:00
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import "FileTreeViewController.h"
2009-03-07 21:31:44 +00:00
#import "PlaylistLoader.h"
2008-06-21 04:05:30 +00:00
@implementation FileTreeViewController
2009-03-07 21:31:44 +00:00
- (id)init
2008-06-21 04:05:30 +00:00
{
2009-03-07 21:31:44 +00:00
return [super initWithNibName:@"FileTree" bundle:[NSBundle mainBundle]];
}
2008-06-21 04:05:30 +00:00
2009-03-07 21:31:44 +00:00
- (void)addToPlaylist:(NSArray *)urls
{
[playlistLoader willInsertURLs:urls origin:URLOriginExternal];
[playlistLoader didInsertURLs:[playlistLoader addURLs:urls sort:YES] origin:URLOriginExternal];
2008-06-21 04:05:30 +00:00
}
- (void)clear:(id)sender
{
[playlistLoader clear:sender];
}
- (void)playPauseResume:(NSObject *)id
{
[playbackController playPauseResume:id];
}
2008-06-21 04:05:30 +00:00
@end