ample/Ample/MediaViewController.h

36 lines
725 B
Objective-C

//
// MediaViewController.h
// MA2ME
//
// 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>
@property (weak) IBOutlet NSOutlineView *outlineView;
@property (nonatomic) NSDictionary *media;
@property NSArray *args;
- (IBAction)deleteAction:(id)sender;
- (IBAction)pathAction:(id)sender;
//-(void)setMedia: (NSDictionary *)media;
@end
@interface TablePathView : NSTableCellView
@property (weak) IBOutlet NSPathControl *pathControl;
@property (weak) IBOutlet NSButton *deleteButton;
@end
NS_ASSUME_NONNULL_END