From be4787e6dc0d3b100b13ab8c7e20cc5768522cf5 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Thu, 7 Nov 2002 23:34:31 +0000 Subject: [PATCH] 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 --- Headers/gnustep/gui/NSDragging.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Headers/gnustep/gui/NSDragging.h b/Headers/gnustep/gui/NSDragging.h index 86219d3e9..6395b7bef 100644 --- a/Headers/gnustep/gui/NSDragging.h +++ b/Headers/gnustep/gui/NSDragging.h @@ -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 )sender; - (void)concludeDragOperation:(id )sender; +#ifndef STRICT_OPENSTEP +- (void)draggingEnded: (id )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