mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 18:31:53 +00:00
28 lines
626 B
C
28 lines
626 B
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
|