equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
29 #import <AppKit/AppKit.h> |
29 #import <AppKit/AppKit.h> |
30 #import <jni.h> |
30 #import <jni.h> |
31 |
31 |
32 @class ControlModel; |
32 @class ControlModel; |
33 |
33 |
|
34 @class CDropTarget; |
|
35 |
|
36 @protocol CDropTargetHolder |
|
37 - (void) setDropTarget:(CDropTarget *)target; |
|
38 @end |
|
39 |
34 @interface CDropTarget : NSObject { |
40 @interface CDropTarget : NSObject { |
35 @private |
41 @private |
36 NSView* fView; |
42 NSView<CDropTargetHolder>* fView; |
37 jobject fComponent; |
43 jobject fComponent; |
38 jobject fDropTarget; |
44 jobject fDropTarget; |
39 jobject fDropTargetContextPeer; |
45 jobject fDropTargetContextPeer; |
40 } |
46 } |
41 |
47 |