summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/jni/macosx/AWTCocoaComponent.h
blob: 8f004c5c03babd0b6ad79a430d841b98fad4ab8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//
//  AWTCocoaComponent.h
//
//  Copyright (c) 2003 Apple Computer Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <JavaVM/jni.h>

// This is implemented by a com.apple.eawt.CocoaComponent. It receives messages
//  from java safely on the AppKit thread. See the com.apple.eawt.CocoaComponent
//  java documentation for more information.
@protocol AWTCocoaComponent
-(void)awtMessage:(jint)messageID message:(jobject)message env:(JNIEnv*)env;
@end