ample/Ample/MediaViewController.h

36 lines
773 B
C
Raw Normal View History

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;
- (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;
@property (weak) IBOutlet NSButton *ejectButton;
@property (weak) IBOutlet NSImageView *dragHandle;
2020-08-21 22:38:02 +00:00
@end
NS_ASSUME_NONNULL_END