ample/Ample/MediaViewController.h
Kelvin Sherlock 5a098b9d00 double-clicking a recent disk image will try to put it in an appropriate location.
if the media class doesn't exist (eg, hard drive with no hard drive controller) it's added but not displayed.
2021-07-10 01:15:34 -04:00

38 lines
727 B
Objective-C

//
// MediaViewController.h
// Ample
//
// Created by Kelvin Sherlock on 8/20/2020.
// Copyright © 2020 Kelvin Sherlock. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Media.h"
#import "Ample.h"
NS_ASSUME_NONNULL_BEGIN
@interface MediaViewController : NSViewController <NSOutlineViewDelegate, NSOutlineViewDataSource>
@property (weak) IBOutlet NSOutlineView *outlineView;
@property (nonatomic) Media media;
@property NSArray *args;
- (IBAction)ejectAction:(id)sender;
- (IBAction)pathAction:(id)sender;
-(IBAction)resetMedia:(id)sender;
-(BOOL)smartRouteURL: (NSURL *)url;
-(BOOL)smartRouteFile: (NSString *)file;
@end
@interface MediaViewController (Bookmark) <Bookmark>
@end
NS_ASSUME_NONNULL_END