-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNSWindow+DragAndDropDelegation.h
33 lines (24 loc) · 1.23 KB
/
NSWindow+DragAndDropDelegation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// NSWindow+DragAndDropDelegation.h
// This file is part of the "SWApplicationSupport" project, and is distributed under the MIT License.
//
// Created by Samuel Williams on 3/04/08.
// Copyright 2008 Samuel Williams. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface NSObject (NSWindowDragAndDropDelegate)
- (NSDragOperation)window: (NSWindow*)window draggingEntered:(id <NSDraggingInfo>)sender;
- (NSDragOperation)window: (NSWindow*)window draggingUpdated:(id <NSDraggingInfo>)sender;
- (void)window: (NSWindow*)window draggingExited:(id <NSDraggingInfo>)sender;
- (BOOL)window: (NSWindow*)window prepareForDragOperation:(id <NSDraggingInfo>)sender;
- (BOOL)window: (NSWindow*)window performDragOperation:(id <NSDraggingInfo>)sender;
- (void)window: (NSWindow*)window concludeDragOperation:(id <NSDraggingInfo>)sender;
@end
@interface NSWindow (DragAndDropDelegation)
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender;
- (NSDragOperation)draggingUpdated:(id <NSDraggingInfo>)sender;
- (void)draggingExited:(id <NSDraggingInfo>)sender;
- (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender;
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
- (void)concludeDragOperation:(id <NSDraggingInfo>)sender;
@end