mirror of
https://github.com/ksherlock/ample.git
synced 2024-10-31 15:04:56 +00:00
48 lines
912 B
Objective-C
48 lines
912 B
Objective-C
//
|
|
// NewSlotViewController.h
|
|
// Ample
|
|
//
|
|
// Created by Kelvin Sherlock on 9/9/2020.
|
|
// Copyright © 2020 Kelvin Sherlock. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface NewSlotViewController : NSViewController
|
|
|
|
@property NSArray *args;
|
|
@property NSDictionary *media;
|
|
@property NSSize resolution;
|
|
@property (nonatomic) NSString *machine;
|
|
@end
|
|
|
|
@interface NewSlotViewController (OutlineView) <NSOutlineViewDelegate, NSOutlineViewDataSource>
|
|
|
|
@end
|
|
|
|
@interface SlotTableCellView : NSTableCellView
|
|
|
|
@property (weak) IBOutlet NSPopUpButton *menuButton;
|
|
|
|
@end
|
|
|
|
|
|
@interface SlotItem : NSObject
|
|
@property unsigned index;
|
|
@property NSArray *children;
|
|
@property NSArray *menuItems;
|
|
@property NSInteger defaultIndex;
|
|
@property NSInteger selectedIndex;
|
|
|
|
-(NSDictionary *)selectedItem;
|
|
-(NSDictionary *)selectedMedia;
|
|
-(BOOL)hasDefault;
|
|
|
|
-(void)reset;
|
|
@end
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|