summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse
diff options
context:
space:
mode:
authorGrant Gayed <grant_gayed@ca.ibm.com>2012-03-30 10:34:42 -0400
committerGrant Gayed <grant_gayed@ca.ibm.com>2012-03-30 10:34:42 -0400
commitbc717da15d63d5eaeef4b3151eba80e19c10a65b (patch)
treea61eb795df786628b78aae8a80e7f906d4c95a85 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse
parent928f180e7c790ac09fbc8144c7f2076b6a66ad80 (diff)
downloadeclipse.platform.swt-bc717da15d63d5eaeef4b3151eba80e19c10a65b.tar.gz
eclipse.platform.swt-bc717da15d63d5eaeef4b3151eba80e19c10a65b.tar.xz
eclipse.platform.swt-bc717da15d63d5eaeef4b3151eba80e19c10a65b.zip
move non-gen'd natives out of gen'd section
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
index 3f425798a5..b2ea4a1518 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
@@ -305,6 +305,13 @@ public static final native int GetIndMenuItemWithCommandID(int /*long*/ mHandle,
* @param index cast=(short)
*/
public static final native void DeleteMenuItem(int /*long*/ mHandle, short index);
+/**
+ * @param image_name cast=(const char*)
+ * @param options cast=(uint32_t)
+ */
+public static final native int /*long*/ NSAddImage(byte[] image_name, int options);
+public static final int NSADDIMAGE_OPTION_RETURN_ON_ERROR = 0x1;
+public static final int NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME = 0x8;
/** @method flags=dynamic
* @param pmSessionInfo cast=(PMPrintSession)
* @param outPMPrinter cast=(PMPrinter *)
@@ -2264,8 +2271,6 @@ public static final int /*long*/ sel_yearOfCommonEra = sel_registerName("yearOfC
public static final int /*long*/ sel_zoom_ = sel_registerName("zoom:");
/** Constants */
-public static final int NSADDIMAGE_OPTION_RETURN_ON_ERROR = 0x1;
-public static final int NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME = 0x8;
public static final int NSAlertFirstButtonReturn = 1000;
public static final int NSAlertSecondButtonReturn = 1001;
public static final int NSAlertThirdButtonReturn = 1002;
@@ -3186,11 +3191,6 @@ public static final native void NSBeep();
*/
public static final native int /*long*/ NSBitsPerPixelFromDepth(int depth);
/**
- * @param image_name cast=(const char*)
- * @param options cast=(uint32_t)
- */
-public static final native int /*long*/ NSAddImage(byte[] image_name, int options);
-/**
* @param srcGState cast=(NSInteger)
* @param srcRect flags=struct
* @param destPoint flags=struct