Added some new MacOSX values to NSDragOperation and some new methods.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14954 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2002-11-07 23:34:31 +00:00
parent 6f075a0a20
commit be4787e6dc

View file

@ -40,7 +40,10 @@ typedef enum _NSDragOperation {
NSDragOperationLink = 2,
NSDragOperationGeneric = 4,
NSDragOperationPrivate = 8,
NSDragOperationAll = 15
NSDragOperationMove = 16,
NSDragOperationDelete = 32,
NSDragOperationAll = 63,
NSDragOperationEvery = NSDragOperationAll
} NSDragOperation;
@protocol NSDraggingInfo
@ -84,6 +87,9 @@ typedef enum _NSDragOperation {
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
- (void)concludeDragOperation:(id <NSDraggingInfo>)sender;
#ifndef STRICT_OPENSTEP
- (void)draggingEnded: (id <NSDraggingInfo>)sender;
#endif
@end
@interface NSObject (NSDraggingSource)
@ -103,6 +109,13 @@ typedef enum _NSDragOperation {
endedAt: (NSPoint)screenPoint
deposited: (BOOL)didDeposit;
#ifndef STRICT_OPENSTEP
- (void)draggedImage: (NSImage*)image
endedAt: (NSPoint)screenPoint
operation: (NSDragOperation)operation;
- (void)draggedImage: (NSImage*)image
movedTo: (NSPoint)screenPoint;
#endif
@end
#endif // _GNUstep_H_NSDragging