1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00
CLK/OSBindings/Mac/Clock Signal/ROMRequester/CSROMReceiverView.h
Thomas Harte 8de6cd3f44 Ensures that ROM files can be dragged and dropped into Swift.
Also adjusts the main window background colour, better to bridge the time between selecting a machine and it starting.
2019-07-22 17:18:31 -04:00

28 lines
626 B
Objective-C

//
// CSROMReceiverView.h
// Clock Signal
//
// Created by Thomas Harte on 22/07/2019.
// Copyright © 2019 Thomas Harte. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class CSROMReceiverView;
@protocol CSROMReciverViewDelegate
/*!
Announces receipt of a file by drag and drop to the delegate.
@param view The view making the request.
@param URL The file URL of the received file.
*/
- (void)romReceiverView:(nonnull CSROMReceiverView *)view didReceiveFileAtURL:(nonnull NSURL *)URL;
@end
@interface CSROMReceiverView : NSView
@property(nonatomic, weak, nullable) id <CSROMReciverViewDelegate> delegate;
@end