2009-03-07 21:31:44 +00:00
|
|
|
//
|
|
|
|
// SideBarController.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 6/21/08.
|
|
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2016-05-05 20:05:39 +00:00
|
|
|
#import "PlaylistController.h"
|
2009-03-07 21:31:44 +00:00
|
|
|
|
|
|
|
@interface SideViewController : NSViewController {
|
|
|
|
IBOutlet NSSplitView *splitView;
|
|
|
|
IBOutlet NSView *mainView;
|
|
|
|
IBOutlet NSView *firstResponder;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (IBAction)toggleSideView:(id)sender;
|
|
|
|
- (IBAction)toggleVertical:(id)sender;
|
|
|
|
|
|
|
|
- (void)showSideView;
|
|
|
|
- (void)hideSideView;
|
|
|
|
- (BOOL)sideViewIsHidden;
|
|
|
|
|
|
|
|
- (void)setDividerPosition:(float)position;
|
|
|
|
- (float)dividerPosition;
|
|
|
|
|
2016-05-05 20:05:39 +00:00
|
|
|
- (void)doAddToPlaylist:(NSArray *)urls origin:(URLOrigin)origin;
|
|
|
|
|
|
|
|
- (void)clear:(id)sender;
|
|
|
|
|
|
|
|
- (void)playPauseResume:(id)sender;
|
|
|
|
|
2009-03-07 21:31:44 +00:00
|
|
|
@end
|