2020-08-21 22:38:02 +00:00
|
|
|
//
|
|
|
|
// MediaViewController.h
|
2020-08-30 03:24:49 +00:00
|
|
|
// Ample
|
2020-08-21 22:38:02 +00:00
|
|
|
//
|
|
|
|
// Created by Kelvin Sherlock on 8/20/2020.
|
|
|
|
// Copyright © 2020 Kelvin Sherlock. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface MediaViewController : NSViewController <NSOutlineViewDelegate, NSOutlineViewDataSource>
|
|
|
|
|
2020-08-22 04:13:23 +00:00
|
|
|
@property (weak) IBOutlet NSOutlineView *outlineView;
|
2020-08-25 04:35:40 +00:00
|
|
|
@property (nonatomic) NSDictionary *media;
|
2020-08-26 00:13:37 +00:00
|
|
|
@property NSArray *args;
|
|
|
|
|
2020-09-05 03:39:10 +00:00
|
|
|
- (IBAction)ejectAction:(id)sender;
|
2020-08-26 00:13:37 +00:00
|
|
|
- (IBAction)pathAction:(id)sender;
|
2020-08-22 04:13:23 +00:00
|
|
|
|
2020-08-25 00:23:56 +00:00
|
|
|
|
2020-08-25 04:35:40 +00:00
|
|
|
//-(void)setMedia: (NSDictionary *)media;
|
2020-08-25 00:23:56 +00:00
|
|
|
|
2020-08-22 04:13:23 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@interface TablePathView : NSTableCellView
|
|
|
|
@property (weak) IBOutlet NSPathControl *pathControl;
|
2020-09-05 03:39:10 +00:00
|
|
|
@property (weak) IBOutlet NSButton *ejectButton;
|
2020-09-06 15:25:59 +00:00
|
|
|
@property (weak) IBOutlet NSImageView *dragHandle;
|
2020-08-21 22:38:02 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|