< prev index next >

src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.h

Print this page

        

@@ -30,11 +30,11 @@
 #include "jni_util.h"
 
 #import <Cocoa/Cocoa.h>
 #import <JavaNativeFoundation/JavaNativeFoundation.h>
 
-@interface NSApplicationAWT : NSApplication <NSUserNotificationCenterDelegate> {
+JNIEXPORT @interface NSApplicationAWT : NSApplication <NSUserNotificationCenterDelegate> {
     NSString *fApplicationName;
     NSWindow *eventTransparentWindow;
     NSTimeInterval dummyEventTimestamp;
     NSConditionLock* seenDummyEventLock;
 }

@@ -55,7 +55,7 @@
 // Returns whether or not application is using its default NIB
 - (BOOL)usingDefaultNib;
 
 @end
 
-void OSXAPP_SetApplicationDelegate(id <NSApplicationDelegate> delegate);
+JNIEXPORT void OSXAPP_SetApplicationDelegate(id <NSApplicationDelegate> delegate);
 
< prev index next >