nib rearranging
[TestXSLT.git] / DragDestinationTextView.h
1
2 // $Id$
3
4 /* DragDestinationTextView */
5
6 #import <Cocoa/Cocoa.h>
7
8
9 /* This is a subclass of NSTextView that behaves identically except for drag and drop.
10  * Unlike NSTextView, this one will accept file drags, do all the highlighting etc.
11  * If the user drops the file at the end, it calls its delegate which must implement
12  * (BOOL)handleDroppedFile:(NSString *)filename forTextView:(NSTextView *)textView;
13  */
14 @interface DragDestinationTextView : NSTextView
15 {
16         NSRect previousRect;
17 }
18
19 - (BOOL)dragIsFile:(id <NSDraggingInfo>)sender;
20 - (NSString *)getFileForDrag:(id <NSDraggingInfo>)sender;
21
22
23
24
25 @end