2015-10-22 05:13:26 +00:00
|
|
|
/*
|
|
|
|
* Apple // emulator for *ix
|
|
|
|
*
|
|
|
|
* This software package is subject to the GNU General Public License
|
|
|
|
* version 3 or later (your choice) as published by the Free Software
|
|
|
|
* Foundation.
|
|
|
|
*
|
|
|
|
* Copyright 2013-2015 Aaron Culliney
|
|
|
|
*
|
|
|
|
*/
|
2014-10-18 19:02:02 +00:00
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2014-10-19 19:56:30 +00:00
|
|
|
typedef void (^DiskCompletionHandler)(NSOpenPanel *openPanel, NSInteger result);
|
|
|
|
|
2014-10-18 19:02:02 +00:00
|
|
|
@interface EmulatorDiskController : NSWindowController
|
|
|
|
|
2014-10-19 19:56:30 +00:00
|
|
|
+ (NSSet *)emulatorFileTypes;
|
|
|
|
+ (NSString *)extensionForPath:(NSString *)path;
|
|
|
|
+ (void)chooseDiskForWindow:(NSWindow *)window completionHandler:(DiskCompletionHandler)handler;
|
|
|
|
|
2014-10-18 19:02:02 +00:00
|
|
|
@end
|