/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */

#import <Cocoa/Cocoa.h>
#import <jni.h>

@protocol GlassDragSourceDelegate <NSObject>

- (void)startDrag:(NSDragOperation)operation;

@end

@interface GlassDragSource : NSObject

+ (void)setDelegate:(NSObject<GlassDragSourceDelegate>*)delegate;
+ (void)flushWithMask:(jint)mask;

+ (NSDragOperation)mapJavaMaskToNsOperation:(jint)mask;
+ (jint)mapNsOperationToJavaMask:(NSDragOperation)operation;

+ (void)setMask:(jint)mask;
+ (jint)getMask;

@end
