diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa')
213 files changed, 31983 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.sh new file mode 100755 index 0000000000..8da4914cf8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.sh @@ -0,0 +1,23 @@ +#!/bin/sh +#******************************************************************************* +# Copyright (c) 2000, 2008 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +#******************************************************************************* + +cd `dirname $0` + +OUTPUT_DIR=../../../org.eclipse.swt.cocoa.macosx + +export OUTPUT_DIR + +export MACOSX_DEPLOYMENT_TARGET=10.5 + +export ARCHS="-arch i386 -arch ppc -arch x86_64" + +make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9 diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.xml b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.xml new file mode 100755 index 0000000000..a388fd8da8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +
<!-- + Copyright (c) 2009 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation + --> + +<project default="build_cocoa_lib" basedir="../../.."> + +<target name="init"> + <eclipse.refreshLocal resource="org.eclipse.swt" depth="infinite" /> + <eclipse.incrementalBuild project="org.eclipse.swt" kind="incr" /> +</target> + +<target name="build_cocoa_lib"> + <antcall target="clean"/> + <antcall target="build_cocoa_lib_x86_and_ppc"/> + <antcall target="clean"/> + <antcall target="build_cocoa_lib_x86_64"/> +</target> + +<target name="build_cocoa_lib_x86_and_ppc" depends="init"> + <exec dir="./bin/library" executable="sh"> + <arg line="${basedir}/bin/library/build32.sh"/> + <arg value="install"/> + </exec> + <eclipse.refreshLocal resource="org.eclipse.swt.cocoa.macosx" depth="infinite" /> +</target> + +<target name="build_cocoa_lib_x86_64" depends="init"> + <exec dir="./bin/library" executable="sh"> + <arg line="${basedir}/bin/library/build64.sh"/> + <arg value="install_x86_64"/> + </exec> + <eclipse.refreshLocal resource="org.eclipse.swt.cocoa.macosx.x86_64" depth="infinite" /> +</target> + +<!-- Convert SWT 32 bit java and C source to 64 bit --> +<target name="replace.32.to.64" depends="init"> + <echo>Converting java files to 64 bit in org.eclipse.swt project</echo> + <replace dir="." includes="**/*.java" token="int /*long*/" value="long /*int*/"/> + <replace dir="." includes="**/*.java" token="int[] /*long[]*/" value="long[] /*int[]*/"/> + <replace dir="." includes="**/*.java" token="float /*double*/" value="double /*float*/"/> + <replace dir="." includes="**/*.java" token="float[] /*double[]*/" value="double[] /*float[]*/"/> + <antcall target="init"/> +</target> + +<!-- Convert SWT 64 bit java and C source to 32 bit --> +<target name="replace.64.to.32" depends="init"> + <echo>Converting java files to 32 bit in org.eclipse.swt project</echo> + <replace dir="." includes="**/*.java" token="long /*int*/" value="int /*long*/"/> + <replace dir="." includes="**/*.java" token="long[] /*int[]*/" value="int[] /*long[]*/"/> + <replace dir="." includes="**/*.java" token="double /*float*/" value="float /*double*/"/> + <replace dir="." includes="**/*.java" token="double[] /*float[]*/" value="float[] /*double[]*/"/> + <antcall target="init"/> +</target> + +<target name="clean"> + <exec dir="./bin/library" executable="sh"> + <arg line="${basedir}/bin/library/build.sh"/> + <arg line="clean"/> + </exec> +</target> + +</project>
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build32.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build32.sh new file mode 100755 index 0000000000..8c6577dee0 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build32.sh @@ -0,0 +1,23 @@ +#!/bin/sh +#******************************************************************************* +# Copyright (c) 2000, 2008 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +#******************************************************************************* + +cd `dirname $0` + +OUTPUT_DIR=../../../org.eclipse.swt.cocoa.macosx + +export OUTPUT_DIR + +export MACOSX_DEPLOYMENT_TARGET=10.5 + +export ARCHS="-arch i386 -arch ppc" + +make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9 diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build64.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build64.sh new file mode 100755 index 0000000000..4e70a71103 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build64.sh @@ -0,0 +1,23 @@ +#!/bin/sh +#******************************************************************************* +# Copyright (c) 2000, 2008 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +#******************************************************************************* + +cd `dirname $0` + +OUTPUT_DIR=../../../org.eclipse.swt.cocoa.macosx.x86_64 + +export OUTPUT_DIR + +export MACOSX_DEPLOYMENT_TARGET=10.5 + +export ARCHS="-arch x86_64" + +make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9 diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak new file mode 100755 index 0000000000..4c5d8a5027 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak @@ -0,0 +1,91 @@ +#******************************************************************************* +# Copyright (c) 2000, 2009 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +#******************************************************************************* + +# Makefile for SWT libraries on Cocoa/Mac + +include make_common.mak + +SWT_PREFIX=swt +SWTPI_PREFIX=swt-pi +SWTXULRUNNER_PREFIX=swt-xulrunner +WS_PREFIX=cocoa +SWT_VERSION=$(maj_ver)$(min_ver) +SWT_LIB=lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib +SWTPI_LIB=lib$(SWTPI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib +XULRUNNER_LIB=lib$(SWTXULRUNNER_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib + +AWT_PREFIX = swt-awt +AWT_LIB = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib +AWT_LIBS = /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/libjawt.dylib" +AWT_OBJECTS = swt_awt.o + +# Uncomment for Native Stats tool +#NATIVE_STATS = -DNATIVE_STATS + +#SWT_DEBUG = -g +CFLAGS = -c -xobjective-c -Wall $(ARCHS) -DSWT_VERSION=$(SWT_VERSION) $(NATIVE_STATS) $(SWT_DEBUG) -DUSE_ASSEMBLER -DCOCOA -DATOMIC \ + -I /System/Library/Frameworks/JavaVM.framework/Headers \ + -I /System/Library/Frameworks/Cocoa.framework/Headers +LFLAGS = -bundle $(ARCHS) -framework JavaVM -framework Cocoa -framework WebKit +SWT_OBJECTS = swt.o c.o c_stats.o callback.o +SWTPI_OBJECTS = swt.o os.o os_structs.o os_stats.o os_custom.o +XULRUNNER_OBJECTS = swt.o xpcom.o xpcom_custom.o xpcom_structs.o xpcom_stats.o xpcominit.o xpcominit_structs.o xpcominit_stats.o + +XULRUNNER_SDK = /Users/Shared/xulrunner/1.8.0.1/mozilla/dist/i386/dist/sdk +#XULRUNNER_SDK = /Users/Shared/gecko-sdk +#XULRUNNER_LIBS = -L${XULRUNNER_SDK}/lib -lxpcomglue +XULRUNNER_LIBS = $(XULRUNNER_SDK)/lib/libxpcomglue.a $(XULRUNNER_SDK)/../../../ppc/dist/sdk/lib/libxpcomglue.a +XULRUNNERCFLAGS = -c -Wall $(ARCHS) -DSWT_VERSION=$(SWT_VERSION) $(NATIVE_STATS) $(SWT_DEBUG) -DUSE_ASSEMBLER -DCOCOA -I /System/Library/Frameworks/JavaVM.framework/Headers \ + -Wno-non-virtual-dtor -include ${XULRUNNER_SDK}/include/mozilla-config.h -I${XULRUNNER_SDK}/include +XULRUNNERLFLAGS = $(LFLAGS) + +all: $(SWT_LIB) $(SWTPI_LIB) $(AWT_LIB) $(XULRUNNER_LIB) + +all_x86_64: $(SWT_LIB) $(SWTPI_LIB) $(AWT_LIB) + +.c.o: + cc $(CFLAGS) $*.c + +$(AWT_LIB): $(AWT_OBJECTS) + cc -o $(AWT_LIB) $(LFLAGS) $(AWT_OBJECTS) + +$(SWT_LIB): $(SWT_OBJECTS) + cc -o $(SWT_LIB) $(LFLAGS) $(SWT_OBJECTS) + +$(SWTPI_LIB): $(SWTPI_OBJECTS) + cc -o $(SWTPI_LIB) $(LFLAGS) $(SWTPI_OBJECTS) + +$(XULRUNNER_LIB): $(XULRUNNER_OBJECTS) + g++ -o $(XULRUNNER_LIB) $(XULRUNNERLFLAGS) $(XULRUNNER_LIBS) $(XULRUNNER_OBJECTS) + +xpcom.o: xpcom.cpp + g++ $(XULRUNNERCFLAGS) xpcom.cpp +xpcom_custom.o: xpcom_custom.cpp + g++ $(XULRUNNERCFLAGS) xpcom_custom.cpp +xpcom_structs.o: xpcom_structs.cpp + g++ $(XULRUNNERCFLAGS) xpcom_structs.cpp +xpcom_stats.o: xpcom_stats.cpp + g++ $(XULRUNNERCFLAGS) xpcom_stats.cpp +xpcominit.o: xpcominit.cpp + g++ $(XULRUNNERCFLAGS) xpcominit.cpp +xpcominit_structs.o: xpcominit_structs.cpp + g++ $(XULRUNNERCFLAGS) xpcominit_structs.cpp +xpcominit_stats.o: xpcominit_stats.cpp + g++ $(XULRUNNERCFLAGS) xpcominit_stats.cpp + +install: all + cp *.jnilib $(OUTPUT_DIR) + +install_x86_64: all_x86_64 + cp *.jnilib $(OUTPUT_DIR) + +clean: + rm -f *.jnilib *.o diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c new file mode 100644 index 0000000000..e7aac7914d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c @@ -0,0 +1,8409 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#include "swt.h" +#include "os_structs.h" +#include "os_stats.h" + +#define OS_NATIVE(func) Java_org_eclipse_swt_internal_cocoa_OS_##func + +#ifndef NO_ATSFontActivateFromFileReference +JNIEXPORT jint JNICALL OS_NATIVE(ATSFontActivateFromFileReference) + (JNIEnv *env, jclass that, jbyteArray arg0, jint arg1, jint arg2, jintLong arg3, jint arg4, jintLongArray arg5) +{ + jbyte *lparg0=NULL; + jintLong *lparg5=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, ATSFontActivateFromFileReference_FUNC); + if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; + if (arg5) if ((lparg5 = (*env)->GetIntLongArrayElements(env, arg5, NULL)) == NULL) goto fail; +/* + rc = (jint)ATSFontActivateFromFileReference((const FSRef *)lparg0, (ATSFontContext)arg1, (ATSFontFormat)arg2, (void *)arg3, (ATSOptionFlags)arg4, (ATSFontContainerRef *)lparg5); +*/ + { + LOAD_FUNCTION(fp, ATSFontActivateFromFileReference) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(const FSRef *, ATSFontContext, ATSFontFormat, void *, ATSOptionFlags, ATSFontContainerRef *))fp)((const FSRef *)lparg0, (ATSFontContext)arg1, (ATSFontFormat)arg2, (void *)arg3, (ATSOptionFlags)arg4, (ATSFontContainerRef *)lparg5); + } + } +fail: + if (arg5 && lparg5) (*env)->ReleaseIntLongArrayElements(env, arg5, lparg5, 0); + if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, ATSFontActivateFromFileReference_FUNC); + return rc; +} +#endif + +#ifndef NO_AcquireRootMenu +JNIEXPORT jintLong JNICALL OS_NATIVE(AcquireRootMenu) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, AcquireRootMenu_FUNC); +/* + rc = (jintLong)AcquireRootMenu(); +*/ + { + LOAD_FUNCTION(fp, AcquireRootMenu) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, AcquireRootMenu_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1accessibilityHitTest_1 +static jintLong CALLBACK_1accessibilityHitTest_1; +static id proc_CALLBACK_1accessibilityHitTest_1(id arg0, SEL arg1, NSPoint arg2) { + return ((id (*)(id, SEL, NSPoint*))CALLBACK_1accessibilityHitTest_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_accessibilityHitTest_(jintLong func) { + CALLBACK_1accessibilityHitTest_1 = func; + return (jintLong)proc_CALLBACK_1accessibilityHitTest_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1accessibilityHitTest_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1accessibilityHitTest_1_FUNC); + rc = (jintLong)CALLBACK_accessibilityHitTest_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1accessibilityHitTest_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1attributedSubstringFromRange_1 +static jintLong CALLBACK_1attributedSubstringFromRange_1; +static NSAttributedString* proc_CALLBACK_1attributedSubstringFromRange_1(id arg0, SEL arg1, NSRange arg2) { + return ((NSAttributedString* (*)(id, SEL, NSRange*))CALLBACK_1attributedSubstringFromRange_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_attributedSubstringFromRange_(jintLong func) { + CALLBACK_1attributedSubstringFromRange_1 = func; + return (jintLong)proc_CALLBACK_1attributedSubstringFromRange_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1attributedSubstringFromRange_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1attributedSubstringFromRange_1_FUNC); + rc = (jintLong)CALLBACK_attributedSubstringFromRange_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1attributedSubstringFromRange_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1canDragRowsWithIndexes_1atPoint_1 +static jintLong CALLBACK_1canDragRowsWithIndexes_1atPoint_1; +static BOOL proc_CALLBACK_1canDragRowsWithIndexes_1atPoint_1(id arg0, SEL arg1, NSIndexSet* arg2, NSPoint arg3) { + return ((BOOL (*)(id, SEL, NSIndexSet*, NSPoint*))CALLBACK_1canDragRowsWithIndexes_1atPoint_1)(arg0, arg1, arg2, &arg3); +} +static jintLong CALLBACK_canDragRowsWithIndexes_atPoint_(jintLong func) { + CALLBACK_1canDragRowsWithIndexes_1atPoint_1 = func; + return (jintLong)proc_CALLBACK_1canDragRowsWithIndexes_1atPoint_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1canDragRowsWithIndexes_1atPoint_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1canDragRowsWithIndexes_1atPoint_1_FUNC); + rc = (jintLong)CALLBACK_canDragRowsWithIndexes_atPoint_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1canDragRowsWithIndexes_1atPoint_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1cellSize +static jintLong CALLBACK_1cellSize; +static NSSize proc_CALLBACK_1cellSize(id arg0, SEL arg1) { + NSSize* lprc = ((NSSize* (*)(id, SEL))CALLBACK_1cellSize)(arg0, arg1); + NSSize rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSSize)); + } + return rc; +} +static jintLong CALLBACK_cellSize(jintLong func) { + CALLBACK_1cellSize = func; + return (jintLong)proc_CALLBACK_1cellSize; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1cellSize) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1cellSize_FUNC); + rc = (jintLong)CALLBACK_cellSize(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1cellSize_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1characterIndexForPoint_1 +static jintLong CALLBACK_1characterIndexForPoint_1; +static NSUInteger proc_CALLBACK_1characterIndexForPoint_1(id arg0, SEL arg1, NSPoint arg2) { + return ((NSUInteger (*)(id, SEL, NSPoint*))CALLBACK_1characterIndexForPoint_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_characterIndexForPoint_(jintLong func) { + CALLBACK_1characterIndexForPoint_1 = func; + return (jintLong)proc_CALLBACK_1characterIndexForPoint_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1characterIndexForPoint_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1characterIndexForPoint_1_FUNC); + rc = (jintLong)CALLBACK_characterIndexForPoint_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1characterIndexForPoint_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1 +static jintLong CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1; +static BOOL proc_CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1(id arg0, SEL arg1, NSEvent* arg2, NSSize arg3, BOOL arg4) { + return ((BOOL (*)(id, SEL, NSEvent*, NSSize*, BOOL))CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1)(arg0, arg1, arg2, &arg3, arg4); +} +static jintLong CALLBACK_dragSelectionWithEvent_offset_slideBack_(jintLong func) { + CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1 = func; + return (jintLong)proc_CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1_FUNC); + rc = (jintLong)CALLBACK_dragSelectionWithEvent_offset_slideBack_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1draggedImage_1beganAt_1 +static jintLong CALLBACK_1draggedImage_1beganAt_1; +static void proc_CALLBACK_1draggedImage_1beganAt_1(id arg0, SEL arg1, NSImage* arg2, NSPoint arg3) { + ((void (*)(id, SEL, NSImage*, NSPoint*))CALLBACK_1draggedImage_1beganAt_1)(arg0, arg1, arg2, &arg3); +} +static jintLong CALLBACK_draggedImage_beganAt_(jintLong func) { + CALLBACK_1draggedImage_1beganAt_1 = func; + return (jintLong)proc_CALLBACK_1draggedImage_1beganAt_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1draggedImage_1beganAt_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1draggedImage_1beganAt_1_FUNC); + rc = (jintLong)CALLBACK_draggedImage_beganAt_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1draggedImage_1beganAt_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1draggedImage_1endedAt_1operation_1 +static jintLong CALLBACK_1draggedImage_1endedAt_1operation_1; +static void proc_CALLBACK_1draggedImage_1endedAt_1operation_1(id arg0, SEL arg1, NSImage* arg2, NSPoint arg3, NSDragOperation arg4) { + ((void (*)(id, SEL, NSImage*, NSPoint*, NSDragOperation))CALLBACK_1draggedImage_1endedAt_1operation_1)(arg0, arg1, arg2, &arg3, arg4); +} +static jintLong CALLBACK_draggedImage_endedAt_operation_(jintLong func) { + CALLBACK_1draggedImage_1endedAt_1operation_1 = func; + return (jintLong)proc_CALLBACK_1draggedImage_1endedAt_1operation_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1draggedImage_1endedAt_1operation_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1draggedImage_1endedAt_1operation_1_FUNC); + rc = (jintLong)CALLBACK_draggedImage_endedAt_operation_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1draggedImage_1endedAt_1operation_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1drawImage_1withFrame_1inView_1 +static jintLong CALLBACK_1drawImage_1withFrame_1inView_1; +static void proc_CALLBACK_1drawImage_1withFrame_1inView_1(id arg0, SEL arg1, NSImage* arg2, NSRect arg3, NSView* arg4) { + ((void (*)(id, SEL, NSImage*, NSRect*, NSView*))CALLBACK_1drawImage_1withFrame_1inView_1)(arg0, arg1, arg2, &arg3, arg4); +} +static jintLong CALLBACK_drawImage_withFrame_inView_(jintLong func) { + CALLBACK_1drawImage_1withFrame_1inView_1 = func; + return (jintLong)proc_CALLBACK_1drawImage_1withFrame_1inView_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1drawImage_1withFrame_1inView_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1drawImage_1withFrame_1inView_1_FUNC); + rc = (jintLong)CALLBACK_drawImage_withFrame_inView_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1drawImage_1withFrame_1inView_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1drawInteriorWithFrame_1inView_1 +static jintLong CALLBACK_1drawInteriorWithFrame_1inView_1; +static void proc_CALLBACK_1drawInteriorWithFrame_1inView_1(id arg0, SEL arg1, NSRect arg2, NSView* arg3) { + ((void (*)(id, SEL, NSRect*, NSView*))CALLBACK_1drawInteriorWithFrame_1inView_1)(arg0, arg1, &arg2, arg3); +} +static jintLong CALLBACK_drawInteriorWithFrame_inView_(jintLong func) { + CALLBACK_1drawInteriorWithFrame_1inView_1 = func; + return (jintLong)proc_CALLBACK_1drawInteriorWithFrame_1inView_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1drawInteriorWithFrame_1inView_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1drawInteriorWithFrame_1inView_1_FUNC); + rc = (jintLong)CALLBACK_drawInteriorWithFrame_inView_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1drawInteriorWithFrame_1inView_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1drawRect_1 +static jintLong CALLBACK_1drawRect_1; +static void proc_CALLBACK_1drawRect_1(id arg0, SEL arg1, NSRect arg2) { + ((void (*)(id, SEL, NSRect*))CALLBACK_1drawRect_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_drawRect_(jintLong func) { + CALLBACK_1drawRect_1 = func; + return (jintLong)proc_CALLBACK_1drawRect_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1drawRect_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1drawRect_1_FUNC); + rc = (jintLong)CALLBACK_drawRect_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1drawRect_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1drawWithExpansionFrame_1inView_1 +static jintLong CALLBACK_1drawWithExpansionFrame_1inView_1; +static void proc_CALLBACK_1drawWithExpansionFrame_1inView_1(id arg0, SEL arg1, NSRect arg2, NSView* arg3) { + ((void (*)(id, SEL, NSRect*, NSView*))CALLBACK_1drawWithExpansionFrame_1inView_1)(arg0, arg1, &arg2, arg3); +} +static jintLong CALLBACK_drawWithExpansionFrame_inView_(jintLong func) { + CALLBACK_1drawWithExpansionFrame_1inView_1 = func; + return (jintLong)proc_CALLBACK_1drawWithExpansionFrame_1inView_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1drawWithExpansionFrame_1inView_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1drawWithExpansionFrame_1inView_1_FUNC); + rc = (jintLong)CALLBACK_drawWithExpansionFrame_inView_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1drawWithExpansionFrame_1inView_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1expansionFrameWithFrame_1inView_1 +static jintLong CALLBACK_1expansionFrameWithFrame_1inView_1; +static NSRect proc_CALLBACK_1expansionFrameWithFrame_1inView_1(id arg0, SEL arg1, NSRect arg2, NSView* arg3) { + NSRect* lprc = ((NSRect* (*)(id, SEL, NSRect*, NSView*))CALLBACK_1expansionFrameWithFrame_1inView_1)(arg0, arg1, &arg2, arg3); + NSRect rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRect)); + } + return rc; +} +static jintLong CALLBACK_expansionFrameWithFrame_inView_(jintLong func) { + CALLBACK_1expansionFrameWithFrame_1inView_1 = func; + return (jintLong)proc_CALLBACK_1expansionFrameWithFrame_1inView_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1expansionFrameWithFrame_1inView_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1expansionFrameWithFrame_1inView_1_FUNC); + rc = (jintLong)CALLBACK_expansionFrameWithFrame_inView_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1expansionFrameWithFrame_1inView_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1firstRectForCharacterRange_1 +static jintLong CALLBACK_1firstRectForCharacterRange_1; +static NSRect proc_CALLBACK_1firstRectForCharacterRange_1(id arg0, SEL arg1, NSRange arg2) { + NSRect* lprc = ((NSRect* (*)(id, SEL, NSRange*))CALLBACK_1firstRectForCharacterRange_1)(arg0, arg1, &arg2); + NSRect rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRect)); + } + return rc; +} +static jintLong CALLBACK_firstRectForCharacterRange_(jintLong func) { + CALLBACK_1firstRectForCharacterRange_1 = func; + return (jintLong)proc_CALLBACK_1firstRectForCharacterRange_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1firstRectForCharacterRange_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1firstRectForCharacterRange_1_FUNC); + rc = (jintLong)CALLBACK_firstRectForCharacterRange_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1firstRectForCharacterRange_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1highlightSelectionInClipRect_1 +static jintLong CALLBACK_1highlightSelectionInClipRect_1; +static void proc_CALLBACK_1highlightSelectionInClipRect_1(id arg0, SEL arg1, NSRect arg2) { + ((void (*)(id, SEL, NSRect*))CALLBACK_1highlightSelectionInClipRect_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_highlightSelectionInClipRect_(jintLong func) { + CALLBACK_1highlightSelectionInClipRect_1 = func; + return (jintLong)proc_CALLBACK_1highlightSelectionInClipRect_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1highlightSelectionInClipRect_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1highlightSelectionInClipRect_1_FUNC); + rc = (jintLong)CALLBACK_highlightSelectionInClipRect_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1highlightSelectionInClipRect_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1hitTestForEvent_1inRect_1ofView_1 +static jintLong CALLBACK_1hitTestForEvent_1inRect_1ofView_1; +static NSUInteger proc_CALLBACK_1hitTestForEvent_1inRect_1ofView_1(id arg0, SEL arg1, NSEvent* arg2, NSRect arg3, NSView* arg4) { + return ((NSUInteger (*)(id, SEL, NSEvent*, NSRect*, NSView*))CALLBACK_1hitTestForEvent_1inRect_1ofView_1)(arg0, arg1, arg2, &arg3, arg4); +} +static jintLong CALLBACK_hitTestForEvent_inRect_ofView_(jintLong func) { + CALLBACK_1hitTestForEvent_1inRect_1ofView_1 = func; + return (jintLong)proc_CALLBACK_1hitTestForEvent_1inRect_1ofView_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1hitTestForEvent_1inRect_1ofView_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1hitTestForEvent_1inRect_1ofView_1_FUNC); + rc = (jintLong)CALLBACK_hitTestForEvent_inRect_ofView_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1hitTestForEvent_1inRect_1ofView_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1hitTest_1 +static jintLong CALLBACK_1hitTest_1; +static NSView* proc_CALLBACK_1hitTest_1(id arg0, SEL arg1, NSPoint arg2) { + return ((NSView* (*)(id, SEL, NSPoint*))CALLBACK_1hitTest_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_hitTest_(jintLong func) { + CALLBACK_1hitTest_1 = func; + return (jintLong)proc_CALLBACK_1hitTest_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1hitTest_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1hitTest_1_FUNC); + rc = (jintLong)CALLBACK_hitTest_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1hitTest_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1imageRectForBounds_1 +static jintLong CALLBACK_1imageRectForBounds_1; +static NSRect proc_CALLBACK_1imageRectForBounds_1(id arg0, SEL arg1, NSRect arg2) { + NSRect* lprc = ((NSRect* (*)(id, SEL, NSRect*))CALLBACK_1imageRectForBounds_1)(arg0, arg1, &arg2); + NSRect rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRect)); + } + return rc; +} +static jintLong CALLBACK_imageRectForBounds_(jintLong func) { + CALLBACK_1imageRectForBounds_1 = func; + return (jintLong)proc_CALLBACK_1imageRectForBounds_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1imageRectForBounds_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1imageRectForBounds_1_FUNC); + rc = (jintLong)CALLBACK_imageRectForBounds_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1imageRectForBounds_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1markedRange +static jintLong CALLBACK_1markedRange; +static NSRange proc_CALLBACK_1markedRange(id arg0, SEL arg1) { + NSRange* lprc = ((NSRange* (*)(id, SEL))CALLBACK_1markedRange)(arg0, arg1); + NSRange rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRange)); + } + return rc; +} +static jintLong CALLBACK_markedRange(jintLong func) { + CALLBACK_1markedRange = func; + return (jintLong)proc_CALLBACK_1markedRange; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1markedRange) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1markedRange_FUNC); + rc = (jintLong)CALLBACK_markedRange(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1markedRange_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1selectedRange +static jintLong CALLBACK_1selectedRange; +static NSRange proc_CALLBACK_1selectedRange(id arg0, SEL arg1) { + NSRange* lprc = ((NSRange* (*)(id, SEL))CALLBACK_1selectedRange)(arg0, arg1); + NSRange rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRange)); + } + return rc; +} +static jintLong CALLBACK_selectedRange(jintLong func) { + CALLBACK_1selectedRange = func; + return (jintLong)proc_CALLBACK_1selectedRange; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1selectedRange) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1selectedRange_FUNC); + rc = (jintLong)CALLBACK_selectedRange(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1selectedRange_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1setFrameOrigin_1 +static jintLong CALLBACK_1setFrameOrigin_1; +static void proc_CALLBACK_1setFrameOrigin_1(id arg0, SEL arg1, NSPoint arg2) { + ((void (*)(id, SEL, NSPoint*))CALLBACK_1setFrameOrigin_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_setFrameOrigin_(jintLong func) { + CALLBACK_1setFrameOrigin_1 = func; + return (jintLong)proc_CALLBACK_1setFrameOrigin_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1setFrameOrigin_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1setFrameOrigin_1_FUNC); + rc = (jintLong)CALLBACK_setFrameOrigin_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1setFrameOrigin_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1setFrameSize_1 +static jintLong CALLBACK_1setFrameSize_1; +static void proc_CALLBACK_1setFrameSize_1(id arg0, SEL arg1, NSSize arg2) { + ((void (*)(id, SEL, NSSize*))CALLBACK_1setFrameSize_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_setFrameSize_(jintLong func) { + CALLBACK_1setFrameSize_1 = func; + return (jintLong)proc_CALLBACK_1setFrameSize_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1setFrameSize_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1setFrameSize_1_FUNC); + rc = (jintLong)CALLBACK_setFrameSize_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1setFrameSize_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1setFrame_1 +static jintLong CALLBACK_1setFrame_1; +static void proc_CALLBACK_1setFrame_1(id arg0, SEL arg1, NSRect arg2) { + ((void (*)(id, SEL, NSRect*))CALLBACK_1setFrame_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_setFrame_(jintLong func) { + CALLBACK_1setFrame_1 = func; + return (jintLong)proc_CALLBACK_1setFrame_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1setFrame_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1setFrame_1_FUNC); + rc = (jintLong)CALLBACK_setFrame_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1setFrame_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1setMarkedText_1selectedRange_1 +static jintLong CALLBACK_1setMarkedText_1selectedRange_1; +static void proc_CALLBACK_1setMarkedText_1selectedRange_1(id arg0, SEL arg1, id arg2, NSRange arg3) { + ((void (*)(id, SEL, id, NSRange*))CALLBACK_1setMarkedText_1selectedRange_1)(arg0, arg1, arg2, &arg3); +} +static jintLong CALLBACK_setMarkedText_selectedRange_(jintLong func) { + CALLBACK_1setMarkedText_1selectedRange_1 = func; + return (jintLong)proc_CALLBACK_1setMarkedText_1selectedRange_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1setMarkedText_1selectedRange_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1setMarkedText_1selectedRange_1_FUNC); + rc = (jintLong)CALLBACK_setMarkedText_selectedRange_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1setMarkedText_1selectedRange_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1setNeedsDisplayInRect_1 +static jintLong CALLBACK_1setNeedsDisplayInRect_1; +static void proc_CALLBACK_1setNeedsDisplayInRect_1(id arg0, SEL arg1, NSRect arg2) { + ((void (*)(id, SEL, NSRect*))CALLBACK_1setNeedsDisplayInRect_1)(arg0, arg1, &arg2); +} +static jintLong CALLBACK_setNeedsDisplayInRect_(jintLong func) { + CALLBACK_1setNeedsDisplayInRect_1 = func; + return (jintLong)proc_CALLBACK_1setNeedsDisplayInRect_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1setNeedsDisplayInRect_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1setNeedsDisplayInRect_1_FUNC); + rc = (jintLong)CALLBACK_setNeedsDisplayInRect_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1setNeedsDisplayInRect_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1shouldChangeTextInRange_1replacementString_1 +static jintLong CALLBACK_1shouldChangeTextInRange_1replacementString_1; +static BOOL proc_CALLBACK_1shouldChangeTextInRange_1replacementString_1(id arg0, SEL arg1, NSRange arg2, NSString* arg3) { + return ((BOOL (*)(id, SEL, NSRange*, NSString*))CALLBACK_1shouldChangeTextInRange_1replacementString_1)(arg0, arg1, &arg2, arg3); +} +static jintLong CALLBACK_shouldChangeTextInRange_replacementString_(jintLong func) { + CALLBACK_1shouldChangeTextInRange_1replacementString_1 = func; + return (jintLong)proc_CALLBACK_1shouldChangeTextInRange_1replacementString_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1shouldChangeTextInRange_1replacementString_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1shouldChangeTextInRange_1replacementString_1_FUNC); + rc = (jintLong)CALLBACK_shouldChangeTextInRange_replacementString_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1shouldChangeTextInRange_1replacementString_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1 +static jintLong CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1; +static NSRange proc_CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1(id arg0, SEL arg1, NSTextView* arg2, NSRange arg3, NSRange arg4) { + NSRange* lprc = ((NSRange* (*)(id, SEL, NSTextView*, NSRange*, NSRange*))CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1)(arg0, arg1, arg2, &arg3, &arg4); + NSRange rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRange)); + } + return rc; +} +static jintLong CALLBACK_textView_willChangeSelectionFromCharacterRange_toCharacterRange_(jintLong func) { + CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1 = func; + return (jintLong)proc_CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1_FUNC); + rc = (jintLong)CALLBACK_textView_willChangeSelectionFromCharacterRange_toCharacterRange_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1titleRectForBounds_1 +static jintLong CALLBACK_1titleRectForBounds_1; +static NSRect proc_CALLBACK_1titleRectForBounds_1(id arg0, SEL arg1, NSRect arg2) { + NSRect* lprc = ((NSRect* (*)(id, SEL, NSRect*))CALLBACK_1titleRectForBounds_1)(arg0, arg1, &arg2); + NSRect rc; + if (lprc) { + rc = *lprc; + free(lprc); + } else { + memset(&rc, 0, sizeof(NSRect)); + } + return rc; +} +static jintLong CALLBACK_titleRectForBounds_(jintLong func) { + CALLBACK_1titleRectForBounds_1 = func; + return (jintLong)proc_CALLBACK_1titleRectForBounds_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1titleRectForBounds_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1titleRectForBounds_1_FUNC); + rc = (jintLong)CALLBACK_titleRectForBounds_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1titleRectForBounds_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1view_1stringForToolTip_1point_1userData_1 +static jintLong CALLBACK_1view_1stringForToolTip_1point_1userData_1; +static NSString* proc_CALLBACK_1view_1stringForToolTip_1point_1userData_1(id arg0, SEL arg1, NSView* arg2, NSToolTipTag arg3, NSPoint arg4, void* arg5) { + return ((NSString* (*)(id, SEL, NSView*, NSToolTipTag, NSPoint*, void*))CALLBACK_1view_1stringForToolTip_1point_1userData_1)(arg0, arg1, arg2, arg3, &arg4, arg5); +} +static jintLong CALLBACK_view_stringForToolTip_point_userData_(jintLong func) { + CALLBACK_1view_1stringForToolTip_1point_1userData_1 = func; + return (jintLong)proc_CALLBACK_1view_1stringForToolTip_1point_1userData_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1view_1stringForToolTip_1point_1userData_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1view_1stringForToolTip_1point_1userData_1_FUNC); + rc = (jintLong)CALLBACK_view_stringForToolTip_point_userData_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1view_1stringForToolTip_1point_1userData_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CALLBACK_1webView_1setFrame_1 +static jintLong CALLBACK_1webView_1setFrame_1; +static void proc_CALLBACK_1webView_1setFrame_1(id arg0, SEL arg1, WebView* arg2, NSRect arg3) { + ((void (*)(id, SEL, WebView*, NSRect*))CALLBACK_1webView_1setFrame_1)(arg0, arg1, arg2, &arg3); +} +static jintLong CALLBACK_webView_setFrame_(jintLong func) { + CALLBACK_1webView_1setFrame_1 = func; + return (jintLong)proc_CALLBACK_1webView_1setFrame_1; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(CALLBACK_1webView_1setFrame_1) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CALLBACK_1webView_1setFrame_1_FUNC); + rc = (jintLong)CALLBACK_webView_setFrame_(arg0); + OS_NATIVE_EXIT(env, that, CALLBACK_1webView_1setFrame_1_FUNC); + return rc; +} +#endif + +#ifndef NO_CFDataGetBytePtr +JNIEXPORT jintLong JNICALL OS_NATIVE(CFDataGetBytePtr) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CFDataGetBytePtr_FUNC); + rc = (jintLong)CFDataGetBytePtr((CFDataRef)arg0); + OS_NATIVE_EXIT(env, that, CFDataGetBytePtr_FUNC); + return rc; +} +#endif + +#ifndef NO_CFDataGetLength +JNIEXPORT jintLong JNICALL OS_NATIVE(CFDataGetLength) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CFDataGetLength_FUNC); + rc = (jintLong)CFDataGetLength((CFDataRef)arg0); + OS_NATIVE_EXIT(env, that, CFDataGetLength_FUNC); + return rc; +} +#endif + +#ifndef NO_CFRelease +JNIEXPORT void JNICALL OS_NATIVE(CFRelease) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CFRelease_FUNC); + CFRelease((CFTypeRef)arg0); + OS_NATIVE_EXIT(env, that, CFRelease_FUNC); +} +#endif + +#ifndef NO_CFRunLoopAddObserver +JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopAddObserver) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, CFRunLoopAddObserver_FUNC); + CFRunLoopAddObserver((CFRunLoopRef)arg0, (CFRunLoopObserverRef)arg1, (CFStringRef)arg2); + OS_NATIVE_EXIT(env, that, CFRunLoopAddObserver_FUNC); +} +#endif + +#ifndef NO_CFRunLoopGetCurrent +JNIEXPORT jintLong JNICALL OS_NATIVE(CFRunLoopGetCurrent) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CFRunLoopGetCurrent_FUNC); + rc = (jintLong)CFRunLoopGetCurrent(); + OS_NATIVE_EXIT(env, that, CFRunLoopGetCurrent_FUNC); + return rc; +} +#endif + +#ifndef NO_CFRunLoopObserverCreate +JNIEXPORT jintLong JNICALL OS_NATIVE(CFRunLoopObserverCreate) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2, jintLong arg3, jintLong arg4, jintLong arg5) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CFRunLoopObserverCreate_FUNC); + rc = (jintLong)CFRunLoopObserverCreate((CFAllocatorRef)arg0, (CFOptionFlags)arg1, (Boolean)arg2, (CFIndex)arg3, (CFRunLoopObserverCallBack)arg4, (CFRunLoopObserverContext*)arg5); + OS_NATIVE_EXIT(env, that, CFRunLoopObserverCreate_FUNC); + return rc; +} +#endif + +#ifndef NO_CFRunLoopObserverInvalidate +JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopObserverInvalidate) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CFRunLoopObserverInvalidate_FUNC); + CFRunLoopObserverInvalidate((CFRunLoopObserverRef)arg0); + OS_NATIVE_EXIT(env, that, CFRunLoopObserverInvalidate_FUNC); +} +#endif + +#ifndef NO_CFURLCreateStringByAddingPercentEscapes +JNIEXPORT jintLong JNICALL OS_NATIVE(CFURLCreateStringByAddingPercentEscapes) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jint arg4) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CFURLCreateStringByAddingPercentEscapes_FUNC); + rc = (jintLong)CFURLCreateStringByAddingPercentEscapes((CFAllocatorRef)arg0, (CFStringRef)arg1, (CFStringRef)arg2, (CFStringRef)arg3, (CFStringEncoding)arg4); + OS_NATIVE_EXIT(env, that, CFURLCreateStringByAddingPercentEscapes_FUNC); + return rc; +} +#endif + +#ifndef NO_CGBitmapContextCreate +JNIEXPORT jintLong JNICALL OS_NATIVE(CGBitmapContextCreate) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jint arg6) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGBitmapContextCreate_FUNC); + rc = (jintLong)CGBitmapContextCreate((void*)arg0, (size_t)arg1, (size_t)arg2, (size_t)arg3, (size_t)arg4, (CGColorSpaceRef)arg5, (CGBitmapInfo)arg6); + OS_NATIVE_EXIT(env, that, CGBitmapContextCreate_FUNC); + return rc; +} +#endif + +#ifndef NO_CGBitmapContextCreateImage +JNIEXPORT jintLong JNICALL OS_NATIVE(CGBitmapContextCreateImage) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGBitmapContextCreateImage_FUNC); + rc = (jintLong)CGBitmapContextCreateImage((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGBitmapContextCreateImage_FUNC); + return rc; +} +#endif + +#ifndef NO_CGBitmapContextGetData +JNIEXPORT jintLong JNICALL OS_NATIVE(CGBitmapContextGetData) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGBitmapContextGetData_FUNC); + rc = (jintLong)CGBitmapContextGetData((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGBitmapContextGetData_FUNC); + return rc; +} +#endif + +#ifndef NO_CGColorSpaceCreateDeviceRGB +JNIEXPORT jintLong JNICALL OS_NATIVE(CGColorSpaceCreateDeviceRGB) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGColorSpaceCreateDeviceRGB_FUNC); + rc = (jintLong)CGColorSpaceCreateDeviceRGB(); + OS_NATIVE_EXIT(env, that, CGColorSpaceCreateDeviceRGB_FUNC); + return rc; +} +#endif + +#ifndef NO_CGColorSpaceRelease +JNIEXPORT void JNICALL OS_NATIVE(CGColorSpaceRelease) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGColorSpaceRelease_FUNC); + CGColorSpaceRelease((CGColorSpaceRef)arg0); + OS_NATIVE_EXIT(env, that, CGColorSpaceRelease_FUNC); +} +#endif + +#ifndef NO_CGContextAddPath +JNIEXPORT void JNICALL OS_NATIVE(CGContextAddPath) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextAddPath_FUNC); + CGContextAddPath((CGContextRef)arg0, (CGPathRef)arg1); + OS_NATIVE_EXIT(env, that, CGContextAddPath_FUNC); +} +#endif + +#ifndef NO_CGContextCopyPath +JNIEXPORT jintLong JNICALL OS_NATIVE(CGContextCopyPath) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGContextCopyPath_FUNC); +/* + rc = (jintLong)CGContextCopyPath(arg0); +*/ + { + LOAD_FUNCTION(fp, CGContextCopyPath) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); + } + } + OS_NATIVE_EXIT(env, that, CGContextCopyPath_FUNC); + return rc; +} +#endif + +#ifndef NO_CGContextCopyWindowContentsToRect +JNIEXPORT void JNICALL OS_NATIVE(CGContextCopyWindowContentsToRect) + (JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2, jintLong arg3, jobject arg4) +{ + CGRect _arg1, *lparg1=NULL; + CGRect _arg4, *lparg4=NULL; + OS_NATIVE_ENTER(env, that, CGContextCopyWindowContentsToRect_FUNC); + if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail; + if (arg4) if ((lparg4 = getCGRectFields(env, arg4, &_arg4)) == NULL) goto fail; +/* + CGContextCopyWindowContentsToRect(arg0, *lparg1, arg2, arg3, *lparg4); +*/ + { + LOAD_FUNCTION(fp, CGContextCopyWindowContentsToRect) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, CGRect, jintLong, jintLong, CGRect))fp)(arg0, *lparg1, arg2, arg3, *lparg4); + } + } +fail: + if (arg4 && lparg4) setCGRectFields(env, arg4, lparg4); + if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, CGContextCopyWindowContentsToRect_FUNC); +} +#endif + +#ifndef NO_CGContextDrawImage +JNIEXPORT void JNICALL OS_NATIVE(CGContextDrawImage) + (JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +{ + CGRect _arg1, *lparg1=NULL; + OS_NATIVE_ENTER(env, that, CGContextDrawImage_FUNC); + if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail; + CGContextDrawImage((CGContextRef)arg0, *lparg1, (CGImageRef)arg2); +fail: + if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, CGContextDrawImage_FUNC); +} +#endif + +#ifndef NO_CGContextRelease +JNIEXPORT void JNICALL OS_NATIVE(CGContextRelease) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGContextRelease_FUNC); + CGContextRelease((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGContextRelease_FUNC); +} +#endif + +#ifndef NO_CGContextReplacePathWithStrokedPath +JNIEXPORT void JNICALL OS_NATIVE(CGContextReplacePathWithStrokedPath) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGContextReplacePathWithStrokedPath_FUNC); + CGContextReplacePathWithStrokedPath((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGContextReplacePathWithStrokedPath_FUNC); +} +#endif + +#ifndef NO_CGContextRestoreGState +JNIEXPORT void JNICALL OS_NATIVE(CGContextRestoreGState) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGContextRestoreGState_FUNC); + CGContextRestoreGState((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGContextRestoreGState_FUNC); +} +#endif + +#ifndef NO_CGContextSaveGState +JNIEXPORT void JNICALL OS_NATIVE(CGContextSaveGState) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGContextSaveGState_FUNC); + CGContextSaveGState((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGContextSaveGState_FUNC); +} +#endif + +#ifndef NO_CGContextScaleCTM +JNIEXPORT void JNICALL OS_NATIVE(CGContextScaleCTM) + (JNIEnv *env, jclass that, jintLong arg0, jfloatDouble arg1, jfloatDouble arg2) +{ + OS_NATIVE_ENTER(env, that, CGContextScaleCTM_FUNC); + CGContextScaleCTM((CGContextRef)arg0, (CGFloat)arg1, (CGFloat)arg2); + OS_NATIVE_EXIT(env, that, CGContextScaleCTM_FUNC); +} +#endif + +#ifndef NO_CGContextSetBlendMode +JNIEXPORT void JNICALL OS_NATIVE(CGContextSetBlendMode) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextSetBlendMode_FUNC); + CGContextSetBlendMode((CGContextRef)arg0, (CGBlendMode)arg1); + OS_NATIVE_EXIT(env, that, CGContextSetBlendMode_FUNC); +} +#endif + +#ifndef NO_CGContextSetLineCap +JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineCap) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextSetLineCap_FUNC); + CGContextSetLineCap((CGContextRef)arg0, (CGLineCap)arg1); + OS_NATIVE_EXIT(env, that, CGContextSetLineCap_FUNC); +} +#endif + +#ifndef NO_CGContextSetLineDash +JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineDash) + (JNIEnv *env, jclass that, jintLong arg0, jfloatDouble arg1, jfloatArray arg2, jintLong arg3) +{ + jfloat *lparg2=NULL; + OS_NATIVE_ENTER(env, that, CGContextSetLineDash_FUNC); + if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail; + CGContextSetLineDash((CGContextRef)arg0, (CGFloat)arg1, (CGFloat*)lparg2, (size_t)arg3); +fail: + if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0); + OS_NATIVE_EXIT(env, that, CGContextSetLineDash_FUNC); +} +#endif + +#ifndef NO_CGContextSetLineJoin +JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineJoin) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextSetLineJoin_FUNC); + CGContextSetLineJoin((CGContextRef)arg0, (CGLineJoin)arg1); + OS_NATIVE_EXIT(env, that, CGContextSetLineJoin_FUNC); +} +#endif + +#ifndef NO_CGContextSetLineWidth +JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineWidth) + (JNIEnv *env, jclass that, jintLong arg0, jfloatDouble arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextSetLineWidth_FUNC); + CGContextSetLineWidth((CGContextRef)arg0, (CGFloat)arg1); + OS_NATIVE_EXIT(env, that, CGContextSetLineWidth_FUNC); +} +#endif + +#ifndef NO_CGContextSetMiterLimit +JNIEXPORT void JNICALL OS_NATIVE(CGContextSetMiterLimit) + (JNIEnv *env, jclass that, jintLong arg0, jfloatDouble arg1) +{ + OS_NATIVE_ENTER(env, that, CGContextSetMiterLimit_FUNC); + CGContextSetMiterLimit((CGContextRef)arg0, (CGFloat)arg1); + OS_NATIVE_EXIT(env, that, CGContextSetMiterLimit_FUNC); +} +#endif + +#ifndef NO_CGContextStrokePath +JNIEXPORT void JNICALL OS_NATIVE(CGContextStrokePath) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGContextStrokePath_FUNC); + CGContextStrokePath((CGContextRef)arg0); + OS_NATIVE_EXIT(env, that, CGContextStrokePath_FUNC); +} +#endif + +#ifndef NO_CGContextTranslateCTM +JNIEXPORT void JNICALL OS_NATIVE(CGContextTranslateCTM) + (JNIEnv *env, jclass that, jintLong arg0, jfloatDouble arg1, jfloatDouble arg2) +{ + OS_NATIVE_ENTER(env, that, CGContextTranslateCTM_FUNC); + CGContextTranslateCTM((CGContextRef)arg0, (CGFloat)arg1, (CGFloat)arg2); + OS_NATIVE_EXIT(env, that, CGContextTranslateCTM_FUNC); +} +#endif + +#ifndef NO_CGDataProviderCreateWithData +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDataProviderCreateWithData) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDataProviderCreateWithData_FUNC); + rc = (jintLong)CGDataProviderCreateWithData((void*)arg0, (void*)arg1, (size_t)arg2, (CGDataProviderReleaseDataCallback)arg3); + OS_NATIVE_EXIT(env, that, CGDataProviderCreateWithData_FUNC); + return rc; +} +#endif + +#ifndef NO_CGDataProviderRelease +JNIEXPORT void JNICALL OS_NATIVE(CGDataProviderRelease) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGDataProviderRelease_FUNC); + CGDataProviderRelease((CGDataProviderRef)arg0); + OS_NATIVE_EXIT(env, that, CGDataProviderRelease_FUNC); +} +#endif + +#ifndef NO_CGDisplayBaseAddress +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDisplayBaseAddress) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDisplayBaseAddress_FUNC); + rc = (jintLong)CGDisplayBaseAddress((CGDirectDisplayID)arg0); + OS_NATIVE_EXIT(env, that, CGDisplayBaseAddress_FUNC); + return rc; +} +#endif + +#ifndef NO_CGDisplayBitsPerPixel +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDisplayBitsPerPixel) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDisplayBitsPerPixel_FUNC); + rc = (jintLong)CGDisplayBitsPerPixel((CGDirectDisplayID)arg0); + OS_NATIVE_EXIT(env, that, CGDisplayBitsPerPixel_FUNC); + return rc; +} +#endif + +#ifndef NO_CGDisplayBitsPerSample +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDisplayBitsPerSample) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDisplayBitsPerSample_FUNC); + rc = (jintLong)CGDisplayBitsPerSample((CGDirectDisplayID)arg0); + OS_NATIVE_EXIT(env, that, CGDisplayBitsPerSample_FUNC); + return rc; +} +#endif + +#ifndef NO_CGDisplayBytesPerRow +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDisplayBytesPerRow) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDisplayBytesPerRow_FUNC); + rc = (jintLong)CGDisplayBytesPerRow((CGDirectDisplayID)arg0); + OS_NATIVE_EXIT(env, that, CGDisplayBytesPerRow_FUNC); + return rc; +} +#endif + +#ifndef NO_CGDisplayPixelsHigh +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDisplayPixelsHigh) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDisplayPixelsHigh_FUNC); + rc = (jintLong)CGDisplayPixelsHigh((CGDirectDisplayID)arg0); + OS_NATIVE_EXIT(env, that, CGDisplayPixelsHigh_FUNC); + return rc; +} +#endif + +#ifndef NO_CGDisplayPixelsWide +JNIEXPORT jintLong JNICALL OS_NATIVE(CGDisplayPixelsWide) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGDisplayPixelsWide_FUNC); + rc = (jintLong)CGDisplayPixelsWide((CGDirectDisplayID)arg0); + OS_NATIVE_EXIT(env, that, CGDisplayPixelsWide_FUNC); + return rc; +} +#endif + +#ifndef NO_CGEnableEventStateCombining +JNIEXPORT jint JNICALL OS_NATIVE(CGEnableEventStateCombining) + (JNIEnv *env, jclass that, jint arg0) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGEnableEventStateCombining_FUNC); + rc = (jint)CGEnableEventStateCombining((boolean_t)arg0); + OS_NATIVE_EXIT(env, that, CGEnableEventStateCombining_FUNC); + return rc; +} +#endif + +#ifndef NO_CGEventCreateKeyboardEvent +JNIEXPORT jintLong JNICALL OS_NATIVE(CGEventCreateKeyboardEvent) + (JNIEnv *env, jclass that, jintLong arg0, jshort arg1, jboolean arg2) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGEventCreateKeyboardEvent_FUNC); + rc = (jintLong)CGEventCreateKeyboardEvent((CGEventSourceRef)arg0, (CGKeyCode)arg1, (_Bool)arg2); + OS_NATIVE_EXIT(env, that, CGEventCreateKeyboardEvent_FUNC); + return rc; +} +#endif + +#ifndef NO_CGEventGetIntegerValueField +JNIEXPORT jlong JNICALL OS_NATIVE(CGEventGetIntegerValueField) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1) +{ + jlong rc = 0; + OS_NATIVE_ENTER(env, that, CGEventGetIntegerValueField_FUNC); + rc = (jlong)CGEventGetIntegerValueField((CGEventRef)arg0, (CGEventField)arg1); + OS_NATIVE_EXIT(env, that, CGEventGetIntegerValueField_FUNC); + return rc; +} +#endif + +#ifndef NO_CGEventKeyboardSetUnicodeString +JNIEXPORT void JNICALL OS_NATIVE(CGEventKeyboardSetUnicodeString) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2) +{ + jchar *lparg2=NULL; + OS_NATIVE_ENTER(env, that, CGEventKeyboardSetUnicodeString_FUNC); + if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail; + CGEventKeyboardSetUnicodeString((CGEventRef)arg0, (UniCharCount)arg1, (UniChar*)lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0); + OS_NATIVE_EXIT(env, that, CGEventKeyboardSetUnicodeString_FUNC); +} +#endif + +#ifndef NO_CGEventPost +JNIEXPORT void JNICALL OS_NATIVE(CGEventPost) + (JNIEnv *env, jclass that, jint arg0, jintLong arg1) +{ + OS_NATIVE_ENTER(env, that, CGEventPost_FUNC); + CGEventPost((CGEventTapLocation)arg0, (CGEventRef)arg1); + OS_NATIVE_EXIT(env, that, CGEventPost_FUNC); +} +#endif + +#ifndef NO_CGGetDisplaysWithRect +JNIEXPORT jint JNICALL OS_NATIVE(CGGetDisplaysWithRect) + (JNIEnv *env, jclass that, jobject arg0, jint arg1, jintLong arg2, jintLong arg3) +{ + CGRect _arg0, *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGGetDisplaysWithRect_FUNC); + if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jint)CGGetDisplaysWithRect(*lparg0, (CGDisplayCount)arg1, (CGDirectDisplayID*)arg2, (CGDisplayCount*)arg3); +fail: + if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, CGGetDisplaysWithRect_FUNC); + return rc; +} +#endif + +#ifndef NO_CGImageCreate +JNIEXPORT jintLong JNICALL OS_NATIVE(CGImageCreate) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jint arg6, jintLong arg7, jintLong arg8, jboolean arg9, jint arg10) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGImageCreate_FUNC); + rc = (jintLong)CGImageCreate((size_t)arg0, (size_t)arg1, (size_t)arg2, (size_t)arg3, (size_t)arg4, (CGColorSpaceRef)arg5, (CGBitmapInfo)arg6, (CGDataProviderRef)arg7, (CGFloat*)arg8, (_Bool)arg9, (CGColorRenderingIntent)arg10); + OS_NATIVE_EXIT(env, that, CGImageCreate_FUNC); + return rc; +} +#endif + +#ifndef NO_CGImageGetHeight +JNIEXPORT jintLong JNICALL OS_NATIVE(CGImageGetHeight) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGImageGetHeight_FUNC); + rc = (jintLong)CGImageGetHeight((CGImageRef)arg0); + OS_NATIVE_EXIT(env, that, CGImageGetHeight_FUNC); + return rc; +} +#endif + +#ifndef NO_CGImageGetWidth +JNIEXPORT jintLong JNICALL OS_NATIVE(CGImageGetWidth) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGImageGetWidth_FUNC); + rc = (jintLong)CGImageGetWidth((CGImageRef)arg0); + OS_NATIVE_EXIT(env, that, CGImageGetWidth_FUNC); + return rc; +} +#endif + +#ifndef NO_CGImageRelease +JNIEXPORT void JNICALL OS_NATIVE(CGImageRelease) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGImageRelease_FUNC); + CGImageRelease((CGImageRef)arg0); + OS_NATIVE_EXIT(env, that, CGImageRelease_FUNC); +} +#endif + +#ifndef NO_CGPathAddCurveToPoint +JNIEXPORT void JNICALL OS_NATIVE(CGPathAddCurveToPoint) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5, jfloatDouble arg6, jfloatDouble arg7) +{ + OS_NATIVE_ENTER(env, that, CGPathAddCurveToPoint_FUNC); + CGPathAddCurveToPoint((CGMutablePathRef)arg0, (CGAffineTransform*)arg1, (CGFloat)arg2, (CGFloat)arg3, (CGFloat)arg4, (CGFloat)arg5, (CGFloat)arg6, (CGFloat)arg7); + OS_NATIVE_EXIT(env, that, CGPathAddCurveToPoint_FUNC); +} +#endif + +#ifndef NO_CGPathAddLineToPoint +JNIEXPORT void JNICALL OS_NATIVE(CGPathAddLineToPoint) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3) +{ + OS_NATIVE_ENTER(env, that, CGPathAddLineToPoint_FUNC); + CGPathAddLineToPoint((CGMutablePathRef)arg0, (CGAffineTransform*)arg1, (CGFloat)arg2, (CGFloat)arg3); + OS_NATIVE_EXIT(env, that, CGPathAddLineToPoint_FUNC); +} +#endif + +#ifndef NO_CGPathApply +JNIEXPORT void JNICALL OS_NATIVE(CGPathApply) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, CGPathApply_FUNC); + CGPathApply((CGPathRef)arg0, (void*)arg1, (CGPathApplierFunction)arg2); + OS_NATIVE_EXIT(env, that, CGPathApply_FUNC); +} +#endif + +#ifndef NO_CGPathCloseSubpath +JNIEXPORT void JNICALL OS_NATIVE(CGPathCloseSubpath) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGPathCloseSubpath_FUNC); + CGPathCloseSubpath((CGMutablePathRef)arg0); + OS_NATIVE_EXIT(env, that, CGPathCloseSubpath_FUNC); +} +#endif + +#ifndef NO_CGPathCreateCopy +JNIEXPORT jintLong JNICALL OS_NATIVE(CGPathCreateCopy) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGPathCreateCopy_FUNC); + rc = (jintLong)CGPathCreateCopy((CGPathRef)arg0); + OS_NATIVE_EXIT(env, that, CGPathCreateCopy_FUNC); + return rc; +} +#endif + +#ifndef NO_CGPathCreateMutable +JNIEXPORT jintLong JNICALL OS_NATIVE(CGPathCreateMutable) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, CGPathCreateMutable_FUNC); + rc = (jintLong)CGPathCreateMutable(); + OS_NATIVE_EXIT(env, that, CGPathCreateMutable_FUNC); + return rc; +} +#endif + +#ifndef NO_CGPathElement_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(CGPathElement_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGPathElement_1sizeof_FUNC); + rc = (jint)CGPathElement_sizeof(); + OS_NATIVE_EXIT(env, that, CGPathElement_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_CGPathMoveToPoint +JNIEXPORT void JNICALL OS_NATIVE(CGPathMoveToPoint) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3) +{ + OS_NATIVE_ENTER(env, that, CGPathMoveToPoint_FUNC); + CGPathMoveToPoint((CGMutablePathRef)arg0, (CGAffineTransform*)arg1, (CGFloat)arg2, (CGFloat)arg3); + OS_NATIVE_EXIT(env, that, CGPathMoveToPoint_FUNC); +} +#endif + +#ifndef NO_CGPathRelease +JNIEXPORT void JNICALL OS_NATIVE(CGPathRelease) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CGPathRelease_FUNC); + CGPathRelease((CGPathRef)arg0); + OS_NATIVE_EXIT(env, that, CGPathRelease_FUNC); +} +#endif + +#ifndef NO_CGPoint_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(CGPoint_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGPoint_1sizeof_FUNC); + rc = (jint)CGPoint_sizeof(); + OS_NATIVE_EXIT(env, that, CGPoint_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_CGPostKeyboardEvent +JNIEXPORT jint JNICALL OS_NATIVE(CGPostKeyboardEvent) + (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jboolean arg2) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGPostKeyboardEvent_FUNC); + rc = (jint)CGPostKeyboardEvent((CGCharCode)arg0, (CGKeyCode)arg1, (boolean_t)arg2); + OS_NATIVE_EXIT(env, that, CGPostKeyboardEvent_FUNC); + return rc; +} +#endif + +#ifndef NO_CGPostMouseEvent +JNIEXPORT jint JNICALL OS_NATIVE(CGPostMouseEvent) + (JNIEnv *env, jclass that, jobject arg0, jboolean arg1, jint arg2, jboolean arg3, jboolean arg4, jboolean arg5, jboolean arg6, jboolean arg7) +{ + CGPoint _arg0, *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGPostMouseEvent_FUNC); + if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jint)CGPostMouseEvent(*lparg0, (boolean_t)arg1, (CGButtonCount)arg2, (boolean_t)arg3, arg4, arg5, arg6, arg7); +fail: + if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, CGPostMouseEvent_FUNC); + return rc; +} +#endif + +#ifndef NO_CGPostScrollWheelEvent +JNIEXPORT jint JNICALL OS_NATIVE(CGPostScrollWheelEvent) + (JNIEnv *env, jclass that, jint arg0, jint arg1) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGPostScrollWheelEvent_FUNC); + rc = (jint)CGPostScrollWheelEvent((CGWheelCount)arg0, (int32_t)arg1); + OS_NATIVE_EXIT(env, that, CGPostScrollWheelEvent_FUNC); + return rc; +} +#endif + +#ifndef NO_CGRect_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(CGRect_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGRect_1sizeof_FUNC); + rc = (jint)CGRect_sizeof(); + OS_NATIVE_EXIT(env, that, CGRect_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_CGSetLocalEventsFilterDuringSuppressionState +JNIEXPORT jint JNICALL OS_NATIVE(CGSetLocalEventsFilterDuringSuppressionState) + (JNIEnv *env, jclass that, jint arg0, jint arg1) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGSetLocalEventsFilterDuringSuppressionState_FUNC); + rc = (jint)CGSetLocalEventsFilterDuringSuppressionState((CGEventFilterMask)arg0, (CGEventSuppressionState)arg1); + OS_NATIVE_EXIT(env, that, CGSetLocalEventsFilterDuringSuppressionState_FUNC); + return rc; +} +#endif + +#ifndef NO_CGSetLocalEventsSuppressionInterval +JNIEXPORT jint JNICALL OS_NATIVE(CGSetLocalEventsSuppressionInterval) + (JNIEnv *env, jclass that, jdouble arg0) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGSetLocalEventsSuppressionInterval_FUNC); + rc = (jint)CGSetLocalEventsSuppressionInterval((CFTimeInterval)arg0); + OS_NATIVE_EXIT(env, that, CGSetLocalEventsSuppressionInterval_FUNC); + return rc; +} +#endif + +#ifndef NO_CGSize_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(CGSize_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGSize_1sizeof_FUNC); + rc = (jint)CGSize_sizeof(); + OS_NATIVE_EXIT(env, that, CGSize_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_CGWarpMouseCursorPosition +JNIEXPORT jint JNICALL OS_NATIVE(CGWarpMouseCursorPosition) + (JNIEnv *env, jclass that, jobject arg0) +{ + CGPoint _arg0, *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, CGWarpMouseCursorPosition_FUNC); + if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jint)CGWarpMouseCursorPosition(*lparg0); +fail: + if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, CGWarpMouseCursorPosition_FUNC); + return rc; +} +#endif + +#ifndef NO_CPSSetProcessName +JNIEXPORT jint JNICALL OS_NATIVE(CPSSetProcessName) + (JNIEnv *env, jclass that, jintArray arg0, jintLong arg1) +{ + jint *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, CPSSetProcessName_FUNC); + if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail; + rc = (jint)CPSSetProcessName(lparg0, arg1); +fail: + if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, CPSSetProcessName_FUNC); + return rc; +} +#endif + +#ifndef NO_CancelMenuTracking +JNIEXPORT jint JNICALL OS_NATIVE(CancelMenuTracking) + (JNIEnv *env, jclass that, jintLong arg0, jboolean arg1, jint arg2) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, CancelMenuTracking_FUNC); +/* + rc = (jint)CancelMenuTracking(arg0, arg1, arg2); +*/ + { + LOAD_FUNCTION(fp, CancelMenuTracking) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jboolean, jint))fp)(arg0, arg1, arg2); + } + } + OS_NATIVE_EXIT(env, that, CancelMenuTracking_FUNC); + return rc; +} +#endif + +#ifndef NO_CloseRgn +JNIEXPORT void JNICALL OS_NATIVE(CloseRgn) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, CloseRgn_FUNC); +/* + CloseRgn(arg0); +*/ + { + LOAD_FUNCTION(fp, CloseRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); + } + } + OS_NATIVE_EXIT(env, that, CloseRgn_FUNC); +} +#endif + +#ifndef NO_CopyRgn +JNIEXPORT void JNICALL OS_NATIVE(CopyRgn) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + OS_NATIVE_ENTER(env, that, CopyRgn_FUNC); +/* + CopyRgn(arg0, arg1); +*/ + { + LOAD_FUNCTION(fp, CopyRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); + } + } + OS_NATIVE_EXIT(env, that, CopyRgn_FUNC); +} +#endif + +#ifndef NO_DeleteGlobalRef +JNIEXPORT void JNICALL OS_NATIVE(DeleteGlobalRef) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, DeleteGlobalRef_FUNC); + (*env)->DeleteGlobalRef(env, (jobject)arg0); + OS_NATIVE_EXIT(env, that, DeleteGlobalRef_FUNC); +} +#endif + +#ifndef NO_DiffRgn +JNIEXPORT void JNICALL OS_NATIVE(DiffRgn) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, DiffRgn_FUNC); +/* + DiffRgn(arg0, arg1, arg2); +*/ + { + LOAD_FUNCTION(fp, DiffRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jintLong, jintLong))fp)(arg0, arg1, arg2); + } + } + OS_NATIVE_EXIT(env, that, DiffRgn_FUNC); +} +#endif + +#ifndef NO_DisposeRgn +JNIEXPORT void JNICALL OS_NATIVE(DisposeRgn) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, DisposeRgn_FUNC); +/* + DisposeRgn(arg0); +*/ + { + LOAD_FUNCTION(fp, DisposeRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); + } + } + OS_NATIVE_EXIT(env, that, DisposeRgn_FUNC); +} +#endif + +#ifndef NO_EmptyRgn +JNIEXPORT jboolean JNICALL OS_NATIVE(EmptyRgn) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, EmptyRgn_FUNC); +/* + rc = (jboolean)EmptyRgn(arg0); +*/ + { + LOAD_FUNCTION(fp, EmptyRgn) + if (fp) { + rc = (jboolean)((jboolean (CALLING_CONVENTION*)(jintLong))fp)(arg0); + } + } + OS_NATIVE_EXIT(env, that, EmptyRgn_FUNC); + return rc; +} +#endif + +#ifndef NO_FSPathMakeRef +JNIEXPORT jint JNICALL OS_NATIVE(FSPathMakeRef) + (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jbooleanArray arg2) +{ + jbyte *lparg1=NULL; + jboolean *lparg2=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, FSPathMakeRef_FUNC); + if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; + if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail; +/* + rc = (jint)FSPathMakeRef((const UInt8 *)arg0, (FSRef *)lparg1, (Boolean *)lparg2); +*/ + { + LOAD_FUNCTION(fp, FSPathMakeRef) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(const UInt8 *, FSRef *, Boolean *))fp)((const UInt8 *)arg0, (FSRef *)lparg1, (Boolean *)lparg2); + } + } +fail: + if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0); + if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); + OS_NATIVE_EXIT(env, that, FSPathMakeRef_FUNC); + return rc; +} +#endif + +#ifndef NO_Gestalt +JNIEXPORT jint JNICALL OS_NATIVE(Gestalt) + (JNIEnv *env, jclass that, jint arg0, jintArray arg1) +{ + jint *lparg1=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, Gestalt_FUNC); + if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail; + rc = (jint)Gestalt(arg0, lparg1); +fail: + if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0); + OS_NATIVE_EXIT(env, that, Gestalt_FUNC); + return rc; +} +#endif + +#ifndef NO_GetCurrentButtonState +JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentButtonState) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, GetCurrentButtonState_FUNC); +/* + rc = (jint)GetCurrentButtonState(); +*/ + { + LOAD_FUNCTION(fp, GetCurrentButtonState) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, GetCurrentButtonState_FUNC); + return rc; +} +#endif + +#ifndef NO_GetCurrentProcess +JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentProcess) + (JNIEnv *env, jclass that, jintArray arg0) +{ + jint *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, GetCurrentProcess_FUNC); + if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail; + rc = (jint)GetCurrentProcess((ProcessSerialNumber *)lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, GetCurrentProcess_FUNC); + return rc; +} +#endif + +#ifndef NO_GetDblTime +JNIEXPORT jint JNICALL OS_NATIVE(GetDblTime) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, GetDblTime_FUNC); +/* + rc = (jint)GetDblTime(); +*/ + { + LOAD_FUNCTION(fp, GetDblTime) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, GetDblTime_FUNC); + return rc; +} +#endif + +#ifndef NO_GetRegionBounds +JNIEXPORT void JNICALL OS_NATIVE(GetRegionBounds) + (JNIEnv *env, jclass that, jintLong arg0, jshortArray arg1) +{ + jshort *lparg1=NULL; + OS_NATIVE_ENTER(env, that, GetRegionBounds_FUNC); + if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail; +/* + GetRegionBounds(arg0, lparg1); +*/ + { + LOAD_FUNCTION(fp, GetRegionBounds) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jshort *))fp)(arg0, lparg1); + } + } +fail: + if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0); + OS_NATIVE_EXIT(env, that, GetRegionBounds_FUNC); +} +#endif + +#ifndef NO_GetThemeMetric +JNIEXPORT void JNICALL OS_NATIVE(GetThemeMetric) + (JNIEnv *env, jclass that, jint arg0, jintArray arg1) +{ + jint *lparg1=NULL; + OS_NATIVE_ENTER(env, that, GetThemeMetric_FUNC); + if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail; +/* + GetThemeMetric(arg0, (SInt32 *)lparg1); +*/ + { + LOAD_FUNCTION(fp, GetThemeMetric) + if (fp) { + ((void (CALLING_CONVENTION*)(jint, SInt32 *))fp)(arg0, (SInt32 *)lparg1); + } + } +fail: + if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0); + OS_NATIVE_EXIT(env, that, GetThemeMetric_FUNC); +} +#endif + +#ifndef NO_HIThemeDrawFocusRect +JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawFocusRect) + (JNIEnv *env, jclass that, jobject arg0, jboolean arg1, jintLong arg2, jint arg3) +{ + CGRect _arg0, *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, HIThemeDrawFocusRect_FUNC); + if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail; +/* + rc = (jint)HIThemeDrawFocusRect(lparg0, arg1, (CGContextRef)arg2, arg3); +*/ + { + LOAD_FUNCTION(fp, HIThemeDrawFocusRect) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(CGRect *, jboolean, CGContextRef, jint))fp)(lparg0, arg1, (CGContextRef)arg2, arg3); + } + } +fail: + if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, HIThemeDrawFocusRect_FUNC); + return rc; +} +#endif + +#ifndef NO_LMGetKbdType +JNIEXPORT jbyte JNICALL OS_NATIVE(LMGetKbdType) + (JNIEnv *env, jclass that) +{ + jbyte rc = 0; + OS_NATIVE_ENTER(env, that, LMGetKbdType_FUNC); +/* + rc = (jbyte)LMGetKbdType(); +*/ + { + LOAD_FUNCTION(fp, LMGetKbdType) + if (fp) { + rc = (jbyte)((jbyte (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, LMGetKbdType_FUNC); + return rc; +} +#endif + +#ifndef NO_LineTo +JNIEXPORT void JNICALL OS_NATIVE(LineTo) + (JNIEnv *env, jclass that, jshort arg0, jshort arg1) +{ + OS_NATIVE_ENTER(env, that, LineTo_FUNC); +/* + LineTo(arg0, arg1); +*/ + { + LOAD_FUNCTION(fp, LineTo) + if (fp) { + ((void (CALLING_CONVENTION*)(jshort, jshort))fp)(arg0, arg1); + } + } + OS_NATIVE_EXIT(env, that, LineTo_FUNC); +} +#endif + +#ifndef NO_MoveTo +JNIEXPORT void JNICALL OS_NATIVE(MoveTo) + (JNIEnv *env, jclass that, jshort arg0, jshort arg1) +{ + OS_NATIVE_ENTER(env, that, MoveTo_FUNC); +/* + MoveTo(arg0, arg1); +*/ + { + LOAD_FUNCTION(fp, MoveTo) + if (fp) { + ((void (CALLING_CONVENTION*)(jshort, jshort))fp)(arg0, arg1); + } + } + OS_NATIVE_EXIT(env, that, MoveTo_FUNC); +} +#endif + +#ifndef NO_NSAccessibilityActionDescription +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityActionDescription) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityActionDescription_FUNC); + rc = (jintLong)NSAccessibilityActionDescription((NSString*)arg0); + OS_NATIVE_EXIT(env, that, NSAccessibilityActionDescription_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityButtonRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityButtonRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityButtonRole_FUNC); + rc = (jintLong)NSAccessibilityButtonRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityButtonRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityCheckBoxRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityCheckBoxRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityCheckBoxRole_FUNC); + rc = (jintLong)NSAccessibilityCheckBoxRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityCheckBoxRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityChildrenAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityChildrenAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityChildrenAttribute_FUNC); + rc = (jintLong)NSAccessibilityChildrenAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityChildrenAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityColumnRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityColumnRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityColumnRole_FUNC); + rc = (jintLong)NSAccessibilityColumnRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityColumnRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityComboBoxRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityComboBoxRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityComboBoxRole_FUNC); + rc = (jintLong)NSAccessibilityComboBoxRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityComboBoxRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityConfirmAction +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityConfirmAction) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityConfirmAction_FUNC); + rc = (jintLong)NSAccessibilityConfirmAction; + OS_NATIVE_EXIT(env, that, NSAccessibilityConfirmAction_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityContentsAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityContentsAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityContentsAttribute_FUNC); + rc = (jintLong)NSAccessibilityContentsAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityContentsAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityDescriptionAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityDescriptionAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityDescriptionAttribute_FUNC); + rc = (jintLong)NSAccessibilityDescriptionAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityDescriptionAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityDialogSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityDialogSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityDialogSubrole_FUNC); + rc = (jintLong)NSAccessibilityDialogSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityDialogSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityEnabledAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityEnabledAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityEnabledAttribute_FUNC); + rc = (jintLong)NSAccessibilityEnabledAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityEnabledAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityExpandedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityExpandedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityExpandedAttribute_FUNC); + rc = (jintLong)NSAccessibilityExpandedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityExpandedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityFloatingWindowSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityFloatingWindowSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityFloatingWindowSubrole_FUNC); + rc = (jintLong)NSAccessibilityFloatingWindowSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityFloatingWindowSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityFocusedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityFocusedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityFocusedAttribute_FUNC); + rc = (jintLong)NSAccessibilityFocusedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityFocusedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityFocusedUIElementChangedNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityFocusedUIElementChangedNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityFocusedUIElementChangedNotification_FUNC); + rc = (jintLong)NSAccessibilityFocusedUIElementChangedNotification; + OS_NATIVE_EXIT(env, that, NSAccessibilityFocusedUIElementChangedNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityGridRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityGridRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityGridRole_FUNC); + rc = (jintLong)NSAccessibilityGridRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityGridRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityGroupRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityGroupRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityGroupRole_FUNC); + rc = (jintLong)NSAccessibilityGroupRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityGroupRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityHelpAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityHelpAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityHelpAttribute_FUNC); + rc = (jintLong)NSAccessibilityHelpAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityHelpAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityHelpTagRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityHelpTagRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityHelpTagRole_FUNC); + rc = (jintLong)NSAccessibilityHelpTagRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityHelpTagRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityHorizontalOrientationValue +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityHorizontalOrientationValue) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityHorizontalOrientationValue_FUNC); + rc = (jintLong)NSAccessibilityHorizontalOrientationValue; + OS_NATIVE_EXIT(env, that, NSAccessibilityHorizontalOrientationValue_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityHorizontalScrollBarAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityHorizontalScrollBarAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityHorizontalScrollBarAttribute_FUNC); + rc = (jintLong)NSAccessibilityHorizontalScrollBarAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityHorizontalScrollBarAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityImageRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityImageRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityImageRole_FUNC); + rc = (jintLong)NSAccessibilityImageRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityImageRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityIncrementorRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityIncrementorRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityIncrementorRole_FUNC); + rc = (jintLong)NSAccessibilityIncrementorRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityIncrementorRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityInsertionPointLineNumberAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityInsertionPointLineNumberAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityInsertionPointLineNumberAttribute_FUNC); + rc = (jintLong)NSAccessibilityInsertionPointLineNumberAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityInsertionPointLineNumberAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityLabelValueAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityLabelValueAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityLabelValueAttribute_FUNC); + rc = (jintLong)NSAccessibilityLabelValueAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityLabelValueAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityLineForIndexParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityLineForIndexParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityLineForIndexParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityLineForIndexParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityLineForIndexParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityLinkRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityLinkRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityLinkRole_FUNC); + rc = (jintLong)NSAccessibilityLinkRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityLinkRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityLinkTextAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityLinkTextAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityLinkTextAttribute_FUNC); + rc = (jintLong)NSAccessibilityLinkTextAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityLinkTextAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityListRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityListRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityListRole_FUNC); + rc = (jintLong)NSAccessibilityListRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityListRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityMaxValueAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityMaxValueAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityMaxValueAttribute_FUNC); + rc = (jintLong)NSAccessibilityMaxValueAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityMaxValueAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityMenuBarRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityMenuBarRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityMenuBarRole_FUNC); + rc = (jintLong)NSAccessibilityMenuBarRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityMenuBarRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityMenuButtonRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityMenuButtonRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityMenuButtonRole_FUNC); + rc = (jintLong)NSAccessibilityMenuButtonRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityMenuButtonRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityMenuItemRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityMenuItemRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityMenuItemRole_FUNC); + rc = (jintLong)NSAccessibilityMenuItemRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityMenuItemRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityMenuRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityMenuRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityMenuRole_FUNC); + rc = (jintLong)NSAccessibilityMenuRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityMenuRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityMinValueAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityMinValueAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityMinValueAttribute_FUNC); + rc = (jintLong)NSAccessibilityMinValueAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityMinValueAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityNextContentsAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityNextContentsAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityNextContentsAttribute_FUNC); + rc = (jintLong)NSAccessibilityNextContentsAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityNextContentsAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityNumberOfCharactersAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityNumberOfCharactersAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityNumberOfCharactersAttribute_FUNC); + rc = (jintLong)NSAccessibilityNumberOfCharactersAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityNumberOfCharactersAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityOrientationAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityOrientationAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityOrientationAttribute_FUNC); + rc = (jintLong)NSAccessibilityOrientationAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityOrientationAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityOutlineRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityOutlineRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityOutlineRole_FUNC); + rc = (jintLong)NSAccessibilityOutlineRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityOutlineRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityOutlineRowSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityOutlineRowSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityOutlineRowSubrole_FUNC); + rc = (jintLong)NSAccessibilityOutlineRowSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityOutlineRowSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityParentAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityParentAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityParentAttribute_FUNC); + rc = (jintLong)NSAccessibilityParentAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityParentAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityPopUpButtonRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityPopUpButtonRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityPopUpButtonRole_FUNC); + rc = (jintLong)NSAccessibilityPopUpButtonRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityPopUpButtonRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityPositionAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityPositionAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityPositionAttribute_FUNC); + rc = (jintLong)NSAccessibilityPositionAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityPositionAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityPostNotification +JNIEXPORT void JNICALL OS_NATIVE(NSAccessibilityPostNotification) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + OS_NATIVE_ENTER(env, that, NSAccessibilityPostNotification_FUNC); + NSAccessibilityPostNotification((id)arg0, (NSString*)arg1); + OS_NATIVE_EXIT(env, that, NSAccessibilityPostNotification_FUNC); +} +#endif + +#ifndef NO_NSAccessibilityPressAction +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityPressAction) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityPressAction_FUNC); + rc = (jintLong)NSAccessibilityPressAction; + OS_NATIVE_EXIT(env, that, NSAccessibilityPressAction_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityPreviousContentsAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityPreviousContentsAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityPreviousContentsAttribute_FUNC); + rc = (jintLong)NSAccessibilityPreviousContentsAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityPreviousContentsAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityProgressIndicatorRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityProgressIndicatorRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityProgressIndicatorRole_FUNC); + rc = (jintLong)NSAccessibilityProgressIndicatorRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityProgressIndicatorRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRTFForRangeParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRTFForRangeParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRTFForRangeParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityRTFForRangeParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityRTFForRangeParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRadioButtonRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRadioButtonRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRadioButtonRole_FUNC); + rc = (jintLong)NSAccessibilityRadioButtonRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityRadioButtonRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRadioGroupRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRadioGroupRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRadioGroupRole_FUNC); + rc = (jintLong)NSAccessibilityRadioGroupRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityRadioGroupRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRaiseBadArgumentException +JNIEXPORT void JNICALL OS_NATIVE(NSAccessibilityRaiseBadArgumentException) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, NSAccessibilityRaiseBadArgumentException_FUNC); + NSAccessibilityRaiseBadArgumentException((id)arg0, (NSString*)arg1, (id)arg2); + OS_NATIVE_EXIT(env, that, NSAccessibilityRaiseBadArgumentException_FUNC); +} +#endif + +#ifndef NO_NSAccessibilityRangeForIndexParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRangeForIndexParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRangeForIndexParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityRangeForIndexParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityRangeForIndexParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRangeForLineParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRangeForLineParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRangeForLineParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityRangeForLineParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityRangeForLineParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRangeForPositionParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRangeForPositionParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRangeForPositionParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityRangeForPositionParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityRangeForPositionParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRoleAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRoleAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRoleAttribute_FUNC); + rc = (jintLong)NSAccessibilityRoleAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityRoleAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRoleDescription +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRoleDescription) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRoleDescription_FUNC); + rc = (jintLong)NSAccessibilityRoleDescription((NSString*)arg0, (NSString*)arg1); + OS_NATIVE_EXIT(env, that, NSAccessibilityRoleDescription_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRoleDescriptionAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRoleDescriptionAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRoleDescriptionAttribute_FUNC); + rc = (jintLong)NSAccessibilityRoleDescriptionAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityRoleDescriptionAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRoleDescriptionForUIElement +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRoleDescriptionForUIElement) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRoleDescriptionForUIElement_FUNC); + rc = (jintLong)NSAccessibilityRoleDescriptionForUIElement((id)arg0); + OS_NATIVE_EXIT(env, that, NSAccessibilityRoleDescriptionForUIElement_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityRowRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityRowRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityRowRole_FUNC); + rc = (jintLong)NSAccessibilityRowRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityRowRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityScrollAreaRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityScrollAreaRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityScrollAreaRole_FUNC); + rc = (jintLong)NSAccessibilityScrollAreaRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityScrollAreaRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityScrollBarRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityScrollBarRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityScrollBarRole_FUNC); + rc = (jintLong)NSAccessibilityScrollBarRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityScrollBarRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedAttribute_FUNC); + rc = (jintLong)NSAccessibilitySelectedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedChildrenAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedChildrenAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedChildrenAttribute_FUNC); + rc = (jintLong)NSAccessibilitySelectedChildrenAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedChildrenAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedChildrenChangedNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedChildrenChangedNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedChildrenChangedNotification_FUNC); + rc = (jintLong)NSAccessibilitySelectedChildrenChangedNotification; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedChildrenChangedNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedTextAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedTextAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedTextAttribute_FUNC); + rc = (jintLong)NSAccessibilitySelectedTextAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedTextAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedTextChangedNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedTextChangedNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedTextChangedNotification_FUNC); + rc = (jintLong)NSAccessibilitySelectedTextChangedNotification; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedTextChangedNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedTextRangeAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedTextRangeAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedTextRangeAttribute_FUNC); + rc = (jintLong)NSAccessibilitySelectedTextRangeAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedTextRangeAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySelectedTextRangesAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySelectedTextRangesAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySelectedTextRangesAttribute_FUNC); + rc = (jintLong)NSAccessibilitySelectedTextRangesAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySelectedTextRangesAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityServesAsTitleForUIElementsAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityServesAsTitleForUIElementsAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityServesAsTitleForUIElementsAttribute_FUNC); + rc = (jintLong)NSAccessibilityServesAsTitleForUIElementsAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityServesAsTitleForUIElementsAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySizeAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySizeAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySizeAttribute_FUNC); + rc = (jintLong)NSAccessibilitySizeAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySizeAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySliderRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySliderRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySliderRole_FUNC); + rc = (jintLong)NSAccessibilitySliderRole; + OS_NATIVE_EXIT(env, that, NSAccessibilitySliderRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySortButtonRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySortButtonRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySortButtonRole_FUNC); + rc = (jintLong)NSAccessibilitySortButtonRole; + OS_NATIVE_EXIT(env, that, NSAccessibilitySortButtonRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySplitterRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySplitterRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySplitterRole_FUNC); + rc = (jintLong)NSAccessibilitySplitterRole; + OS_NATIVE_EXIT(env, that, NSAccessibilitySplitterRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityStandardWindowSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityStandardWindowSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityStandardWindowSubrole_FUNC); + rc = (jintLong)NSAccessibilityStandardWindowSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityStandardWindowSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityStaticTextRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityStaticTextRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityStaticTextRole_FUNC); + rc = (jintLong)NSAccessibilityStaticTextRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityStaticTextRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityStringForRangeParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityStringForRangeParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityStringForRangeParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityStringForRangeParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityStringForRangeParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityStyleRangeForIndexParameterizedAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityStyleRangeForIndexParameterizedAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityStyleRangeForIndexParameterizedAttribute_FUNC); + rc = (jintLong)NSAccessibilityStyleRangeForIndexParameterizedAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityStyleRangeForIndexParameterizedAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySubroleAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySubroleAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySubroleAttribute_FUNC); + rc = (jintLong)NSAccessibilitySubroleAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilitySubroleAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilitySystemDialogSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilitySystemDialogSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilitySystemDialogSubrole_FUNC); + rc = (jintLong)NSAccessibilitySystemDialogSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilitySystemDialogSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTabGroupRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTabGroupRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTabGroupRole_FUNC); + rc = (jintLong)NSAccessibilityTabGroupRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityTabGroupRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTableRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTableRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTableRole_FUNC); + rc = (jintLong)NSAccessibilityTableRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityTableRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTableRowSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTableRowSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTableRowSubrole_FUNC); + rc = (jintLong)NSAccessibilityTableRowSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityTableRowSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTabsAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTabsAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTabsAttribute_FUNC); + rc = (jintLong)NSAccessibilityTabsAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityTabsAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTextAreaRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTextAreaRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTextAreaRole_FUNC); + rc = (jintLong)NSAccessibilityTextAreaRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityTextAreaRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTextFieldRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTextFieldRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTextFieldRole_FUNC); + rc = (jintLong)NSAccessibilityTextFieldRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityTextFieldRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTextLinkSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTextLinkSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTextLinkSubrole_FUNC); + rc = (jintLong)NSAccessibilityTextLinkSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityTextLinkSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTitleAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTitleAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTitleAttribute_FUNC); + rc = (jintLong)NSAccessibilityTitleAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityTitleAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTitleUIElementAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTitleUIElementAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTitleUIElementAttribute_FUNC); + rc = (jintLong)NSAccessibilityTitleUIElementAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityTitleUIElementAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityToolbarRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityToolbarRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityToolbarRole_FUNC); + rc = (jintLong)NSAccessibilityToolbarRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityToolbarRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityTopLevelUIElementAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityTopLevelUIElementAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityTopLevelUIElementAttribute_FUNC); + rc = (jintLong)NSAccessibilityTopLevelUIElementAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityTopLevelUIElementAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityUnignoredAncestor +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityUnignoredAncestor) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityUnignoredAncestor_FUNC); + rc = (jintLong)NSAccessibilityUnignoredAncestor((id)arg0); + OS_NATIVE_EXIT(env, that, NSAccessibilityUnignoredAncestor_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityUnignoredChildren +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityUnignoredChildren) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityUnignoredChildren_FUNC); + rc = (jintLong)NSAccessibilityUnignoredChildren((NSArray*)arg0); + OS_NATIVE_EXIT(env, that, NSAccessibilityUnignoredChildren_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityUnignoredChildrenForOnlyChild +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityUnignoredChildrenForOnlyChild) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityUnignoredChildrenForOnlyChild_FUNC); + rc = (jintLong)NSAccessibilityUnignoredChildrenForOnlyChild((id)arg0); + OS_NATIVE_EXIT(env, that, NSAccessibilityUnignoredChildrenForOnlyChild_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityUnignoredDescendant +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityUnignoredDescendant) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityUnignoredDescendant_FUNC); + rc = (jintLong)NSAccessibilityUnignoredDescendant((id)arg0); + OS_NATIVE_EXIT(env, that, NSAccessibilityUnignoredDescendant_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityUnknownRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityUnknownRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityUnknownRole_FUNC); + rc = (jintLong)NSAccessibilityUnknownRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityUnknownRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityUnknownSubrole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityUnknownSubrole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityUnknownSubrole_FUNC); + rc = (jintLong)NSAccessibilityUnknownSubrole; + OS_NATIVE_EXIT(env, that, NSAccessibilityUnknownSubrole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityValueAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityValueAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityValueAttribute_FUNC); + rc = (jintLong)NSAccessibilityValueAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityValueAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityValueChangedNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityValueChangedNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityValueChangedNotification_FUNC); + rc = (jintLong)NSAccessibilityValueChangedNotification; + OS_NATIVE_EXIT(env, that, NSAccessibilityValueChangedNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityValueDescriptionAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityValueDescriptionAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityValueDescriptionAttribute_FUNC); + rc = (jintLong)NSAccessibilityValueDescriptionAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityValueDescriptionAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityValueIndicatorRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityValueIndicatorRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityValueIndicatorRole_FUNC); + rc = (jintLong)NSAccessibilityValueIndicatorRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityValueIndicatorRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityVerticalOrientationValue +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityVerticalOrientationValue) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityVerticalOrientationValue_FUNC); + rc = (jintLong)NSAccessibilityVerticalOrientationValue; + OS_NATIVE_EXIT(env, that, NSAccessibilityVerticalOrientationValue_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityVerticalScrollBarAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityVerticalScrollBarAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityVerticalScrollBarAttribute_FUNC); + rc = (jintLong)NSAccessibilityVerticalScrollBarAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityVerticalScrollBarAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityVisibleCharacterRangeAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityVisibleCharacterRangeAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityVisibleCharacterRangeAttribute_FUNC); + rc = (jintLong)NSAccessibilityVisibleCharacterRangeAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityVisibleCharacterRangeAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityVisibleChildrenAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityVisibleChildrenAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityVisibleChildrenAttribute_FUNC); + rc = (jintLong)NSAccessibilityVisibleChildrenAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityVisibleChildrenAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityWindowAttribute +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityWindowAttribute) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityWindowAttribute_FUNC); + rc = (jintLong)NSAccessibilityWindowAttribute; + OS_NATIVE_EXIT(env, that, NSAccessibilityWindowAttribute_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAccessibilityWindowRole +JNIEXPORT jintLong JNICALL OS_NATIVE(NSAccessibilityWindowRole) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSAccessibilityWindowRole_FUNC); + rc = (jintLong)NSAccessibilityWindowRole; + OS_NATIVE_EXIT(env, that, NSAccessibilityWindowRole_FUNC); + return rc; +} +#endif + +#ifndef NO_NSAffineTransformStruct_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(NSAffineTransformStruct_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, NSAffineTransformStruct_1sizeof_FUNC); + rc = (jint)NSAffineTransformStruct_sizeof(); + OS_NATIVE_EXIT(env, that, NSAffineTransformStruct_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_NSApplicationDidChangeScreenParametersNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSApplicationDidChangeScreenParametersNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSApplicationDidChangeScreenParametersNotification_FUNC); + rc = (jintLong)NSApplicationDidChangeScreenParametersNotification; + OS_NATIVE_EXIT(env, that, NSApplicationDidChangeScreenParametersNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSBackgroundColorAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSBackgroundColorAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSBackgroundColorAttributeName_FUNC); + rc = (jintLong)NSBackgroundColorAttributeName; + OS_NATIVE_EXIT(env, that, NSBackgroundColorAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSBaselineOffsetAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSBaselineOffsetAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSBaselineOffsetAttributeName_FUNC); + rc = (jintLong)NSBaselineOffsetAttributeName; + OS_NATIVE_EXIT(env, that, NSBaselineOffsetAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSBeep +JNIEXPORT void JNICALL OS_NATIVE(NSBeep) + (JNIEnv *env, jclass that) +{ + OS_NATIVE_ENTER(env, that, NSBeep_FUNC); + NSBeep(); + OS_NATIVE_EXIT(env, that, NSBeep_FUNC); +} +#endif + +#ifndef NO_NSBitsPerPixelFromDepth +JNIEXPORT jintLong JNICALL OS_NATIVE(NSBitsPerPixelFromDepth) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSBitsPerPixelFromDepth_FUNC); + rc = (jintLong)NSBitsPerPixelFromDepth((NSWindowDepth)arg0); + OS_NATIVE_EXIT(env, that, NSBitsPerPixelFromDepth_FUNC); + return rc; +} +#endif + +#ifndef NO_NSCalibratedRGBColorSpace +JNIEXPORT jintLong JNICALL OS_NATIVE(NSCalibratedRGBColorSpace) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSCalibratedRGBColorSpace_FUNC); + rc = (jintLong)NSCalibratedRGBColorSpace; + OS_NATIVE_EXIT(env, that, NSCalibratedRGBColorSpace_FUNC); + return rc; +} +#endif + +#ifndef NO_NSCopyBits +JNIEXPORT void JNICALL OS_NATIVE(NSCopyBits) + (JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jobject arg2) +{ + NSRect _arg1, *lparg1=NULL; + NSPoint _arg2, *lparg2=NULL; + OS_NATIVE_ENTER(env, that, NSCopyBits_FUNC); + if (arg1) if ((lparg1 = getNSRectFields(env, arg1, &_arg1)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + NSCopyBits((NSInteger)arg0, *lparg1, *lparg2); +fail: + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); + if (arg1 && lparg1) setNSRectFields(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, NSCopyBits_FUNC); +} +#endif + +#ifndef NO_NSDefaultRunLoopMode +JNIEXPORT jintLong JNICALL OS_NATIVE(NSDefaultRunLoopMode) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSDefaultRunLoopMode_FUNC); + rc = (jintLong)NSDefaultRunLoopMode; + OS_NATIVE_EXIT(env, that, NSDefaultRunLoopMode_FUNC); + return rc; +} +#endif + +#ifndef NO_NSDeviceRGBColorSpace +JNIEXPORT jintLong JNICALL OS_NATIVE(NSDeviceRGBColorSpace) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSDeviceRGBColorSpace_FUNC); + rc = (jintLong)NSDeviceRGBColorSpace; + OS_NATIVE_EXIT(env, that, NSDeviceRGBColorSpace_FUNC); + return rc; +} +#endif + +#ifndef NO_NSDeviceResolution +JNIEXPORT jintLong JNICALL OS_NATIVE(NSDeviceResolution) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSDeviceResolution_FUNC); + rc = (jintLong)NSDeviceResolution; + OS_NATIVE_EXIT(env, that, NSDeviceResolution_FUNC); + return rc; +} +#endif + +#ifndef NO_NSDragPboard +JNIEXPORT jintLong JNICALL OS_NATIVE(NSDragPboard) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSDragPboard_FUNC); + rc = (jintLong)NSDragPboard; + OS_NATIVE_EXIT(env, that, NSDragPboard_FUNC); + return rc; +} +#endif + +#ifndef NO_NSEqualRects +JNIEXPORT jboolean JNICALL OS_NATIVE(NSEqualRects) + (JNIEnv *env, jclass that, jobject arg0, jobject arg1) +{ + NSRect _arg0, *lparg0=NULL; + NSRect _arg1, *lparg1=NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, NSEqualRects_FUNC); + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg1) if ((lparg1 = getNSRectFields(env, arg1, &_arg1)) == NULL) goto fail; + rc = (jboolean)NSEqualRects(*lparg0, *lparg1); +fail: + if (arg1 && lparg1) setNSRectFields(env, arg1, lparg1); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, NSEqualRects_FUNC); + return rc; +} +#endif + +#ifndef NO_NSErrorFailingURLStringKey +JNIEXPORT jintLong JNICALL OS_NATIVE(NSErrorFailingURLStringKey) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSErrorFailingURLStringKey_FUNC); + rc = (jintLong)NSErrorFailingURLStringKey; + OS_NATIVE_EXIT(env, that, NSErrorFailingURLStringKey_FUNC); + return rc; +} +#endif + +#ifndef NO_NSEventTrackingRunLoopMode +JNIEXPORT jintLong JNICALL OS_NATIVE(NSEventTrackingRunLoopMode) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSEventTrackingRunLoopMode_FUNC); + rc = (jintLong)NSEventTrackingRunLoopMode; + OS_NATIVE_EXIT(env, that, NSEventTrackingRunLoopMode_FUNC); + return rc; +} +#endif + +#ifndef NO_NSFileTypeForHFSTypeCode +JNIEXPORT jintLong JNICALL OS_NATIVE(NSFileTypeForHFSTypeCode) + (JNIEnv *env, jclass that, jint arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSFileTypeForHFSTypeCode_FUNC); + rc = (jintLong)NSFileTypeForHFSTypeCode((OSType)arg0); + OS_NATIVE_EXIT(env, that, NSFileTypeForHFSTypeCode_FUNC); + return rc; +} +#endif + +#ifndef NO_NSFilenamesPboardType +JNIEXPORT jintLong JNICALL OS_NATIVE(NSFilenamesPboardType) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSFilenamesPboardType_FUNC); + rc = (jintLong)NSFilenamesPboardType; + OS_NATIVE_EXIT(env, that, NSFilenamesPboardType_FUNC); + return rc; +} +#endif + +#ifndef NO_NSFontAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSFontAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSFontAttributeName_FUNC); + rc = (jintLong)NSFontAttributeName; + OS_NATIVE_EXIT(env, that, NSFontAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSForegroundColorAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSForegroundColorAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSForegroundColorAttributeName_FUNC); + rc = (jintLong)NSForegroundColorAttributeName; + OS_NATIVE_EXIT(env, that, NSForegroundColorAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSGetSizeAndAlignment +JNIEXPORT jintLong JNICALL OS_NATIVE(NSGetSizeAndAlignment) + (JNIEnv *env, jclass that, jintLong arg0, jintLongArray arg1, jintLongArray arg2) +{ + jintLong *lparg1=NULL; + jintLong *lparg2=NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSGetSizeAndAlignment_FUNC); + if (arg1) if ((lparg1 = (*env)->GetIntLongArrayElements(env, arg1, NULL)) == NULL) goto fail; + if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)NSGetSizeAndAlignment((char*)arg0, (NSUInteger*)lparg1, (NSUInteger*)lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); + if (arg1 && lparg1) (*env)->ReleaseIntLongArrayElements(env, arg1, lparg1, 0); + OS_NATIVE_EXIT(env, that, NSGetSizeAndAlignment_FUNC); + return rc; +} +#endif + +#ifndef NO_NSHTMLPboardType +JNIEXPORT jintLong JNICALL OS_NATIVE(NSHTMLPboardType) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSHTMLPboardType_FUNC); + rc = (jintLong)NSHTMLPboardType; + OS_NATIVE_EXIT(env, that, NSHTMLPboardType_FUNC); + return rc; +} +#endif + +#ifndef NO_NSLinkAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSLinkAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSLinkAttributeName_FUNC); + rc = (jintLong)NSLinkAttributeName; + OS_NATIVE_EXIT(env, that, NSLinkAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSNumberOfColorComponents +JNIEXPORT jintLong JNICALL OS_NATIVE(NSNumberOfColorComponents) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSNumberOfColorComponents_FUNC); + rc = (jintLong)NSNumberOfColorComponents((NSString*)arg0); + OS_NATIVE_EXIT(env, that, NSNumberOfColorComponents_FUNC); + return rc; +} +#endif + +#ifndef NO_NSObliquenessAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSObliquenessAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSObliquenessAttributeName_FUNC); + rc = (jintLong)NSObliquenessAttributeName; + OS_NATIVE_EXIT(env, that, NSObliquenessAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSParagraphStyleAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSParagraphStyleAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSParagraphStyleAttributeName_FUNC); + rc = (jintLong)NSParagraphStyleAttributeName; + OS_NATIVE_EXIT(env, that, NSParagraphStyleAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPointInRect +JNIEXPORT jboolean JNICALL OS_NATIVE(NSPointInRect) + (JNIEnv *env, jclass that, jobject arg0, jobject arg1) +{ + NSPoint _arg0, *lparg0=NULL; + NSRect _arg1, *lparg1=NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, NSPointInRect_FUNC); + if (arg0) if ((lparg0 = getNSPointFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg1) if ((lparg1 = getNSRectFields(env, arg1, &_arg1)) == NULL) goto fail; + rc = (jboolean)NSPointInRect(*lparg0, *lparg1); +fail: + if (arg1 && lparg1) setNSRectFields(env, arg1, lparg1); + if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, NSPointInRect_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPoint_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(NSPoint_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, NSPoint_1sizeof_FUNC); + rc = (jint)NSPoint_sizeof(); + OS_NATIVE_EXIT(env, that, NSPoint_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintAllPages +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintAllPages) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintAllPages_FUNC); + rc = (jintLong)NSPrintAllPages; + OS_NATIVE_EXIT(env, that, NSPrintAllPages_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintCopies +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintCopies) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintCopies_FUNC); + rc = (jintLong)NSPrintCopies; + OS_NATIVE_EXIT(env, that, NSPrintCopies_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintFirstPage +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintFirstPage) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintFirstPage_FUNC); + rc = (jintLong)NSPrintFirstPage; + OS_NATIVE_EXIT(env, that, NSPrintFirstPage_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintJobDisposition +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintJobDisposition) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintJobDisposition_FUNC); + rc = (jintLong)NSPrintJobDisposition; + OS_NATIVE_EXIT(env, that, NSPrintJobDisposition_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintLastPage +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintLastPage) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintLastPage_FUNC); + rc = (jintLong)NSPrintLastPage; + OS_NATIVE_EXIT(env, that, NSPrintLastPage_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintMustCollate +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintMustCollate) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintMustCollate_FUNC); + rc = (jintLong)NSPrintMustCollate; + OS_NATIVE_EXIT(env, that, NSPrintMustCollate_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintPreviewJob +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintPreviewJob) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintPreviewJob_FUNC); + rc = (jintLong)NSPrintPreviewJob; + OS_NATIVE_EXIT(env, that, NSPrintPreviewJob_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintSaveJob +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintSaveJob) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintSaveJob_FUNC); + rc = (jintLong)NSPrintSaveJob; + OS_NATIVE_EXIT(env, that, NSPrintSaveJob_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintSavePath +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintSavePath) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintSavePath_FUNC); + rc = (jintLong)NSPrintSavePath; + OS_NATIVE_EXIT(env, that, NSPrintSavePath_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintScalingFactor +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintScalingFactor) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintScalingFactor_FUNC); + rc = (jintLong)NSPrintScalingFactor; + OS_NATIVE_EXIT(env, that, NSPrintScalingFactor_FUNC); + return rc; +} +#endif + +#ifndef NO_NSPrintSpoolJob +JNIEXPORT jintLong JNICALL OS_NATIVE(NSPrintSpoolJob) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSPrintSpoolJob_FUNC); + rc = (jintLong)NSPrintSpoolJob; + OS_NATIVE_EXIT(env, that, NSPrintSpoolJob_FUNC); + return rc; +} +#endif + +#ifndef NO_NSRTFPboardType +JNIEXPORT jintLong JNICALL OS_NATIVE(NSRTFPboardType) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSRTFPboardType_FUNC); + rc = (jintLong)NSRTFPboardType; + OS_NATIVE_EXIT(env, that, NSRTFPboardType_FUNC); + return rc; +} +#endif + +#ifndef NO_NSRange_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(NSRange_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, NSRange_1sizeof_FUNC); + rc = (jint)NSRange_sizeof(); + OS_NATIVE_EXIT(env, that, NSRange_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_NSRect_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(NSRect_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, NSRect_1sizeof_FUNC); + rc = (jint)NSRect_sizeof(); + OS_NATIVE_EXIT(env, that, NSRect_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_NSSearchPathForDirectoriesInDomains +JNIEXPORT jintLong JNICALL OS_NATIVE(NSSearchPathForDirectoriesInDomains) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSSearchPathForDirectoriesInDomains_FUNC); + rc = (jintLong)NSSearchPathForDirectoriesInDomains((NSSearchPathDirectory)arg0, (NSSearchPathDomainMask)arg1, (BOOL)arg2); + OS_NATIVE_EXIT(env, that, NSSearchPathForDirectoriesInDomains_FUNC); + return rc; +} +#endif + +#ifndef NO_NSSize_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(NSSize_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, NSSize_1sizeof_FUNC); + rc = (jint)NSSize_sizeof(); + OS_NATIVE_EXIT(env, that, NSSize_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_NSStrikethroughColorAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSStrikethroughColorAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSStrikethroughColorAttributeName_FUNC); + rc = (jintLong)NSStrikethroughColorAttributeName; + OS_NATIVE_EXIT(env, that, NSStrikethroughColorAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSStrikethroughStyleAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSStrikethroughStyleAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSStrikethroughStyleAttributeName_FUNC); + rc = (jintLong)NSStrikethroughStyleAttributeName; + OS_NATIVE_EXIT(env, that, NSStrikethroughStyleAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSStringPboardType +JNIEXPORT jintLong JNICALL OS_NATIVE(NSStringPboardType) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSStringPboardType_FUNC); + rc = (jintLong)NSStringPboardType; + OS_NATIVE_EXIT(env, that, NSStringPboardType_FUNC); + return rc; +} +#endif + +#ifndef NO_NSStrokeWidthAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSStrokeWidthAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSStrokeWidthAttributeName_FUNC); + rc = (jintLong)NSStrokeWidthAttributeName; + OS_NATIVE_EXIT(env, that, NSStrokeWidthAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSSystemColorsDidChangeNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSSystemColorsDidChangeNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSSystemColorsDidChangeNotification_FUNC); + rc = (jintLong)NSSystemColorsDidChangeNotification; + OS_NATIVE_EXIT(env, that, NSSystemColorsDidChangeNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSTIFFPboardType +JNIEXPORT jintLong JNICALL OS_NATIVE(NSTIFFPboardType) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSTIFFPboardType_FUNC); + rc = (jintLong)NSTIFFPboardType; + OS_NATIVE_EXIT(env, that, NSTIFFPboardType_FUNC); + return rc; +} +#endif + +#ifndef NO_NSTemporaryDirectory +JNIEXPORT jintLong JNICALL OS_NATIVE(NSTemporaryDirectory) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSTemporaryDirectory_FUNC); + rc = (jintLong)NSTemporaryDirectory(); + OS_NATIVE_EXIT(env, that, NSTemporaryDirectory_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarCustomizeToolbarItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarCustomizeToolbarItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarCustomizeToolbarItemIdentifier_FUNC); + rc = (jintLong)NSToolbarCustomizeToolbarItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarCustomizeToolbarItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarDidRemoveItemNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarDidRemoveItemNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarDidRemoveItemNotification_FUNC); + rc = (jintLong)NSToolbarDidRemoveItemNotification; + OS_NATIVE_EXIT(env, that, NSToolbarDidRemoveItemNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarFlexibleSpaceItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarFlexibleSpaceItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarFlexibleSpaceItemIdentifier_FUNC); + rc = (jintLong)NSToolbarFlexibleSpaceItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarFlexibleSpaceItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarPrintItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarPrintItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarPrintItemIdentifier_FUNC); + rc = (jintLong)NSToolbarPrintItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarPrintItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarSeparatorItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarSeparatorItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarSeparatorItemIdentifier_FUNC); + rc = (jintLong)NSToolbarSeparatorItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarSeparatorItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarShowColorsItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarShowColorsItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarShowColorsItemIdentifier_FUNC); + rc = (jintLong)NSToolbarShowColorsItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarShowColorsItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarShowFontsItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarShowFontsItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarShowFontsItemIdentifier_FUNC); + rc = (jintLong)NSToolbarShowFontsItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarShowFontsItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarSpaceItemIdentifier +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarSpaceItemIdentifier) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarSpaceItemIdentifier_FUNC); + rc = (jintLong)NSToolbarSpaceItemIdentifier; + OS_NATIVE_EXIT(env, that, NSToolbarSpaceItemIdentifier_FUNC); + return rc; +} +#endif + +#ifndef NO_NSToolbarWillAddItemNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSToolbarWillAddItemNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSToolbarWillAddItemNotification_FUNC); + rc = (jintLong)NSToolbarWillAddItemNotification; + OS_NATIVE_EXIT(env, that, NSToolbarWillAddItemNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NSURLPboardType +JNIEXPORT jintLong JNICALL OS_NATIVE(NSURLPboardType) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSURLPboardType_FUNC); + rc = (jintLong)NSURLPboardType; + OS_NATIVE_EXIT(env, that, NSURLPboardType_FUNC); + return rc; +} +#endif + +#ifndef NO_NSUnderlineColorAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSUnderlineColorAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSUnderlineColorAttributeName_FUNC); + rc = (jintLong)NSUnderlineColorAttributeName; + OS_NATIVE_EXIT(env, that, NSUnderlineColorAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSUnderlineStyleAttributeName +JNIEXPORT jintLong JNICALL OS_NATIVE(NSUnderlineStyleAttributeName) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSUnderlineStyleAttributeName_FUNC); + rc = (jintLong)NSUnderlineStyleAttributeName; + OS_NATIVE_EXIT(env, that, NSUnderlineStyleAttributeName_FUNC); + return rc; +} +#endif + +#ifndef NO_NSViewGlobalFrameDidChangeNotification +JNIEXPORT jintLong JNICALL OS_NATIVE(NSViewGlobalFrameDidChangeNotification) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NSViewGlobalFrameDidChangeNotification_FUNC); + rc = (jintLong)NSViewGlobalFrameDidChangeNotification; + OS_NATIVE_EXIT(env, that, NSViewGlobalFrameDidChangeNotification_FUNC); + return rc; +} +#endif + +#ifndef NO_NewGlobalRef +JNIEXPORT jintLong JNICALL OS_NATIVE(NewGlobalRef) + (JNIEnv *env, jclass that, jobject arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NewGlobalRef_FUNC); + rc = (jintLong)(*env)->NewGlobalRef(env, arg0); + OS_NATIVE_EXIT(env, that, NewGlobalRef_FUNC); + return rc; +} +#endif + +#ifndef NO_NewRgn +JNIEXPORT jintLong JNICALL OS_NATIVE(NewRgn) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, NewRgn_FUNC); +/* + rc = (jintLong)NewRgn(); +*/ + { + LOAD_FUNCTION(fp, NewRgn) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, NewRgn_FUNC); + return rc; +} +#endif + +#ifndef NO_OffsetRgn +JNIEXPORT void JNICALL OS_NATIVE(OffsetRgn) + (JNIEnv *env, jclass that, jintLong arg0, jshort arg1, jshort arg2) +{ + OS_NATIVE_ENTER(env, that, OffsetRgn_FUNC); +/* + OffsetRgn(arg0, arg1, arg2); +*/ + { + LOAD_FUNCTION(fp, OffsetRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jshort, jshort))fp)(arg0, arg1, arg2); + } + } + OS_NATIVE_EXIT(env, that, OffsetRgn_FUNC); +} +#endif + +#ifndef NO_OpenRgn +JNIEXPORT void JNICALL OS_NATIVE(OpenRgn) + (JNIEnv *env, jclass that) +{ + OS_NATIVE_ENTER(env, that, OpenRgn_FUNC); +/* + OpenRgn(); +*/ + { + LOAD_FUNCTION(fp, OpenRgn) + if (fp) { + ((void (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, OpenRgn_FUNC); +} +#endif + +#ifndef NO_PtInRgn +JNIEXPORT jboolean JNICALL OS_NATIVE(PtInRgn) + (JNIEnv *env, jclass that, jshortArray arg0, jintLong arg1) +{ + jshort *lparg0=NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, PtInRgn_FUNC); + if (arg0) if ((lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL)) == NULL) goto fail; +/* + rc = (jboolean)PtInRgn(*(Point *)lparg0, arg1); +*/ + { + LOAD_FUNCTION(fp, PtInRgn) + if (fp) { + rc = (jboolean)((jboolean (CALLING_CONVENTION*)(Point, jintLong))fp)(*(Point *)lparg0, arg1); + } + } +fail: + if (arg0 && lparg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, PtInRgn_FUNC); + return rc; +} +#endif + +#ifndef NO_QDRegionToRects +JNIEXPORT jint JNICALL OS_NATIVE(QDRegionToRects) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jintLong arg2, jintLong arg3) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, QDRegionToRects_FUNC); +/* + rc = (jint)QDRegionToRects(arg0, arg1, arg2, arg3); +*/ + { + LOAD_FUNCTION(fp, QDRegionToRects) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jint, jintLong, jintLong))fp)(arg0, arg1, arg2, arg3); + } + } + OS_NATIVE_EXIT(env, that, QDRegionToRects_FUNC); + return rc; +} +#endif + +#ifndef NO_RectInRgn +JNIEXPORT jboolean JNICALL OS_NATIVE(RectInRgn) + (JNIEnv *env, jclass that, jshortArray arg0, jintLong arg1) +{ + jshort *lparg0=NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, RectInRgn_FUNC); + if (arg0) if ((lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL)) == NULL) goto fail; +/* + rc = (jboolean)RectInRgn(lparg0, arg1); +*/ + { + LOAD_FUNCTION(fp, RectInRgn) + if (fp) { + rc = (jboolean)((jboolean (CALLING_CONVENTION*)(jshort *, jintLong))fp)(lparg0, arg1); + } + } +fail: + if (arg0 && lparg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, RectInRgn_FUNC); + return rc; +} +#endif + +#ifndef NO_RectRgn +JNIEXPORT void JNICALL OS_NATIVE(RectRgn) + (JNIEnv *env, jclass that, jintLong arg0, jshortArray arg1) +{ + jshort *lparg1=NULL; + OS_NATIVE_ENTER(env, that, RectRgn_FUNC); + if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail; +/* + RectRgn(arg0, lparg1); +*/ + { + LOAD_FUNCTION(fp, RectRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jshort *))fp)(arg0, lparg1); + } + } +fail: + if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0); + OS_NATIVE_EXIT(env, that, RectRgn_FUNC); +} +#endif + +#ifndef NO_SectRgn +JNIEXPORT void JNICALL OS_NATIVE(SectRgn) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, SectRgn_FUNC); +/* + SectRgn(arg0, arg1, arg2); +*/ + { + LOAD_FUNCTION(fp, SectRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jintLong, jintLong))fp)(arg0, arg1, arg2); + } + } + OS_NATIVE_EXIT(env, that, SectRgn_FUNC); +} +#endif + +#ifndef NO_SetFrontProcess +JNIEXPORT jint JNICALL OS_NATIVE(SetFrontProcess) + (JNIEnv *env, jclass that, jintArray arg0) +{ + jint *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, SetFrontProcess_FUNC); + if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail; + rc = (jint)SetFrontProcess((ProcessSerialNumber *)lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, SetFrontProcess_FUNC); + return rc; +} +#endif + +#ifndef NO_SetRect +JNIEXPORT void JNICALL OS_NATIVE(SetRect) + (JNIEnv *env, jclass that, jshortArray arg0, jshort arg1, jshort arg2, jshort arg3, jshort arg4) +{ + jshort *lparg0=NULL; + OS_NATIVE_ENTER(env, that, SetRect_FUNC); + if (arg0) if ((lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL)) == NULL) goto fail; +/* + SetRect(lparg0, arg1, arg2, arg3, arg4); +*/ + { + LOAD_FUNCTION(fp, SetRect) + if (fp) { + ((void (CALLING_CONVENTION*)(jshort *, jshort, jshort, jshort, jshort))fp)(lparg0, arg1, arg2, arg3, arg4); + } + } +fail: + if (arg0 && lparg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, SetRect_FUNC); +} +#endif + +#ifndef NO_SetSystemUIMode +JNIEXPORT jint JNICALL OS_NATIVE(SetSystemUIMode) + (JNIEnv *env, jclass that, jint arg0, jint arg1) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, SetSystemUIMode_FUNC); +/* + rc = (jint)SetSystemUIMode((UInt32)arg0, (UInt32)arg1); +*/ + { + LOAD_FUNCTION(fp, SetSystemUIMode) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(UInt32, UInt32))fp)((UInt32)arg0, (UInt32)arg1); + } + } + OS_NATIVE_EXIT(env, that, SetSystemUIMode_FUNC); + return rc; +} +#endif + +#ifndef NO_SetThemeCursor +JNIEXPORT jint JNICALL OS_NATIVE(SetThemeCursor) + (JNIEnv *env, jclass that, jint arg0) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, SetThemeCursor_FUNC); +/* + rc = (jint)SetThemeCursor(arg0); +*/ + { + LOAD_FUNCTION(fp, SetThemeCursor) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(jint))fp)(arg0); + } + } + OS_NATIVE_EXIT(env, that, SetThemeCursor_FUNC); + return rc; +} +#endif + +#ifndef NO_TISCopyCurrentKeyboardInputSource +JNIEXPORT jintLong JNICALL OS_NATIVE(TISCopyCurrentKeyboardInputSource) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, TISCopyCurrentKeyboardInputSource_FUNC); +/* + rc = (jintLong)TISCopyCurrentKeyboardInputSource(); +*/ + { + LOAD_FUNCTION(fp, TISCopyCurrentKeyboardInputSource) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); + } + } + OS_NATIVE_EXIT(env, that, TISCopyCurrentKeyboardInputSource_FUNC); + return rc; +} +#endif + +#ifndef NO_TISGetInputSourceProperty +JNIEXPORT jintLong JNICALL OS_NATIVE(TISGetInputSourceProperty) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, TISGetInputSourceProperty_FUNC); +/* + rc = (jintLong)TISGetInputSourceProperty(arg0, arg1); +*/ + { + LOAD_FUNCTION(fp, TISGetInputSourceProperty) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); + } + } + OS_NATIVE_EXIT(env, that, TISGetInputSourceProperty_FUNC); + return rc; +} +#endif + +#ifndef NO_TransformProcessType +JNIEXPORT jint JNICALL OS_NATIVE(TransformProcessType) + (JNIEnv *env, jclass that, jintArray arg0, jint arg1) +{ + jint *lparg0=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, TransformProcessType_FUNC); + if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail; + rc = (jint)TransformProcessType((ProcessSerialNumber *)lparg0, arg1); +fail: + if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0); + OS_NATIVE_EXIT(env, that, TransformProcessType_FUNC); + return rc; +} +#endif + +#ifndef NO_UCKeyTranslate +JNIEXPORT jint JNICALL OS_NATIVE(UCKeyTranslate) + (JNIEnv *env, jclass that, jintLong arg0, jshort arg1, jshort arg2, jint arg3, jint arg4, jint arg5, jintArray arg6, jint arg7, jintArray arg8, jcharArray arg9) +{ + jint *lparg6=NULL; + jint *lparg8=NULL; + jchar *lparg9=NULL; + jint rc = 0; + OS_NATIVE_ENTER(env, that, UCKeyTranslate_FUNC); + if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail; + if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail; + if (arg9) if ((lparg9 = (*env)->GetCharArrayElements(env, arg9, NULL)) == NULL) goto fail; +/* + rc = (jint)UCKeyTranslate((const UCKeyboardLayout *)arg0, (UInt16)arg1, (UInt16)arg2, (UInt32)arg3, (UInt32)arg4, (OptionBits)arg5, (UInt32 *)lparg6, (UniCharCount)arg7, (UniCharCount *)lparg8, (UniChar *)lparg9); +*/ + { + LOAD_FUNCTION(fp, UCKeyTranslate) + if (fp) { + rc = (jint)((jint (CALLING_CONVENTION*)(const UCKeyboardLayout *, UInt16, UInt16, UInt32, UInt32, OptionBits, UInt32 *, UniCharCount, UniCharCount *, UniChar *))fp)((const UCKeyboardLayout *)arg0, (UInt16)arg1, (UInt16)arg2, (UInt32)arg3, (UInt32)arg4, (OptionBits)arg5, (UInt32 *)lparg6, (UniCharCount)arg7, (UniCharCount *)lparg8, (UniChar *)lparg9); + } + } +fail: + if (arg9 && lparg9) (*env)->ReleaseCharArrayElements(env, arg9, lparg9, 0); + if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0); + if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0); + OS_NATIVE_EXIT(env, that, UCKeyTranslate_FUNC); + return rc; +} +#endif + +#ifndef NO_UnionRgn +JNIEXPORT void JNICALL OS_NATIVE(UnionRgn) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, UnionRgn_FUNC); +/* + UnionRgn(arg0, arg1, arg2); +*/ + { + LOAD_FUNCTION(fp, UnionRgn) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jintLong, jintLong))fp)(arg0, arg1, arg2); + } + } + OS_NATIVE_EXIT(env, that, UnionRgn_FUNC); +} +#endif + +#ifndef NO_call +JNIEXPORT void JNICALL OS_NATIVE(call) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +{ + OS_NATIVE_ENTER(env, that, call_FUNC); + ((void (*)())arg0)(arg1, arg2); + OS_NATIVE_EXIT(env, that, call_FUNC); +} +#endif + +#ifndef NO_class_1addIvar +JNIEXPORT jboolean JNICALL OS_NATIVE(class_1addIvar) + (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jintLong arg2, jbyte arg3, jbyteArray arg4) +{ + jbyte *lparg1=NULL; + jbyte *lparg4=NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, class_1addIvar_FUNC); +#ifdef JNI_VERSION_1_2 + if (IS_JNI_1_2) { + if (arg1) if ((lparg1 = (*env)->GetPrimitiveArrayCritical(env, arg1, NULL)) == NULL) goto fail; + if (arg4) if ((lparg4 = (*env)->GetPrimitiveArrayCritical(env, arg4, NULL)) == NULL) goto fail; + } else +#endif + { + if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; + if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail; + } + rc = (jboolean)class_addIvar((Class)arg0, (const char *)lparg1, arg2, arg3, (const char *)lparg4); +fail: +#ifdef JNI_VERSION_1_2 + if (IS_JNI_1_2) { + if (arg4 && lparg4) (*env)->ReleasePrimitiveArrayCritical(env, arg4, lparg4, 0); + if (arg1 && lparg1) (*env)->ReleasePrimitiveArrayCritical(env, arg1, lparg1, 0); + } else +#endif + { + if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0); + if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); + } + OS_NATIVE_EXIT(env, that, class_1addIvar_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1addMethod +JNIEXPORT jboolean JNICALL OS_NATIVE(class_1addMethod) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jstring arg3) +{ + const char *lparg3= NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, class_1addMethod_FUNC); + if (arg3) if ((lparg3 = (*env)->GetStringUTFChars(env, arg3, NULL)) == NULL) goto fail; + rc = (jboolean)class_addMethod((Class)arg0, (SEL)arg1, (IMP)arg2, lparg3); +fail: + if (arg3 && lparg3) (*env)->ReleaseStringUTFChars(env, arg3, lparg3); + OS_NATIVE_EXIT(env, that, class_1addMethod_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1addProtocol +JNIEXPORT jboolean JNICALL OS_NATIVE(class_1addProtocol) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, class_1addProtocol_FUNC); + rc = (jboolean)class_addProtocol((Class)arg0, (Protocol *)arg1); + OS_NATIVE_EXIT(env, that, class_1addProtocol_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1createInstance +JNIEXPORT jintLong JNICALL OS_NATIVE(class_1createInstance) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, class_1createInstance_FUNC); + rc = (jintLong)class_createInstance((Class)arg0, (size_t)arg1); + OS_NATIVE_EXIT(env, that, class_1createInstance_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1getClassMethod +JNIEXPORT jintLong JNICALL OS_NATIVE(class_1getClassMethod) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, class_1getClassMethod_FUNC); + rc = (jintLong)class_getClassMethod((Class)arg0, (SEL)arg1); + OS_NATIVE_EXIT(env, that, class_1getClassMethod_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1getInstanceMethod +JNIEXPORT jintLong JNICALL OS_NATIVE(class_1getInstanceMethod) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, class_1getInstanceMethod_FUNC); + rc = (jintLong)class_getInstanceMethod((Class)arg0, (SEL)arg1); + OS_NATIVE_EXIT(env, that, class_1getInstanceMethod_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1getMethodImplementation +JNIEXPORT jintLong JNICALL OS_NATIVE(class_1getMethodImplementation) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, class_1getMethodImplementation_FUNC); + rc = (jintLong)class_getMethodImplementation((Class)arg0, (SEL)arg1); + OS_NATIVE_EXIT(env, that, class_1getMethodImplementation_FUNC); + return rc; +} +#endif + +#ifndef NO_class_1getSuperclass +JNIEXPORT jintLong JNICALL OS_NATIVE(class_1getSuperclass) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, class_1getSuperclass_FUNC); + rc = (jintLong)class_getSuperclass((Class)arg0); + OS_NATIVE_EXIT(env, that, class_1getSuperclass_FUNC); + return rc; +} +#endif + +#ifndef NO_getpid +JNIEXPORT jint JNICALL OS_NATIVE(getpid) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, getpid_FUNC); + rc = (jint)getpid(); + OS_NATIVE_EXIT(env, that, getpid_FUNC); + return rc; +} +#endif + +#ifndef NO_instrumentObjcMessageSends +JNIEXPORT void JNICALL OS_NATIVE(instrumentObjcMessageSends) + (JNIEnv *env, jclass that, jboolean arg0) +{ + OS_NATIVE_ENTER(env, that, instrumentObjcMessageSends_FUNC); +/* + instrumentObjcMessageSends(arg0); +*/ + { + LOAD_FUNCTION(fp, instrumentObjcMessageSends) + if (fp) { + ((void (CALLING_CONVENTION*)(jboolean))fp)(arg0); + } + } + OS_NATIVE_EXIT(env, that, instrumentObjcMessageSends_FUNC); +} +#endif + +#ifndef NO_kCFRunLoopCommonModes +JNIEXPORT jintLong JNICALL OS_NATIVE(kCFRunLoopCommonModes) + (JNIEnv *env, jclass that) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, kCFRunLoopCommonModes_FUNC); + rc = (jintLong)kCFRunLoopCommonModes; + OS_NATIVE_EXIT(env, that, kCFRunLoopCommonModes_FUNC); + return rc; +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_CGPathElement_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_CGPathElement_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + CGPathElement _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGPathElement_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getCGPathElementFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setCGPathElementFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGPathElement_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_CGPoint_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_CGPoint_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + CGPoint _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGPoint_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGPoint_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_CGRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_CGRect_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + CGRect _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGRect_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGRect_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_CGSize_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_CGSize_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + CGSize _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGSize_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getCGSizeFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setCGSizeFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_CGSize_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + NSAffineTransformStruct _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getNSAffineTransformStructFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setNSAffineTransformStructFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + NSPoint _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getNSPointFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setNSPointFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + NSRange _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getNSRangeFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setNSRangeFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + NSRect _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getNSRectFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setNSRectFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) +#endif +{ + NSSize _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J_FUNC); +#endif + if (arg1) if ((lparg1 = getNSSizeFields(env, arg1, &_arg1)) == NULL) goto fail; + memmove((void *)arg0, (void *)lparg1, arg2); +fail: + if (arg1 && lparg1) setNSSizeFields(env, arg1, lparg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + CGPathElement _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setCGPathElementFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + CGPoint _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + CGRect _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + CGSize _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setCGSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSAffineTransformStruct _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setNSAffineTransformStructFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSPoint _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSRange _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setNSRangeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSRect _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II) && !defined(JNI64)) || (!defined(NO_memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSSize _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail; + memmove((void *)lparg0, (void *)arg1, arg2); +fail: + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ_FUNC); +#endif +} +#endif + +#ifndef NO_method_1setImplementation +JNIEXPORT jintLong JNICALL OS_NATIVE(method_1setImplementation) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, method_1setImplementation_FUNC); + rc = (jintLong)method_setImplementation((Method)arg0, (IMP)arg1); + OS_NATIVE_EXIT(env, that, method_1setImplementation_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1allocateClassPair +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1allocateClassPair) + (JNIEnv *env, jclass that, jintLong arg0, jstring arg1, jintLong arg2) +{ + const char *lparg1= NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1allocateClassPair_FUNC); + if (arg1) if ((lparg1 = (*env)->GetStringUTFChars(env, arg1, NULL)) == NULL) goto fail; + rc = (jintLong)objc_allocateClassPair((Class)arg0, lparg1, arg2); +fail: + if (arg1 && lparg1) (*env)->ReleaseStringUTFChars(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, objc_1allocateClassPair_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1getClass +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1getClass) + (JNIEnv *env, jclass that, jstring arg0) +{ + const char *lparg0= NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1getClass_FUNC); + if (arg0) if ((lparg0 = (*env)->GetStringUTFChars(env, arg0, NULL)) == NULL) goto fail; + rc = (jintLong)objc_getClass(lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseStringUTFChars(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, objc_1getClass_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1getMetaClass +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1getMetaClass) + (JNIEnv *env, jclass that, jstring arg0) +{ + const char *lparg0= NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1getMetaClass_FUNC); + if (arg0) if ((lparg0 = (*env)->GetStringUTFChars(env, arg0, NULL)) == NULL) goto fail; + rc = (jintLong)objc_getMetaClass(lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseStringUTFChars(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, objc_1getMetaClass_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1getProtocol +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1getProtocol) + (JNIEnv *env, jclass that, jstring arg0) +{ + const char *lparg0= NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1getProtocol_FUNC); + if (arg0) if ((lparg0 = (*env)->GetStringUTFChars(env, arg0, NULL)) == NULL) goto fail; + rc = (jintLong)objc_getProtocol(lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseStringUTFChars(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, objc_1getProtocol_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1lookUpClass +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1lookUpClass) + (JNIEnv *env, jclass that, jstring arg0) +{ + const char *lparg0= NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1lookUpClass_FUNC); + if (arg0) if ((lparg0 = (*env)->GetStringUTFChars(env, arg0, NULL)) == NULL) goto fail; + rc = (jintLong)objc_lookUpClass(lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseStringUTFChars(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, objc_1lookUpClass_FUNC); + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong))objc_msgSend)(arg0, arg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IID) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IID)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IID_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJD_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jdouble))objc_msgSend)(arg0, arg1, arg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IID_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIDIIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJDJJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIDIIIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jintLong arg3, jintLong arg4, jintLong arg5, jboolean arg6) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJDJJJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jintLong arg3, jintLong arg4, jintLong arg5, jboolean arg6) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIDIIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJDJJJZ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jdouble, jintLong, jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5, arg6); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIDIIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJDJJJZ_FUNC); +#endif + return rc; +} +#endif + +#ifndef NO_objc_1msgSend__IIF +JNIEXPORT jint JNICALL OS_NATIVE(objc_1msgSend__IIF) + (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIF_FUNC); + rc = (jint)((jint (*)(jint, jint, jfloat))objc_msgSend)(arg0, arg1, arg2); + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIF_FUNC); + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIFF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJDD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIFF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJDD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIFF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJDD_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jfloatDouble, jfloatDouble))objc_msgSend)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIFF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJDD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIFFFF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJDDDD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIFFFF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJDDDD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIFFFF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJDDDD_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jfloatDouble, jfloatDouble, jfloatDouble, jfloatDouble))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIFFFF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJDDDD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIFI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJDJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIFI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJDJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDouble arg2, jintLong arg3) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIFI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJDJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jfloatDouble, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIFI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJDJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__III)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jfloatDouble arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jfloatDouble arg3) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJD_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jfloatDouble))objc_msgSend)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3, arg4); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIIF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIIF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jfloatDouble arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jfloatDouble arg5) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIIF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJD_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jfloatDouble))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIIF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5, arg6); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIIIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIIIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jintLong arg7, jintLong arg8) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jintLong arg7, jintLong arg8) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIIIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJJJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIIIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIIIIZZIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJJJZZJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIIIIZZIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jboolean arg7, jboolean arg8, jintLong arg9, jintLong arg10, jintLong arg11) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJJJZZJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jboolean arg7, jboolean arg8, jintLong arg9, jintLong arg10, jintLong arg11) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIIIIZZIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJJJZZJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jboolean, jboolean, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIIIIZZIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJJJZZJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIIIIZZIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJJJZZJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIIIIZZIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jboolean arg7, jboolean arg8, jintLong arg9, jintLong arg10, jintLong arg11, jintLong arg12) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJJJZZJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jboolean arg7, jboolean arg8, jintLong arg9, jintLong arg10, jintLong arg11, jintLong arg12) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIIIIZZIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJJJZZJJJJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jboolean, jboolean, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIIIIZZIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJJJZZJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJJZ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, arg2, arg3, arg4, arg5); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jobject arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jobject arg4) +#endif +{ + NSRange _arg4, *lparg4=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + if (arg4) if ((lparg4 = getNSRangeFields(env, arg4, &_arg4)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, NSRange))objc_msgSend)(arg0, arg1, arg2, arg3, *lparg4); +fail: + if (arg4 && lparg4) setNSRangeFields(env, arg4, lparg4); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jboolean arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jboolean arg4) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJJZ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, arg2, arg3, arg4); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSPoint))objc_msgSend)(arg0, arg1, arg2, *lparg3); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSPoint, jintLong))objc_msgSend)(arg0, arg1, arg2, *lparg3, arg4); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4, jdouble arg5, jintLong arg6, jintLong arg7, jintLong arg8, jintLong arg9, jintLong arg10) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4, jdouble arg5, jintLong arg6, jintLong arg7, jintLong arg8, jintLong arg9, jintLong arg10) +#endif +{ + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ_FUNC); +#endif + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSPoint, jintLong, jdouble, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, *lparg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4, jdouble arg5, jintLong arg6, jintLong arg7, jshort arg8, jintLong arg9, jintLong arg10) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4, jdouble arg5, jintLong arg6, jintLong arg7, jshort arg8, jintLong arg9, jintLong arg10) +#endif +{ + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ_FUNC); +#endif + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSPoint, jintLong, jdouble, jintLong, jintLong, jshort, jintLong, jintLong))objc_msgSend)(arg0, arg1, arg2, *lparg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2IIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2IIIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jobject arg4, jintLong arg5, jintLong arg6, jintLong arg7, jboolean arg8) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jobject arg4, jintLong arg5, jintLong arg6, jintLong arg7, jboolean arg8) +#endif +{ + NSPoint _arg3, *lparg3=NULL; + NSSize _arg4, *lparg4=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2IIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ_FUNC); +#endif + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + if (arg4) if ((lparg4 = getNSSizeFields(env, arg4, &_arg4)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSPoint, NSSize, jintLong, jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, arg2, *lparg3, *lparg4, arg5, arg6, arg7, arg8); +fail: + if (arg4 && lparg4) setNSSizeFields(env, arg4, lparg4); + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2IIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSRange _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + if (arg3) if ((lparg3 = getNSRangeFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSRange))objc_msgSend)(arg0, arg1, arg2, *lparg3); +fail: + if (arg3 && lparg3) setNSRangeFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSRect _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, NSRect, jintLong))objc_msgSend)(arg0, arg1, arg2, *lparg3, arg4); +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jboolean arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jboolean arg3) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJJZ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSAffineTransformStruct _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSAffineTransformStructFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSAffineTransformStruct))objc_msgSend)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSAffineTransformStructFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint))objc_msgSend)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDD_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint, jfloatDouble, jfloatDouble, jfloatDouble))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5); +fail: + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5, jboolean arg6) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3, jfloatDouble arg4, jfloatDouble arg5, jboolean arg6) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint, jfloatDouble, jfloatDouble, jfloatDouble, jboolean))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5, arg6); +fail: + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jfloatDoubleArray arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jfloatDoubleArray arg4) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + jfloatDouble *lparg4=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg4) if ((lparg4 = (*env)->GetFloatDoubleArrayElements(env, arg4, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint, jintLong, jfloatDouble *))objc_msgSend)(arg0, arg1, *lparg2, arg3, lparg4); +fail: + if (arg4 && lparg4) (*env)->ReleaseFloatDoubleArrayElements(env, arg4, lparg4, 0); + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint, NSPoint, jintLong))objc_msgSend)(arg0, arg1, *lparg2, *lparg3, arg4); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jobject arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jobject arg4) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + NSPoint _arg3, *lparg3=NULL; + NSPoint _arg4, *lparg4=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + if (arg4) if ((lparg4 = getNSPointFields(env, arg4, &_arg4)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint, NSPoint, NSPoint))objc_msgSend)(arg0, arg1, *lparg2, *lparg3, *lparg4); +fail: + if (arg4 && lparg4) setNSPointFields(env, arg4, lparg4); + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4, jfloatDouble arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4, jfloatDouble arg5) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + NSRect _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSPoint, NSRect, jintLong, jfloatDouble))objc_msgSend)(arg0, arg1, *lparg2, *lparg3, arg4, arg5); +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSRange _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRange))objc_msgSend)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3) +#endif +{ + NSRange _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRange, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2IIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jintLong arg7) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6, jintLong arg7) +#endif +{ + NSRange _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2IIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJJ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRange, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5, arg6, arg7); +fail: + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2IIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3) +#endif +{ + NSRange _arg2, *lparg2=NULL; + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRange, NSPoint))objc_msgSend)(arg0, arg1, *lparg2, *lparg3); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4, jintLong arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4, jintLong arg5) +#endif +{ + NSRange _arg2, *lparg2=NULL; + NSRange _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRangeFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRange, NSRange, jintLong, jintLong))objc_msgSend)(arg0, arg1, *lparg2, *lparg3, arg4, arg5); +fail: + if (arg3 && lparg3) setNSRangeFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect))objc_msgSend)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jfloatDouble))objc_msgSend)(arg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3, jfloatDouble arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jfloatDouble arg3, jfloatDouble arg4) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jfloatDouble, jfloatDouble))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jintLong, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2III)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jintLong arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jintLong arg5) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJJ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jintLong, jintLong, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jboolean arg5, jintLong arg6) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jintLong arg4, jboolean arg5, jintLong arg6) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jintLong, jintLong, jboolean, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5, arg6); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jboolean arg4, jintLong arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3, jboolean arg4, jintLong arg5) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jintLong, jboolean, jintLong))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4, arg5); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3) +#endif +{ + NSRect _arg2, *lparg2=NULL; + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, NSPoint))objc_msgSend)(arg0, arg1, *lparg2, *lparg3); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jobject arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jobject arg4) +#endif +{ + NSRect _arg2, *lparg2=NULL; + NSRange _arg3, *lparg3=NULL; + NSRect _arg4, *lparg4=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRangeFields(env, arg3, &_arg3)) == NULL) goto fail; + if (arg4) if ((lparg4 = getNSRectFields(env, arg4, &_arg4)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, NSRange, NSRect))objc_msgSend)(arg0, arg1, *lparg2, *lparg3, *lparg4); +fail: + if (arg4 && lparg4) setNSRectFields(env, arg4, lparg4); + if (arg3 && lparg3) setNSRangeFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4, jfloatDouble arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jobject arg3, jintLong arg4, jfloatDouble arg5) +#endif +{ + NSRect _arg2, *lparg2=NULL; + NSRect _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, NSRect, jintLong, jfloatDouble))objc_msgSend)(arg0, arg1, *lparg2, *lparg3, arg4, arg5); +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jboolean arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jboolean arg3) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jboolean))objc_msgSend)(arg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2ZZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2ZZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jboolean arg3, jboolean arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jboolean arg3, jboolean arg4) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2ZZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSRect, jboolean, jboolean))objc_msgSend)(arg0, arg1, *lparg2, arg3, arg4); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2ZZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSSize _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSSizeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, NSSize))objc_msgSend)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSSizeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJZ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJZ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jboolean))objc_msgSend)(arg0, arg1, arg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__IIZI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJZJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__IIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJZJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2, jintLong arg3) +#endif +{ + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__IIZI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJZJ_FUNC); +#endif + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jboolean, jintLong))objc_msgSend)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__IIZI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJZJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3B) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3B) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3B)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jbyteArray arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3B)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jbyteArray arg2) +#endif +{ + jbyte *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3B_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3B_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jbyte *))objc_msgSend)(arg0, arg1, lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3B_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3B_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3BI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3BJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jbyteArray arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3BJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jbyteArray arg2, jintLong arg3) +#endif +{ + jbyte *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3BI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3BJ_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jbyte *, jintLong))objc_msgSend)(arg0, arg1, lparg2, arg3); +fail: + if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3BI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3BJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3C) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3C) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3C)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3C)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2) +#endif +{ + jchar *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3C_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3C_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jchar *))objc_msgSend)(arg0, arg1, lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3C_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3C_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3CI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3CJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3CI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3CJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2, jintLong arg3) +#endif +{ + jchar *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3CI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3CJ_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jchar *, jintLong))objc_msgSend)(arg0, arg1, lparg2, arg3); +fail: + if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3CI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3CJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2, jobject arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jcharArray arg2, jobject arg3) +#endif +{ + jchar *lparg2=NULL; + NSRange _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRangeFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jchar *, NSRange))objc_msgSend)(arg0, arg1, lparg2, *lparg3); +fail: + if (arg3 && lparg3) setNSRangeFields(env, arg3, lparg3); + if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3F) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3D) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3F)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDoubleArray arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3D)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDoubleArray arg2) +#endif +{ + jfloatDouble *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3F_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3D_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetFloatDoubleArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jfloatDouble *))objc_msgSend)(arg0, arg1, lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseFloatDoubleArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3F_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3D_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3FIF) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3DJD) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3FIF)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDoubleArray arg2, jintLong arg3, jfloatDouble arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3DJD)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jfloatDoubleArray arg2, jintLong arg3, jfloatDouble arg4) +#endif +{ + jfloatDouble *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3FIF_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3DJD_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetFloatDoubleArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jfloatDouble *, jintLong, jfloatDouble))objc_msgSend)(arg0, arg1, lparg2, arg3, arg4); +fail: + if (arg2 && lparg2) (*env)->ReleaseFloatDoubleArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3FIF_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3DJD_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2) +#endif +{ + jintLong *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3J_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong *))objc_msgSend)(arg0, arg1, lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend__II_3III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend__JJ_3JII) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__II_3III)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2, jint arg3, jint arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSend__JJ_3JII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2, jint arg3, jint arg4) +#endif +{ + jintLong *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend__II_3III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3JII_FUNC); +#endif + if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(jintLong, jintLong, jintLong *, jint, jint))objc_msgSend)(arg0, arg1, lparg2, arg3, arg4); +fail: + if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend__II_3III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3JII_FUNC); +#endif + return rc; +} +#endif + +#ifndef NO_objc_1msgSend__JJFD +JNIEXPORT jlong JNICALL OS_NATIVE(objc_1msgSend__JJFD) + (JNIEnv *env, jclass that, jlong arg0, jlong arg1, jfloat arg2, jdouble arg3) +{ + jlong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJFD_FUNC); + rc = (jlong)((jlong (*)(jlong, jlong, jfloat, jdouble))objc_msgSend)(arg0, arg1, arg2, arg3); + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJFD_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1msgSend__JJI +JNIEXPORT jlong JNICALL OS_NATIVE(objc_1msgSend__JJI) + (JNIEnv *env, jclass that, jlong arg0, jlong arg1, jint arg2) +{ + jlong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJI_FUNC); + rc = (jlong)((jlong (*)(jlong, jlong, jint))objc_msgSend)(arg0, arg1, arg2); + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJI_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1msgSend__JJ_3I +JNIEXPORT jlong JNICALL OS_NATIVE(objc_1msgSend__JJ_3I) + (JNIEnv *env, jclass that, jlong arg0, jlong arg1, jintArray arg2) +{ + jint *lparg2=NULL; + jlong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3I_FUNC); + if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jlong)((jlong (*)(jlong, jlong, jint *))objc_msgSend)(arg0, arg1, lparg2); +fail: + if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3I_FUNC); + return rc; +} +#endif + +#ifndef NO_objc_1msgSend__JJ_3JJJ +JNIEXPORT jlong JNICALL OS_NATIVE(objc_1msgSend__JJ_3JJJ) + (JNIEnv *env, jclass that, jlong arg0, jlong arg1, jlongArray arg2, jlong arg3, jlong arg4) +{ + jlong *lparg2=NULL; + jlong rc = 0; + OS_NATIVE_ENTER(env, that, objc_1msgSend__JJ_3JJJ_FUNC); + if (arg2) if ((lparg2 = (*env)->GetLongArrayElements(env, arg2, NULL)) == NULL) goto fail; + rc = (jlong)((jlong (*)(jlong, jlong, jlong *, jlong, jlong))objc_msgSend)(arg0, arg1, lparg2, arg3, arg4); +fail: + if (arg2 && lparg2) (*env)->ReleaseLongArrayElements(env, arg2, lparg2, 0); + OS_NATIVE_EXIT(env, that, objc_1msgSend__JJ_3JJJ_FUNC); + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong))objc_msgSendSuper)(lparg0, arg1); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong))objc_msgSendSuper)(lparg0, arg1, arg2); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2III) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2III)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong, jintLong))objc_msgSendSuper)(lparg0, arg1, arg2, arg3); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIII)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSendSuper)(lparg0, arg1, arg2, arg3, arg4, arg5); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong, jintLong, jintLong, jboolean))objc_msgSendSuper)(lparg0, arg1, arg2, arg3, arg4, arg5); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + NSPoint _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong, NSPoint, jintLong))objc_msgSendSuper)(lparg0, arg1, arg2, *lparg3, arg4); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + NSRect _arg3, *lparg3=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong, NSRect, jintLong))objc_msgSendSuper)(lparg0, arg1, arg2, *lparg3, arg4); +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jboolean arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jboolean arg3) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jintLong, jboolean))objc_msgSendSuper)(lparg0, arg1, arg2, arg3); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + NSPoint _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, NSPoint))objc_msgSendSuper)(lparg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, NSRect))objc_msgSendSuper)(lparg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2, jintLong arg3) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2, jintLong arg3) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + NSRect _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, NSRect, jintLong))objc_msgSendSuper)(lparg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + NSSize _arg2, *lparg2=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSSizeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, NSSize))objc_msgSendSuper)(lparg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSSizeFields(env, arg2, lparg2); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jboolean arg2) +#else +JNIEXPORT jintLong JNICALL OS_NATIVE(objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jboolean arg2) +#endif +{ + struct objc_super _arg0, *lparg0=NULL; + jintLong rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ_FUNC); +#endif + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + rc = (jintLong)((jintLong (*)(struct objc_super *, jintLong, jboolean))objc_msgSendSuper)(lparg0, arg1, arg2); +fail: + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ_FUNC); +#endif + return rc; +} +#endif + +#ifndef NO_objc_1msgSendSuper_1bool +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSendSuper_1bool) + (JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jobject arg2, jintLong arg3) +{ + struct objc_super _arg0, *lparg0=NULL; + NSRange _arg2, *lparg2=NULL; + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1bool_FUNC); + if (arg0) if ((lparg0 = getobjc_superFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jboolean)((jboolean (*)(struct objc_super *, jintLong, NSRange, jintLong))objc_msgSendSuper_bool)(lparg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); + if (arg0 && lparg0) setobjc_superFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1bool_FUNC); + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jobject arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jobject arg1, jintLong arg2, jobject arg3) +#endif +{ + NSRect _arg0, *lparg0=NULL; + struct objc_super _arg1, *lparg1=NULL; + NSRect _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg1) if ((lparg1 = getobjc_superFields(env, arg1, &_arg1)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(struct objc_super *, jintLong, NSRect))objc_msgSendSuper_stret)(lparg1, arg2, *lparg3); + } else { + *lparg0 = (*(NSRect (*)(struct objc_super *, jintLong, NSRect))objc_msgSendSuper)(lparg1, arg2, *lparg3); + } +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg1 && lparg1) setobjc_superFields(env, arg1, lparg1); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jobject arg0, jobject arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jobject arg0, jobject arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSRect _arg0, *lparg0=NULL; + struct objc_super _arg1, *lparg1=NULL; + NSRect _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg1) if ((lparg1 = getobjc_superFields(env, arg1, &_arg1)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(struct objc_super *, jintLong, NSRect, jintLong))objc_msgSendSuper_stret)(lparg1, arg2, *lparg3, arg4); + } else { + *lparg0 = (*(NSRect (*)(struct objc_super *, jintLong, NSRect, jintLong))objc_msgSendSuper)(lparg1, arg2, *lparg3, arg4); + } +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg1 && lparg1) setobjc_superFields(env, arg1, lparg1); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2I)(JNIEnv *env, jclass that, jobject arg0, jobject arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J)(JNIEnv *env, jclass that, jobject arg0, jobject arg1, jintLong arg2) +#endif +{ + NSSize _arg0, *lparg0=NULL; + struct objc_super _arg1, *lparg1=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSSizeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg1) if ((lparg1 = getobjc_superFields(env, arg1, &_arg1)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSSize (*)(struct objc_super *, jintLong))objc_msgSendSuper_stret)(lparg1, arg2); + } else { + *lparg0 = (*(NSSize (*)(struct objc_super *, jintLong))objc_msgSendSuper)(lparg1, arg2); + } +fail: + if (arg1 && lparg1) setobjc_superFields(env, arg1, lparg1); + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +#endif +{ + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJ_FUNC); +#endif + rc = (jboolean)((BOOL (*)(jintLong, jintLong))objc_msgSend_bool)(arg0, arg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__III)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +#endif +{ + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJJ_FUNC); +#endif + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jintLong))objc_msgSend_bool)(arg0, arg1, arg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJJJ_FUNC); +#endif + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jintLong, jintLong))objc_msgSend_bool)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4) +#endif +{ + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJJJJ_FUNC); +#endif + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend_bool)(arg0, arg1, arg2, arg3, arg4); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IIIIIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJJJJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IIIIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJJJJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jintLong arg5, jintLong arg6) +#endif +{ + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IIIIIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJJJJJJ_FUNC); +#endif + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jintLong, jintLong, jintLong, jintLong, jintLong))objc_msgSend_bool)(arg0, arg1, arg2, arg3, arg4, arg5, arg6); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IIIIIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJJJJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSPoint _arg3, *lparg3=NULL; + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jintLong, NSPoint))objc_msgSend_bool)(arg0, arg1, arg2, *lparg3); +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSSize_2Z) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSSize_2Z)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jboolean arg4) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jobject arg3, jboolean arg4) +#endif +{ + NSSize _arg3, *lparg3=NULL; + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSSize_2Z_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z_FUNC); +#endif + if (arg3) if ((lparg3 = getNSSizeFields(env, arg3, &_arg3)) == NULL) goto fail; + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jintLong, NSSize, jboolean))objc_msgSend_bool)(arg0, arg1, arg2, *lparg3, arg4); +fail: + if (arg3 && lparg3) setNSSizeFields(env, arg3, lparg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSSize_2Z_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSPoint _arg2, *lparg2=NULL; + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jboolean)((BOOL (*)(jintLong, jintLong, NSPoint))objc_msgSend_bool)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRange_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRange_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2, jintLong arg3) +#endif +{ + NSRange _arg2, *lparg2=NULL; + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRangeFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jboolean)((BOOL (*)(jintLong, jintLong, NSRange, jintLong))objc_msgSend_bool)(arg0, arg1, *lparg2, arg3); +fail: + if (arg2 && lparg2) setNSRangeFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2) +#endif +{ + NSRect _arg2, *lparg2=NULL; + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + rc = (jboolean)((BOOL (*)(jintLong, jintLong, NSRect))objc_msgSend_bool)(arg0, arg1, *lparg2); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1bool__IIS) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1bool__JJS) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__IIS)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jshort arg2) +#else +JNIEXPORT jboolean JNICALL OS_NATIVE(objc_1msgSend_1bool__JJS)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jshort arg2) +#endif +{ + jboolean rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__IIS_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1bool__JJS_FUNC); +#endif + rc = (jboolean)((BOOL (*)(jintLong, jintLong, jshort))objc_msgSend_bool)(arg0, arg1, arg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__IIS_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1bool__JJS_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1fpret__II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1fpret__JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jdouble JNICALL OS_NATIVE(objc_1msgSend_1fpret__II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +#else +JNIEXPORT jdouble JNICALL OS_NATIVE(objc_1msgSend_1fpret__JJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +#endif +{ + jdouble rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1fpret__II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1fpret__JJ_FUNC); +#endif + rc = (jdouble)((jdouble (*)(jintLong, jintLong))objc_msgSend_fpret)(arg0, arg1); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1fpret__II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1fpret__JJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1fpret__III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1fpret__JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jdouble JNICALL OS_NATIVE(objc_1msgSend_1fpret__III)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT jdouble JNICALL OS_NATIVE(objc_1msgSend_1fpret__JJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) +#endif +{ + jdouble rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1fpret__III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1fpret__JJJ_FUNC); +#endif + rc = (jdouble)((jdouble (*)(jintLong, jintLong, jintLong))objc_msgSend_fpret)(arg0, arg1, arg2); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1fpret__III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1fpret__JJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1fpret__IIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1fpret__JJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT jdouble JNICALL OS_NATIVE(objc_1msgSend_1fpret__IIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT jdouble JNICALL OS_NATIVE(objc_1msgSend_1fpret__JJJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + jdouble rc = 0; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1fpret__IIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1fpret__JJJJ_FUNC); +#endif + rc = (jdouble)((jdouble (*)(jintLong, jintLong, jintLong, jintLong))objc_msgSend_fpret)(arg0, arg1, arg2, arg3); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1fpret__IIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1fpret__JJJJ_FUNC); +#endif + return rc; +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSAffineTransformStruct _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSAffineTransformStructFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSAffineTransformStruct (*)(jintLong, jintLong))objc_msgSend_stret)(arg1, arg2); + } else { + *lparg0 = (*(NSAffineTransformStruct (*)(jintLong, jintLong))objc_msgSend)(arg1, arg2); + } +fail: + if (arg0 && lparg0) setNSAffineTransformStructFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSPoint _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSPointFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong))objc_msgSend_stret)(arg1, arg2); + } else { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong))objc_msgSend)(arg1, arg2); + } +fail: + if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + NSPoint _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSPointFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong, jintLong))objc_msgSend_stret)(arg1, arg2, arg3); + } else { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong, jintLong))objc_msgSend)(arg1, arg2, arg3); + } +fail: + if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSPoint _arg0, *lparg0=NULL; + NSPoint _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif + if (arg0) if ((lparg0 = getNSPointFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong, NSPoint))objc_msgSend_stret)(arg1, arg2, *lparg3); + } else { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong, NSPoint))objc_msgSend)(arg1, arg2, *lparg3); + } +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSPoint _arg0, *lparg0=NULL; + NSPoint _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSPointFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong, NSPoint, jintLong))objc_msgSend_stret)(arg1, arg2, *lparg3, arg4); + } else { + *lparg0 = (*(NSPoint (*)(jintLong, jintLong, NSPoint, jintLong))objc_msgSend)(arg1, arg2, *lparg3, arg4); + } +fail: + if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSRange _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRangeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRange (*)(jintLong, jintLong))objc_msgSend_stret)(arg1, arg2); + } else { + *lparg0 = (*(NSRange (*)(jintLong, jintLong))objc_msgSend)(arg1, arg2); + } +fail: + if (arg0 && lparg0) setNSRangeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + NSRange _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRangeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRange (*)(jintLong, jintLong, jintLong))objc_msgSend_stret)(arg1, arg2, arg3); + } else { + *lparg0 = (*(NSRange (*)(jintLong, jintLong, jintLong))objc_msgSend)(arg1, arg2, arg3); + } +fail: + if (arg0 && lparg0) setNSRangeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSRange _arg0, *lparg0=NULL; + NSRange _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRangeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRangeFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRange (*)(jintLong, jintLong, NSRange, jintLong))objc_msgSend_stret)(arg1, arg2, *lparg3, arg4); + } else { + *lparg0 = (*(NSRange (*)(jintLong, jintLong, NSRange, jintLong))objc_msgSend)(arg1, arg2, *lparg3, arg4); + } +fail: + if (arg3 && lparg3) setNSRangeFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSRangeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSRange _arg0, *lparg0=NULL; + NSRect _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRangeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRange (*)(jintLong, jintLong, NSRect))objc_msgSend_stret)(arg1, arg2, *lparg3); + } else { + *lparg0 = (*(NSRange (*)(jintLong, jintLong, NSRect))objc_msgSend)(arg1, arg2, *lparg3); + } +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSRangeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSRect _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong))objc_msgSend_stret)(arg1, arg2); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong))objc_msgSend)(arg1, arg2); + } +fail: + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3) +#endif +{ + NSRect _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, jintLong))objc_msgSend_stret)(arg1, arg2, arg3); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, jintLong))objc_msgSend)(arg1, arg2, arg3); + } +fail: + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4) +#endif +{ + NSRect _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, jintLong, jintLong))objc_msgSend_stret)(arg1, arg2, arg3, arg4); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, jintLong, jintLong))objc_msgSend)(arg1, arg2, arg3, arg4); + } +fail: + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jintLong arg3, jintLong arg4, jboolean arg5) +#endif +{ + NSRect _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, jintLong, jintLong, jboolean))objc_msgSend_stret)(arg1, arg2, arg3, arg4, arg5); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, jintLong, jintLong, jboolean))objc_msgSend)(arg1, arg2, arg3, arg4, arg5); + } +fail: + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSRect _arg0, *lparg0=NULL; + NSRange _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRangeFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, NSRange, jintLong))objc_msgSend_stret)(arg1, arg2, *lparg3, arg4); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, NSRange, jintLong))objc_msgSend)(arg1, arg2, *lparg3, arg4); + } +fail: + if (arg3 && lparg3) setNSRangeFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSRect _arg0, *lparg0=NULL; + NSRect _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, NSRect))objc_msgSend_stret)(arg1, arg2, *lparg3); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, NSRect))objc_msgSend)(arg1, arg2, *lparg3); + } +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSRect _arg0, *lparg0=NULL; + NSRect _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, NSRect, jintLong))objc_msgSend_stret)(arg1, arg2, *lparg3, arg4); + } else { + *lparg0 = (*(NSRect (*)(jintLong, jintLong, NSRect, jintLong))objc_msgSend)(arg1, arg2, *lparg3, arg4); + } +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2) +#endif +{ + NSSize _arg0, *lparg0=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSSizeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSSize (*)(jintLong, jintLong))objc_msgSend_stret)(arg1, arg2); + } else { + *lparg0 = (*(NSSize (*)(jintLong, jintLong))objc_msgSend)(arg1, arg2); + } +fail: + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSRect_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSSize _arg0, *lparg0=NULL; + NSRect _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif + if (arg0) if ((lparg0 = getNSSizeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSRect))objc_msgSend_stret)(arg1, arg2, *lparg3); + } else { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSRect))objc_msgSend)(arg1, arg2, *lparg3); + } +fail: + if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3) +#endif +{ + NSSize _arg0, *lparg0=NULL; + NSSize _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#endif + if (arg0) if ((lparg0 = getNSSizeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSSizeFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSSize))objc_msgSend_stret)(arg1, arg2, *lparg3); + } else { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSSize))objc_msgSend)(arg1, arg2, *lparg3); + } +fail: + if (arg3 && lparg3) setNSSizeFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jintLong arg4) +#endif +{ + NSSize _arg0, *lparg0=NULL; + NSSize _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J_FUNC); +#endif + if (arg0) if ((lparg0 = getNSSizeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSSizeFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSSize, jintLong))objc_msgSend_stret)(arg1, arg2, *lparg3, arg4); + } else { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSSize, jintLong))objc_msgSend)(arg1, arg2, *lparg3, arg4); + } +fail: + if (arg3 && lparg3) setNSSizeFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J_FUNC); +#endif +} +#endif + +#if (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI) && !defined(JNI64)) || (!defined(NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ) && defined(JNI64)) +#ifndef JNI64 +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jboolean arg4, jboolean arg5, jintLong arg6) +#else +JNIEXPORT void JNICALL OS_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ)(JNIEnv *env, jclass that, jobject arg0, jintLong arg1, jintLong arg2, jobject arg3, jboolean arg4, jboolean arg5, jintLong arg6) +#endif +{ + NSSize _arg0, *lparg0=NULL; + NSSize _arg3, *lparg3=NULL; +#ifndef JNI64 + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_FUNC); +#else + OS_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ_FUNC); +#endif + if (arg0) if ((lparg0 = getNSSizeFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg3) if ((lparg3 = getNSSizeFields(env, arg3, &_arg3)) == NULL) goto fail; + if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSSize, jboolean, jboolean, jintLong))objc_msgSend_stret)(arg1, arg2, *lparg3, arg4, arg5, arg6); + } else { + *lparg0 = (*(NSSize (*)(jintLong, jintLong, NSSize, jboolean, jboolean, jintLong))objc_msgSend)(arg1, arg2, *lparg3, arg4, arg5, arg6); + } +fail: + if (arg3 && lparg3) setNSSizeFields(env, arg3, lparg3); + if (arg0 && lparg0) setNSSizeFields(env, arg0, lparg0); +#ifndef JNI64 + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_FUNC); +#else + OS_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ_FUNC); +#endif +} +#endif + +#ifndef NO_objc_1registerClassPair +JNIEXPORT void JNICALL OS_NATIVE(objc_1registerClassPair) + (JNIEnv *env, jclass that, jintLong arg0) +{ + OS_NATIVE_ENTER(env, that, objc_1registerClassPair_FUNC); + objc_registerClassPair((Class)arg0); + OS_NATIVE_EXIT(env, that, objc_1registerClassPair_FUNC); +} +#endif + +#ifndef NO_objc_1super_1sizeof +JNIEXPORT jint JNICALL OS_NATIVE(objc_1super_1sizeof) + (JNIEnv *env, jclass that) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, objc_1super_1sizeof_FUNC); + rc = (jint)objc_super_sizeof(); + OS_NATIVE_EXIT(env, that, objc_1super_1sizeof_FUNC); + return rc; +} +#endif + +#ifndef NO_object_1getClass +JNIEXPORT jintLong JNICALL OS_NATIVE(object_1getClass) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, object_1getClass_FUNC); + rc = (jintLong)object_getClass((id)arg0); + OS_NATIVE_EXIT(env, that, object_1getClass_FUNC); + return rc; +} +#endif + +#ifndef NO_object_1getClassName +JNIEXPORT jintLong JNICALL OS_NATIVE(object_1getClassName) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, object_1getClassName_FUNC); + rc = (jintLong)object_getClassName((id)arg0); + OS_NATIVE_EXIT(env, that, object_1getClassName_FUNC); + return rc; +} +#endif + +#ifndef NO_object_1getInstanceVariable +JNIEXPORT jintLong JNICALL OS_NATIVE(object_1getInstanceVariable) + (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jintLongArray arg2) +{ + jbyte *lparg1=NULL; + jintLong *lparg2=NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, object_1getInstanceVariable_FUNC); +#ifdef JNI_VERSION_1_2 + if (IS_JNI_1_2) { + if (arg1) if ((lparg1 = (*env)->GetPrimitiveArrayCritical(env, arg1, NULL)) == NULL) goto fail; + if (arg2) if ((lparg2 = (*env)->GetPrimitiveArrayCritical(env, arg2, NULL)) == NULL) goto fail; + } else +#endif + { + if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; + if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; + } + rc = (jintLong)object_getInstanceVariable((id)arg0, (const char*)lparg1, (void **)lparg2); +fail: +#ifdef JNI_VERSION_1_2 + if (IS_JNI_1_2) { + if (arg2 && lparg2) (*env)->ReleasePrimitiveArrayCritical(env, arg2, lparg2, 0); + if (arg1 && lparg1) (*env)->ReleasePrimitiveArrayCritical(env, arg1, lparg1, 0); + } else +#endif + { + if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); + if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); + } + OS_NATIVE_EXIT(env, that, object_1getInstanceVariable_FUNC); + return rc; +} +#endif + +#ifndef NO_object_1setClass +JNIEXPORT jintLong JNICALL OS_NATIVE(object_1setClass) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, object_1setClass_FUNC); + rc = (jintLong)object_setClass((id)arg0, (Class)arg1); + OS_NATIVE_EXIT(env, that, object_1setClass_FUNC); + return rc; +} +#endif + +#ifndef NO_object_1setInstanceVariable +JNIEXPORT jintLong JNICALL OS_NATIVE(object_1setInstanceVariable) + (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jintLong arg2) +{ + jbyte *lparg1=NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, object_1setInstanceVariable_FUNC); +#ifdef JNI_VERSION_1_2 + if (IS_JNI_1_2) { + if (arg1) if ((lparg1 = (*env)->GetPrimitiveArrayCritical(env, arg1, NULL)) == NULL) goto fail; + } else +#endif + { + if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; + } + rc = (jintLong)object_setInstanceVariable((id)arg0, (const char*)lparg1, (void *)arg2); +fail: +#ifdef JNI_VERSION_1_2 + if (IS_JNI_1_2) { + if (arg1 && lparg1) (*env)->ReleasePrimitiveArrayCritical(env, arg1, lparg1, 0); + } else +#endif + { + if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); + } + OS_NATIVE_EXIT(env, that, object_1setInstanceVariable_FUNC); + return rc; +} +#endif + +#ifndef NO_sel_1registerName +JNIEXPORT jintLong JNICALL OS_NATIVE(sel_1registerName) + (JNIEnv *env, jclass that, jstring arg0) +{ + const char *lparg0= NULL; + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, sel_1registerName_FUNC); + if (arg0) if ((lparg0 = (*env)->GetStringUTFChars(env, arg0, NULL)) == NULL) goto fail; + rc = (jintLong)sel_registerName(lparg0); +fail: + if (arg0 && lparg0) (*env)->ReleaseStringUTFChars(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, sel_1registerName_FUNC); + return rc; +} +#endif + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h new file mode 100755 index 0000000000..438ecf6c0e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h @@ -0,0 +1,73 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#ifndef INC_os_H +#define INC_os_H + +/*#define NDEBUG*/ +/*#define DEBUG_EXCEPTIONS*/ + +#include <Cocoa/Cocoa.h> +#include <WebKit/WebView.h> +#import <objc/objc-runtime.h> + +#include "os_custom.h" + +extern jint CPSSetProcessName(void *, jintLong); + +#define objc_msgSend_bool objc_msgSend +#define objc_msgSendSuper_bool objc_msgSendSuper + +#ifndef __i386__ +#define objc_msgSend_fpret objc_msgSend +#endif + +/* The structure objc_super defines "class" in i386/ppc and "super_class" in x86_64 */ +#ifdef __i386__ +#define swt_super_class class +#elif __ppc__ +#define swt_super_class class +#elif __x86_64__ +#define swt_super_class super_class +#endif + +#ifdef __i386__ +#define STRUCT_SIZE_LIMIT 8 +#elif __ppc__ +#define STRUCT_SIZE_LIMIT 4 +#elif __x86_64__ +#define STRUCT_SIZE_LIMIT 16 +#endif + +#ifdef DEBUG_EXCEPTIONS +#define DUMP_EXCEPTION \ + if (![[nsx name] isEqualToString:NSAccessibilityException]) { \ + NSLog(@"Exception thrown: %@ %@", [nsx name], [nsx reason]); \ + jclass threadClass = (*env)->FindClass(env, "java/lang/Thread"); \ + jmethodID dumpStackID = (*env)->GetStaticMethodID(env, threadClass, "dumpStack", "()V"); \ + if (dumpStackID != NULL) (*env)->CallStaticVoidMethod(env, threadClass, dumpStackID, 0); \ + } +#else +#define DUMP_EXCEPTION +#endif + +#ifndef NATIVE_STATS +#define OS_NATIVE_ENTER(env, that, func) \ + @try { +#define OS_NATIVE_EXIT(env, that, func) \ + } \ + @catch (NSException *nsx) { \ + DUMP_EXCEPTION \ + } +#endif + +#endif /* INC_os_H */ + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.c new file mode 100755 index 0000000000..a23d49c14a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.c @@ -0,0 +1,121 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#include "swt.h" +#include "os_structs.h" +#include "os_stats.h" + +#define OS_NATIVE(func) Java_org_eclipse_swt_internal_cocoa_OS_##func + +#ifndef NO_JNIGetObject +JNIEXPORT jobject JNICALL OS_NATIVE(JNIGetObject) + (JNIEnv *env, jclass that, jintLong arg0) +{ + jobject rc = 0; + OS_NATIVE_ENTER(env, that, JNIGetObject_FUNC); + rc = (jobject)arg0; + OS_NATIVE_EXIT(env, that, JNIGetObject_FUNC); + return rc; +} +#endif + +#ifndef NO_NSIntersectionRect +JNIEXPORT void JNICALL OS_NATIVE(NSIntersectionRect) + (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jobject arg2) +{ + NSRect _arg0, *lparg0=NULL; + NSRect _arg1, *lparg1=NULL; + NSRect _arg2, *lparg2=NULL; + OS_NATIVE_ENTER(env, that, NSIntersectionRect_FUNC); + if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail; + if (arg1) if ((lparg1 = getNSRectFields(env, arg1, &_arg1)) == NULL) goto fail; + if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail; + *lparg0 = NSIntersectionRect(*lparg1, *lparg2); +fail: + if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2); + if (arg1 && lparg1) setNSRectFields(env, arg1, lparg1); + if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0); + OS_NATIVE_EXIT(env, that, NSIntersectionRect_FUNC); +} +#endif + +#ifndef NO_CGDisplayBounds +JNIEXPORT void JNICALL OS_NATIVE(CGDisplayBounds) + (JNIEnv *env, jclass that, jint arg0, jobject arg1) +{ + CGRect _arg1, *lparg1=NULL; + OS_NATIVE_ENTER(env, that, CGDisplayBounds_FUNC); + if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail; + *lparg1 = CGDisplayBounds((CGDirectDisplayID)arg0); +fail: + if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1); + OS_NATIVE_EXIT(env, that, CGDisplayBounds_FUNC); +} +#endif + +#ifndef NO__1_1BIG_1ENDIAN_1_1 +JNIEXPORT jboolean JNICALL OS_NATIVE(_1_1BIG_1ENDIAN_1_1) + (JNIEnv *env, jclass that) +{ + jboolean rc; + OS_NATIVE_ENTER(env, that, _1_1BIG_1ENDIAN_1_1_FUNC) +#ifdef __BIG_ENDIAN__ + rc = (jboolean)TRUE; +#else + rc = (jboolean)FALSE; +#endif + OS_NATIVE_EXIT(env, that, _1_1BIG_1ENDIAN_1_1_FUNC) + return rc; +} +#endif + +#ifndef NO_class_1getName +JNIEXPORT jstring JNICALL OS_NATIVE(class_1getName) +(JNIEnv *env, jclass that, jintLong arg0) +{ + jstring rc = 0; + OS_NATIVE_ENTER(env, that, class_1getName_FUNC); + const char *className = class_getName((Class)arg0); + if (className != NULL) rc = (*env)->NewStringUTF(env, className); + OS_NATIVE_EXIT(env, that, class_1getName_FUNC); + return rc; +} +#endif + +#ifndef NO_isFlipped_1CALLBACK +static BOOL isFlippedProc(id obj, SEL sel) +{ + return YES; +} +JNIEXPORT jintLong JNICALL OS_NATIVE(isFlipped_1CALLBACK) +(JNIEnv *env, jclass that) +{ + return (jintLong)isFlippedProc; +} +#endif + +#ifndef NO_kTISPropertyUnicodeKeyLayoutData +JNIEXPORT jintLong JNICALL OS_NATIVE(kTISPropertyUnicodeKeyLayoutData) +(JNIEnv *env, jclass that) +{ + // Technically this CFStringRef should be CFRetain'ed but we have no opportunity to release it. + // The pointer won't disappear unless the Carbon framework bundle is somehow unloaded, which is unlikely to happen. + static int initialized = 0; + static CFStringRef *var = NULL; + if (!initialized) { + CFBundleRef bundle = CFBundleGetBundleWithIdentifier(CFSTR("com.apple.Carbon")); + if (bundle) var = (CFStringRef *)CFBundleGetDataPointerForName(bundle, CFSTR("kTISPropertyUnicodeKeyLayoutData")); + initialized = 1; + } + + return (jintLong)(*var); +} +#endif diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.h new file mode 100755 index 0000000000..4bddcc831a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.h @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +/* Libraries for dynamic loaded functions */ +#define UnionRgn_LIB "com.apple.Carbon" +#define SetRect_LIB "com.apple.Carbon" +#define SectRgn_LIB "com.apple.Carbon" +#define RectRgn_LIB "com.apple.Carbon" +#define RectInRgn_LIB "com.apple.Carbon" +#define QDRegionToRects_LIB "com.apple.Carbon" +#define PtInRgn_LIB "com.apple.Carbon" +#define OpenRgn_LIB "com.apple.Carbon" +#define OffsetRgn_LIB "com.apple.Carbon" +#define NewRgn_LIB "com.apple.Carbon" +#define MoveTo_LIB "com.apple.Carbon" +#define LineTo_LIB "com.apple.Carbon" +#define GetRegionBounds_LIB "com.apple.Carbon" +#define EmptyRgn_LIB "com.apple.Carbon" +#define DisposeRgn_LIB "com.apple.Carbon" +#define DiffRgn_LIB "com.apple.Carbon" +#define CopyRgn_LIB "com.apple.Carbon" +#define CloseRgn_LIB "com.apple.Carbon" +#define instrumentObjcMessageSends_LIB "com.apple.Foundation" +#define SetThemeCursor_LIB "com.apple.Carbon" +#define GetCurrentButtonState_LIB "com.apple.Carbon" +#define GetDblTime_LIB "com.apple.Carbon" +#define CGContextCopyPath_LIB "com.apple.Cocoa" +#define TISCopyCurrentKeyboardInputSource_LIB "com.apple.Carbon" +#define TISGetInputSourceProperty_LIB "com.apple.Carbon" +#define UCKeyTranslate_LIB "com.apple.CoreServices" +#define kTISPropertyUnicodeKeyLayoutData_LIB "com.apple.Carbon" +#define ATSFontActivateFromFileReference_LIB "com.apple.ApplicationServices.ATS" +#define FSPathMakeRef_LIB "com.apple.CoreServices" +#define CGContextCopyWindowContentsToRect_LIB "com.apple.CoreGraphics" +#define LMGetKbdType_LIB "com.apple.Carbon" +#define GetThemeMetric_LIB "com.apple.Carbon" +#define HIThemeDrawFocusRect_LIB "com.apple.Carbon" +#define AcquireRootMenu_LIB "com.apple.Carbon" +#define CancelMenuTracking_LIB "com.apple.Carbon" +#define SetSystemUIMode_LIB "com.apple.Carbon" diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.c new file mode 100644 index 0000000000..a64319ea05 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.c @@ -0,0 +1,1060 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#include "swt.h" +#include "os_stats.h" + +#ifdef NATIVE_STATS + +int OS_nativeFunctionCount = 478; +int OS_nativeFunctionCallCount[478]; +char * OS_nativeFunctionNames[] = { + "ATSFontActivateFromFileReference", + "AcquireRootMenu", + "CALLBACK_1accessibilityHitTest_1", + "CALLBACK_1attributedSubstringFromRange_1", + "CALLBACK_1canDragRowsWithIndexes_1atPoint_1", + "CALLBACK_1cellSize", + "CALLBACK_1characterIndexForPoint_1", + "CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1", + "CALLBACK_1draggedImage_1beganAt_1", + "CALLBACK_1draggedImage_1endedAt_1operation_1", + "CALLBACK_1drawImage_1withFrame_1inView_1", + "CALLBACK_1drawInteriorWithFrame_1inView_1", + "CALLBACK_1drawRect_1", + "CALLBACK_1drawWithExpansionFrame_1inView_1", + "CALLBACK_1expansionFrameWithFrame_1inView_1", + "CALLBACK_1firstRectForCharacterRange_1", + "CALLBACK_1highlightSelectionInClipRect_1", + "CALLBACK_1hitTestForEvent_1inRect_1ofView_1", + "CALLBACK_1hitTest_1", + "CALLBACK_1imageRectForBounds_1", + "CALLBACK_1markedRange", + "CALLBACK_1selectedRange", + "CALLBACK_1setFrameOrigin_1", + "CALLBACK_1setFrameSize_1", + "CALLBACK_1setFrame_1", + "CALLBACK_1setMarkedText_1selectedRange_1", + "CALLBACK_1setNeedsDisplayInRect_1", + "CALLBACK_1shouldChangeTextInRange_1replacementString_1", + "CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1", + "CALLBACK_1titleRectForBounds_1", + "CALLBACK_1view_1stringForToolTip_1point_1userData_1", + "CALLBACK_1webView_1setFrame_1", + "CFDataGetBytePtr", + "CFDataGetLength", + "CFRelease", + "CFRunLoopAddObserver", + "CFRunLoopGetCurrent", + "CFRunLoopObserverCreate", + "CFRunLoopObserverInvalidate", + "CFURLCreateStringByAddingPercentEscapes", + "CGBitmapContextCreate", + "CGBitmapContextCreateImage", + "CGBitmapContextGetData", + "CGColorSpaceCreateDeviceRGB", + "CGColorSpaceRelease", + "CGContextAddPath", + "CGContextCopyPath", + "CGContextCopyWindowContentsToRect", + "CGContextDrawImage", + "CGContextRelease", + "CGContextReplacePathWithStrokedPath", + "CGContextRestoreGState", + "CGContextSaveGState", + "CGContextScaleCTM", + "CGContextSetBlendMode", + "CGContextSetLineCap", + "CGContextSetLineDash", + "CGContextSetLineJoin", + "CGContextSetLineWidth", + "CGContextSetMiterLimit", + "CGContextStrokePath", + "CGContextTranslateCTM", + "CGDataProviderCreateWithData", + "CGDataProviderRelease", + "CGDisplayBaseAddress", + "CGDisplayBitsPerPixel", + "CGDisplayBitsPerSample", + "CGDisplayBounds", + "CGDisplayBytesPerRow", + "CGDisplayPixelsHigh", + "CGDisplayPixelsWide", + "CGEnableEventStateCombining", + "CGEventCreateKeyboardEvent", + "CGEventGetIntegerValueField", + "CGEventKeyboardSetUnicodeString", + "CGEventPost", + "CGGetDisplaysWithRect", + "CGImageCreate", + "CGImageGetHeight", + "CGImageGetWidth", + "CGImageRelease", + "CGPathAddCurveToPoint", + "CGPathAddLineToPoint", + "CGPathApply", + "CGPathCloseSubpath", + "CGPathCreateCopy", + "CGPathCreateMutable", + "CGPathElement_1sizeof", + "CGPathMoveToPoint", + "CGPathRelease", + "CGPoint_1sizeof", + "CGPostKeyboardEvent", + "CGPostMouseEvent", + "CGPostScrollWheelEvent", + "CGRect_1sizeof", + "CGSetLocalEventsFilterDuringSuppressionState", + "CGSetLocalEventsSuppressionInterval", + "CGSize_1sizeof", + "CGWarpMouseCursorPosition", + "CPSSetProcessName", + "CancelMenuTracking", + "CloseRgn", + "CopyRgn", + "DeleteGlobalRef", + "DiffRgn", + "DisposeRgn", + "EmptyRgn", + "FSPathMakeRef", + "Gestalt", + "GetCurrentButtonState", + "GetCurrentProcess", + "GetDblTime", + "GetRegionBounds", + "GetThemeMetric", + "HIThemeDrawFocusRect", + "JNIGetObject", + "LMGetKbdType", + "LineTo", + "MoveTo", + "NSAccessibilityActionDescription", + "NSAccessibilityButtonRole", + "NSAccessibilityCheckBoxRole", + "NSAccessibilityChildrenAttribute", + "NSAccessibilityColumnRole", + "NSAccessibilityComboBoxRole", + "NSAccessibilityConfirmAction", + "NSAccessibilityContentsAttribute", + "NSAccessibilityDescriptionAttribute", + "NSAccessibilityDialogSubrole", + "NSAccessibilityEnabledAttribute", + "NSAccessibilityExpandedAttribute", + "NSAccessibilityFloatingWindowSubrole", + "NSAccessibilityFocusedAttribute", + "NSAccessibilityFocusedUIElementChangedNotification", + "NSAccessibilityGridRole", + "NSAccessibilityGroupRole", + "NSAccessibilityHelpAttribute", + "NSAccessibilityHelpTagRole", + "NSAccessibilityHorizontalOrientationValue", + "NSAccessibilityHorizontalScrollBarAttribute", + "NSAccessibilityImageRole", + "NSAccessibilityIncrementorRole", + "NSAccessibilityInsertionPointLineNumberAttribute", + "NSAccessibilityLabelValueAttribute", + "NSAccessibilityLineForIndexParameterizedAttribute", + "NSAccessibilityLinkRole", + "NSAccessibilityLinkTextAttribute", + "NSAccessibilityListRole", + "NSAccessibilityMaxValueAttribute", + "NSAccessibilityMenuBarRole", + "NSAccessibilityMenuButtonRole", + "NSAccessibilityMenuItemRole", + "NSAccessibilityMenuRole", + "NSAccessibilityMinValueAttribute", + "NSAccessibilityNextContentsAttribute", + "NSAccessibilityNumberOfCharactersAttribute", + "NSAccessibilityOrientationAttribute", + "NSAccessibilityOutlineRole", + "NSAccessibilityOutlineRowSubrole", + "NSAccessibilityParentAttribute", + "NSAccessibilityPopUpButtonRole", + "NSAccessibilityPositionAttribute", + "NSAccessibilityPostNotification", + "NSAccessibilityPressAction", + "NSAccessibilityPreviousContentsAttribute", + "NSAccessibilityProgressIndicatorRole", + "NSAccessibilityRTFForRangeParameterizedAttribute", + "NSAccessibilityRadioButtonRole", + "NSAccessibilityRadioGroupRole", + "NSAccessibilityRaiseBadArgumentException", + "NSAccessibilityRangeForIndexParameterizedAttribute", + "NSAccessibilityRangeForLineParameterizedAttribute", + "NSAccessibilityRangeForPositionParameterizedAttribute", + "NSAccessibilityRoleAttribute", + "NSAccessibilityRoleDescription", + "NSAccessibilityRoleDescriptionAttribute", + "NSAccessibilityRoleDescriptionForUIElement", + "NSAccessibilityRowRole", + "NSAccessibilityScrollAreaRole", + "NSAccessibilityScrollBarRole", + "NSAccessibilitySelectedAttribute", + "NSAccessibilitySelectedChildrenAttribute", + "NSAccessibilitySelectedChildrenChangedNotification", + "NSAccessibilitySelectedTextAttribute", + "NSAccessibilitySelectedTextChangedNotification", + "NSAccessibilitySelectedTextRangeAttribute", + "NSAccessibilitySelectedTextRangesAttribute", + "NSAccessibilityServesAsTitleForUIElementsAttribute", + "NSAccessibilitySizeAttribute", + "NSAccessibilitySliderRole", + "NSAccessibilitySortButtonRole", + "NSAccessibilitySplitterRole", + "NSAccessibilityStandardWindowSubrole", + "NSAccessibilityStaticTextRole", + "NSAccessibilityStringForRangeParameterizedAttribute", + "NSAccessibilityStyleRangeForIndexParameterizedAttribute", + "NSAccessibilitySubroleAttribute", + "NSAccessibilitySystemDialogSubrole", + "NSAccessibilityTabGroupRole", + "NSAccessibilityTableRole", + "NSAccessibilityTableRowSubrole", + "NSAccessibilityTabsAttribute", + "NSAccessibilityTextAreaRole", + "NSAccessibilityTextFieldRole", + "NSAccessibilityTextLinkSubrole", + "NSAccessibilityTitleAttribute", + "NSAccessibilityTitleUIElementAttribute", + "NSAccessibilityToolbarRole", + "NSAccessibilityTopLevelUIElementAttribute", + "NSAccessibilityUnignoredAncestor", + "NSAccessibilityUnignoredChildren", + "NSAccessibilityUnignoredChildrenForOnlyChild", + "NSAccessibilityUnignoredDescendant", + "NSAccessibilityUnknownRole", + "NSAccessibilityUnknownSubrole", + "NSAccessibilityValueAttribute", + "NSAccessibilityValueChangedNotification", + "NSAccessibilityValueDescriptionAttribute", + "NSAccessibilityValueIndicatorRole", + "NSAccessibilityVerticalOrientationValue", + "NSAccessibilityVerticalScrollBarAttribute", + "NSAccessibilityVisibleCharacterRangeAttribute", + "NSAccessibilityVisibleChildrenAttribute", + "NSAccessibilityWindowAttribute", + "NSAccessibilityWindowRole", + "NSAffineTransformStruct_1sizeof", + "NSApplicationDidChangeScreenParametersNotification", + "NSBackgroundColorAttributeName", + "NSBaselineOffsetAttributeName", + "NSBeep", + "NSBitsPerPixelFromDepth", + "NSCalibratedRGBColorSpace", + "NSCopyBits", + "NSDefaultRunLoopMode", + "NSDeviceRGBColorSpace", + "NSDeviceResolution", + "NSDragPboard", + "NSEqualRects", + "NSErrorFailingURLStringKey", + "NSEventTrackingRunLoopMode", + "NSFileTypeForHFSTypeCode", + "NSFilenamesPboardType", + "NSFontAttributeName", + "NSForegroundColorAttributeName", + "NSGetSizeAndAlignment", + "NSHTMLPboardType", + "NSIntersectionRect", + "NSLinkAttributeName", + "NSNumberOfColorComponents", + "NSObliquenessAttributeName", + "NSParagraphStyleAttributeName", + "NSPointInRect", + "NSPoint_1sizeof", + "NSPrintAllPages", + "NSPrintCopies", + "NSPrintFirstPage", + "NSPrintJobDisposition", + "NSPrintLastPage", + "NSPrintMustCollate", + "NSPrintPreviewJob", + "NSPrintSaveJob", + "NSPrintSavePath", + "NSPrintScalingFactor", + "NSPrintSpoolJob", + "NSRTFPboardType", + "NSRange_1sizeof", + "NSRect_1sizeof", + "NSSearchPathForDirectoriesInDomains", + "NSSize_1sizeof", + "NSStrikethroughColorAttributeName", + "NSStrikethroughStyleAttributeName", + "NSStringPboardType", + "NSStrokeWidthAttributeName", + "NSSystemColorsDidChangeNotification", + "NSTIFFPboardType", + "NSTemporaryDirectory", + "NSToolbarCustomizeToolbarItemIdentifier", + "NSToolbarDidRemoveItemNotification", + "NSToolbarFlexibleSpaceItemIdentifier", + "NSToolbarPrintItemIdentifier", + "NSToolbarSeparatorItemIdentifier", + "NSToolbarShowColorsItemIdentifier", + "NSToolbarShowFontsItemIdentifier", + "NSToolbarSpaceItemIdentifier", + "NSToolbarWillAddItemNotification", + "NSURLPboardType", + "NSUnderlineColorAttributeName", + "NSUnderlineStyleAttributeName", + "NSViewGlobalFrameDidChangeNotification", + "NewGlobalRef", + "NewRgn", + "OffsetRgn", + "OpenRgn", + "PtInRgn", + "QDRegionToRects", + "RectInRgn", + "RectRgn", + "SectRgn", + "SetFrontProcess", + "SetRect", + "SetSystemUIMode", + "SetThemeCursor", + "TISCopyCurrentKeyboardInputSource", + "TISGetInputSourceProperty", + "TransformProcessType", + "UCKeyTranslate", + "UnionRgn", + "_1_1BIG_1ENDIAN_1_1", + "call", + "class_1addIvar", + "class_1addMethod", + "class_1addProtocol", + "class_1createInstance", + "class_1getClassMethod", + "class_1getInstanceMethod", + "class_1getMethodImplementation", + "class_1getName", + "class_1getSuperclass", + "getpid", + "instrumentObjcMessageSends", + "isFlipped_1CALLBACK", + "kCFRunLoopCommonModes", + "kTISPropertyUnicodeKeyLayoutData", +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_CGPathElement_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_CGPoint_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_CGRect_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_CGSize_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I", +#else + "memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ", +#endif +#ifndef JNI64 + "memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II", +#else + "memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ", +#endif + "method_1setImplementation", + "objc_1allocateClassPair", + "objc_1getClass", + "objc_1getMetaClass", + "objc_1getProtocol", + "objc_1lookUpClass", +#ifndef JNI64 + "objc_1msgSend__II", +#else + "objc_1msgSend__JJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IID", +#else + "objc_1msgSend__JJD", +#endif +#ifndef JNI64 + "objc_1msgSend__IIDIIIZ", +#else + "objc_1msgSend__JJDJJJZ", +#endif + "objc_1msgSend__IIF", +#ifndef JNI64 + "objc_1msgSend__IIFF", +#else + "objc_1msgSend__JJDD", +#endif +#ifndef JNI64 + "objc_1msgSend__IIFFFF", +#else + "objc_1msgSend__JJDDDD", +#endif +#ifndef JNI64 + "objc_1msgSend__IIFI", +#else + "objc_1msgSend__JJDJ", +#endif +#ifndef JNI64 + "objc_1msgSend__III", +#else + "objc_1msgSend__JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIF", +#else + "objc_1msgSend__JJJD", +#endif +#ifndef JNI64 + "objc_1msgSend__IIII", +#else + "objc_1msgSend__JJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIII", +#else + "objc_1msgSend__JJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIIF", +#else + "objc_1msgSend__JJJJJD", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIII", +#else + "objc_1msgSend__JJJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIIII", +#else + "objc_1msgSend__JJJJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIIIIII", +#else + "objc_1msgSend__JJJJJJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIIIIZZIII", +#else + "objc_1msgSend__JJJJJJJZZJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIIIIZZIIII", +#else + "objc_1msgSend__JJJJJJJZZJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIIZ", +#else + "objc_1msgSend__JJJJJZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2", +#else + "objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIIZ", +#else + "objc_1msgSend__JJJJZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2I", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIIIII", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2IIIZ", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "objc_1msgSend__IIIZ", +#else + "objc_1msgSend__JJJZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDD", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2IIIII", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2II", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2III", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2ZZ", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2", +#else + "objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2", +#endif +#ifndef JNI64 + "objc_1msgSend__IIZ", +#else + "objc_1msgSend__JJZ", +#endif +#ifndef JNI64 + "objc_1msgSend__IIZI", +#else + "objc_1msgSend__JJZJ", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3B", +#else + "objc_1msgSend__JJ_3B", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3BI", +#else + "objc_1msgSend__JJ_3BJ", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3C", +#else + "objc_1msgSend__JJ_3C", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3CI", +#else + "objc_1msgSend__JJ_3CJ", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2", +#else + "objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3F", +#else + "objc_1msgSend__JJ_3D", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3FIF", +#else + "objc_1msgSend__JJ_3DJD", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3I", +#else + "objc_1msgSend__JJ_3J", +#endif +#ifndef JNI64 + "objc_1msgSend__II_3III", +#else + "objc_1msgSend__JJ_3JII", +#endif + "objc_1msgSend__JJFD", + "objc_1msgSend__JJI", + "objc_1msgSend__JJ_3I", + "objc_1msgSend__JJ_3JJJ", +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2III", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIII", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIZ", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2", +#endif +#ifndef JNI64 + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IZ", +#else + "objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ", +#endif + "objc_1msgSendSuper_1bool", +#ifndef JNI64 + "objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2I", +#else + "objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__II", +#else + "objc_1msgSend_1bool__JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__III", +#else + "objc_1msgSend_1bool__JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IIII", +#else + "objc_1msgSend_1bool__JJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IIIII", +#else + "objc_1msgSend_1bool__JJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IIIIIII", +#else + "objc_1msgSend_1bool__JJJJJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSSize_2Z", +#else + "objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRange_2I", +#else + "objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1bool__IIS", +#else + "objc_1msgSend_1bool__JJS", +#endif +#ifndef JNI64 + "objc_1msgSend_1fpret__II", +#else + "objc_1msgSend_1fpret__JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1fpret__III", +#else + "objc_1msgSend_1fpret__JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1fpret__IIII", +#else + "objc_1msgSend_1fpret__JJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSRect_2", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J", +#endif +#ifndef JNI64 + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI", +#else + "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ", +#endif + "objc_1registerClassPair", + "objc_1super_1sizeof", + "object_1getClass", + "object_1getClassName", + "object_1getInstanceVariable", + "object_1setClass", + "object_1setInstanceVariable", + "sel_1registerName", +}; + +#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func + +JNIEXPORT jint JNICALL STATS_NATIVE(OS_1GetFunctionCount) + (JNIEnv *env, jclass that) +{ + return OS_nativeFunctionCount; +} + +JNIEXPORT jstring JNICALL STATS_NATIVE(OS_1GetFunctionName) + (JNIEnv *env, jclass that, jint index) +{ + return (*env)->NewStringUTF(env, OS_nativeFunctionNames[index]); +} + +JNIEXPORT jint JNICALL STATS_NATIVE(OS_1GetFunctionCallCount) + (JNIEnv *env, jclass that, jint index) +{ + return OS_nativeFunctionCallCount[index]; +} + +#endif diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.h new file mode 100644 index 0000000000..4ffe7138aa --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.h @@ -0,0 +1,1046 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#ifdef NATIVE_STATS +extern int OS_nativeFunctionCount; +extern int OS_nativeFunctionCallCount[]; +extern char* OS_nativeFunctionNames[]; +#define OS_NATIVE_ENTER(env, that, func) OS_nativeFunctionCallCount[func]++; +#define OS_NATIVE_EXIT(env, that, func) +#else +#ifndef OS_NATIVE_ENTER +#define OS_NATIVE_ENTER(env, that, func) +#endif +#ifndef OS_NATIVE_EXIT +#define OS_NATIVE_EXIT(env, that, func) +#endif +#endif + +typedef enum { + ATSFontActivateFromFileReference_FUNC, + AcquireRootMenu_FUNC, + CALLBACK_1accessibilityHitTest_1_FUNC, + CALLBACK_1attributedSubstringFromRange_1_FUNC, + CALLBACK_1canDragRowsWithIndexes_1atPoint_1_FUNC, + CALLBACK_1cellSize_FUNC, + CALLBACK_1characterIndexForPoint_1_FUNC, + CALLBACK_1dragSelectionWithEvent_1offset_1slideBack_1_FUNC, + CALLBACK_1draggedImage_1beganAt_1_FUNC, + CALLBACK_1draggedImage_1endedAt_1operation_1_FUNC, + CALLBACK_1drawImage_1withFrame_1inView_1_FUNC, + CALLBACK_1drawInteriorWithFrame_1inView_1_FUNC, + CALLBACK_1drawRect_1_FUNC, + CALLBACK_1drawWithExpansionFrame_1inView_1_FUNC, + CALLBACK_1expansionFrameWithFrame_1inView_1_FUNC, + CALLBACK_1firstRectForCharacterRange_1_FUNC, + CALLBACK_1highlightSelectionInClipRect_1_FUNC, + CALLBACK_1hitTestForEvent_1inRect_1ofView_1_FUNC, + CALLBACK_1hitTest_1_FUNC, + CALLBACK_1imageRectForBounds_1_FUNC, + CALLBACK_1markedRange_FUNC, + CALLBACK_1selectedRange_FUNC, + CALLBACK_1setFrameOrigin_1_FUNC, + CALLBACK_1setFrameSize_1_FUNC, + CALLBACK_1setFrame_1_FUNC, + CALLBACK_1setMarkedText_1selectedRange_1_FUNC, + CALLBACK_1setNeedsDisplayInRect_1_FUNC, + CALLBACK_1shouldChangeTextInRange_1replacementString_1_FUNC, + CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1_FUNC, + CALLBACK_1titleRectForBounds_1_FUNC, + CALLBACK_1view_1stringForToolTip_1point_1userData_1_FUNC, + CALLBACK_1webView_1setFrame_1_FUNC, + CFDataGetBytePtr_FUNC, + CFDataGetLength_FUNC, + CFRelease_FUNC, + CFRunLoopAddObserver_FUNC, + CFRunLoopGetCurrent_FUNC, + CFRunLoopObserverCreate_FUNC, + CFRunLoopObserverInvalidate_FUNC, + CFURLCreateStringByAddingPercentEscapes_FUNC, + CGBitmapContextCreate_FUNC, + CGBitmapContextCreateImage_FUNC, + CGBitmapContextGetData_FUNC, + CGColorSpaceCreateDeviceRGB_FUNC, + CGColorSpaceRelease_FUNC, + CGContextAddPath_FUNC, + CGContextCopyPath_FUNC, + CGContextCopyWindowContentsToRect_FUNC, + CGContextDrawImage_FUNC, + CGContextRelease_FUNC, + CGContextReplacePathWithStrokedPath_FUNC, + CGContextRestoreGState_FUNC, + CGContextSaveGState_FUNC, + CGContextScaleCTM_FUNC, + CGContextSetBlendMode_FUNC, + CGContextSetLineCap_FUNC, + CGContextSetLineDash_FUNC, + CGContextSetLineJoin_FUNC, + CGContextSetLineWidth_FUNC, + CGContextSetMiterLimit_FUNC, + CGContextStrokePath_FUNC, + CGContextTranslateCTM_FUNC, + CGDataProviderCreateWithData_FUNC, + CGDataProviderRelease_FUNC, + CGDisplayBaseAddress_FUNC, + CGDisplayBitsPerPixel_FUNC, + CGDisplayBitsPerSample_FUNC, + CGDisplayBounds_FUNC, + CGDisplayBytesPerRow_FUNC, + CGDisplayPixelsHigh_FUNC, + CGDisplayPixelsWide_FUNC, + CGEnableEventStateCombining_FUNC, + CGEventCreateKeyboardEvent_FUNC, + CGEventGetIntegerValueField_FUNC, + CGEventKeyboardSetUnicodeString_FUNC, + CGEventPost_FUNC, + CGGetDisplaysWithRect_FUNC, + CGImageCreate_FUNC, + CGImageGetHeight_FUNC, + CGImageGetWidth_FUNC, + CGImageRelease_FUNC, + CGPathAddCurveToPoint_FUNC, + CGPathAddLineToPoint_FUNC, + CGPathApply_FUNC, + CGPathCloseSubpath_FUNC, + CGPathCreateCopy_FUNC, + CGPathCreateMutable_FUNC, + CGPathElement_1sizeof_FUNC, + CGPathMoveToPoint_FUNC, + CGPathRelease_FUNC, + CGPoint_1sizeof_FUNC, + CGPostKeyboardEvent_FUNC, + CGPostMouseEvent_FUNC, + CGPostScrollWheelEvent_FUNC, + CGRect_1sizeof_FUNC, + CGSetLocalEventsFilterDuringSuppressionState_FUNC, + CGSetLocalEventsSuppressionInterval_FUNC, + CGSize_1sizeof_FUNC, + CGWarpMouseCursorPosition_FUNC, + CPSSetProcessName_FUNC, + CancelMenuTracking_FUNC, + CloseRgn_FUNC, + CopyRgn_FUNC, + DeleteGlobalRef_FUNC, + DiffRgn_FUNC, + DisposeRgn_FUNC, + EmptyRgn_FUNC, + FSPathMakeRef_FUNC, + Gestalt_FUNC, + GetCurrentButtonState_FUNC, + GetCurrentProcess_FUNC, + GetDblTime_FUNC, + GetRegionBounds_FUNC, + GetThemeMetric_FUNC, + HIThemeDrawFocusRect_FUNC, + JNIGetObject_FUNC, + LMGetKbdType_FUNC, + LineTo_FUNC, + MoveTo_FUNC, + NSAccessibilityActionDescription_FUNC, + NSAccessibilityButtonRole_FUNC, + NSAccessibilityCheckBoxRole_FUNC, + NSAccessibilityChildrenAttribute_FUNC, + NSAccessibilityColumnRole_FUNC, + NSAccessibilityComboBoxRole_FUNC, + NSAccessibilityConfirmAction_FUNC, + NSAccessibilityContentsAttribute_FUNC, + NSAccessibilityDescriptionAttribute_FUNC, + NSAccessibilityDialogSubrole_FUNC, + NSAccessibilityEnabledAttribute_FUNC, + NSAccessibilityExpandedAttribute_FUNC, + NSAccessibilityFloatingWindowSubrole_FUNC, + NSAccessibilityFocusedAttribute_FUNC, + NSAccessibilityFocusedUIElementChangedNotification_FUNC, + NSAccessibilityGridRole_FUNC, + NSAccessibilityGroupRole_FUNC, + NSAccessibilityHelpAttribute_FUNC, + NSAccessibilityHelpTagRole_FUNC, + NSAccessibilityHorizontalOrientationValue_FUNC, + NSAccessibilityHorizontalScrollBarAttribute_FUNC, + NSAccessibilityImageRole_FUNC, + NSAccessibilityIncrementorRole_FUNC, + NSAccessibilityInsertionPointLineNumberAttribute_FUNC, + NSAccessibilityLabelValueAttribute_FUNC, + NSAccessibilityLineForIndexParameterizedAttribute_FUNC, + NSAccessibilityLinkRole_FUNC, + NSAccessibilityLinkTextAttribute_FUNC, + NSAccessibilityListRole_FUNC, + NSAccessibilityMaxValueAttribute_FUNC, + NSAccessibilityMenuBarRole_FUNC, + NSAccessibilityMenuButtonRole_FUNC, + NSAccessibilityMenuItemRole_FUNC, + NSAccessibilityMenuRole_FUNC, + NSAccessibilityMinValueAttribute_FUNC, + NSAccessibilityNextContentsAttribute_FUNC, + NSAccessibilityNumberOfCharactersAttribute_FUNC, + NSAccessibilityOrientationAttribute_FUNC, + NSAccessibilityOutlineRole_FUNC, + NSAccessibilityOutlineRowSubrole_FUNC, + NSAccessibilityParentAttribute_FUNC, + NSAccessibilityPopUpButtonRole_FUNC, + NSAccessibilityPositionAttribute_FUNC, + NSAccessibilityPostNotification_FUNC, + NSAccessibilityPressAction_FUNC, + NSAccessibilityPreviousContentsAttribute_FUNC, + NSAccessibilityProgressIndicatorRole_FUNC, + NSAccessibilityRTFForRangeParameterizedAttribute_FUNC, + NSAccessibilityRadioButtonRole_FUNC, + NSAccessibilityRadioGroupRole_FUNC, + NSAccessibilityRaiseBadArgumentException_FUNC, + NSAccessibilityRangeForIndexParameterizedAttribute_FUNC, + NSAccessibilityRangeForLineParameterizedAttribute_FUNC, + NSAccessibilityRangeForPositionParameterizedAttribute_FUNC, + NSAccessibilityRoleAttribute_FUNC, + NSAccessibilityRoleDescription_FUNC, + NSAccessibilityRoleDescriptionAttribute_FUNC, + NSAccessibilityRoleDescriptionForUIElement_FUNC, + NSAccessibilityRowRole_FUNC, + NSAccessibilityScrollAreaRole_FUNC, + NSAccessibilityScrollBarRole_FUNC, + NSAccessibilitySelectedAttribute_FUNC, + NSAccessibilitySelectedChildrenAttribute_FUNC, + NSAccessibilitySelectedChildrenChangedNotification_FUNC, + NSAccessibilitySelectedTextAttribute_FUNC, + NSAccessibilitySelectedTextChangedNotification_FUNC, + NSAccessibilitySelectedTextRangeAttribute_FUNC, + NSAccessibilitySelectedTextRangesAttribute_FUNC, + NSAccessibilityServesAsTitleForUIElementsAttribute_FUNC, + NSAccessibilitySizeAttribute_FUNC, + NSAccessibilitySliderRole_FUNC, + NSAccessibilitySortButtonRole_FUNC, + NSAccessibilitySplitterRole_FUNC, + NSAccessibilityStandardWindowSubrole_FUNC, + NSAccessibilityStaticTextRole_FUNC, + NSAccessibilityStringForRangeParameterizedAttribute_FUNC, + NSAccessibilityStyleRangeForIndexParameterizedAttribute_FUNC, + NSAccessibilitySubroleAttribute_FUNC, + NSAccessibilitySystemDialogSubrole_FUNC, + NSAccessibilityTabGroupRole_FUNC, + NSAccessibilityTableRole_FUNC, + NSAccessibilityTableRowSubrole_FUNC, + NSAccessibilityTabsAttribute_FUNC, + NSAccessibilityTextAreaRole_FUNC, + NSAccessibilityTextFieldRole_FUNC, + NSAccessibilityTextLinkSubrole_FUNC, + NSAccessibilityTitleAttribute_FUNC, + NSAccessibilityTitleUIElementAttribute_FUNC, + NSAccessibilityToolbarRole_FUNC, + NSAccessibilityTopLevelUIElementAttribute_FUNC, + NSAccessibilityUnignoredAncestor_FUNC, + NSAccessibilityUnignoredChildren_FUNC, + NSAccessibilityUnignoredChildrenForOnlyChild_FUNC, + NSAccessibilityUnignoredDescendant_FUNC, + NSAccessibilityUnknownRole_FUNC, + NSAccessibilityUnknownSubrole_FUNC, + NSAccessibilityValueAttribute_FUNC, + NSAccessibilityValueChangedNotification_FUNC, + NSAccessibilityValueDescriptionAttribute_FUNC, + NSAccessibilityValueIndicatorRole_FUNC, + NSAccessibilityVerticalOrientationValue_FUNC, + NSAccessibilityVerticalScrollBarAttribute_FUNC, + NSAccessibilityVisibleCharacterRangeAttribute_FUNC, + NSAccessibilityVisibleChildrenAttribute_FUNC, + NSAccessibilityWindowAttribute_FUNC, + NSAccessibilityWindowRole_FUNC, + NSAffineTransformStruct_1sizeof_FUNC, + NSApplicationDidChangeScreenParametersNotification_FUNC, + NSBackgroundColorAttributeName_FUNC, + NSBaselineOffsetAttributeName_FUNC, + NSBeep_FUNC, + NSBitsPerPixelFromDepth_FUNC, + NSCalibratedRGBColorSpace_FUNC, + NSCopyBits_FUNC, + NSDefaultRunLoopMode_FUNC, + NSDeviceRGBColorSpace_FUNC, + NSDeviceResolution_FUNC, + NSDragPboard_FUNC, + NSEqualRects_FUNC, + NSErrorFailingURLStringKey_FUNC, + NSEventTrackingRunLoopMode_FUNC, + NSFileTypeForHFSTypeCode_FUNC, + NSFilenamesPboardType_FUNC, + NSFontAttributeName_FUNC, + NSForegroundColorAttributeName_FUNC, + NSGetSizeAndAlignment_FUNC, + NSHTMLPboardType_FUNC, + NSIntersectionRect_FUNC, + NSLinkAttributeName_FUNC, + NSNumberOfColorComponents_FUNC, + NSObliquenessAttributeName_FUNC, + NSParagraphStyleAttributeName_FUNC, + NSPointInRect_FUNC, + NSPoint_1sizeof_FUNC, + NSPrintAllPages_FUNC, + NSPrintCopies_FUNC, + NSPrintFirstPage_FUNC, + NSPrintJobDisposition_FUNC, + NSPrintLastPage_FUNC, + NSPrintMustCollate_FUNC, + NSPrintPreviewJob_FUNC, + NSPrintSaveJob_FUNC, + NSPrintSavePath_FUNC, + NSPrintScalingFactor_FUNC, + NSPrintSpoolJob_FUNC, + NSRTFPboardType_FUNC, + NSRange_1sizeof_FUNC, + NSRect_1sizeof_FUNC, + NSSearchPathForDirectoriesInDomains_FUNC, + NSSize_1sizeof_FUNC, + NSStrikethroughColorAttributeName_FUNC, + NSStrikethroughStyleAttributeName_FUNC, + NSStringPboardType_FUNC, + NSStrokeWidthAttributeName_FUNC, + NSSystemColorsDidChangeNotification_FUNC, + NSTIFFPboardType_FUNC, + NSTemporaryDirectory_FUNC, + NSToolbarCustomizeToolbarItemIdentifier_FUNC, + NSToolbarDidRemoveItemNotification_FUNC, + NSToolbarFlexibleSpaceItemIdentifier_FUNC, + NSToolbarPrintItemIdentifier_FUNC, + NSToolbarSeparatorItemIdentifier_FUNC, + NSToolbarShowColorsItemIdentifier_FUNC, + NSToolbarShowFontsItemIdentifier_FUNC, + NSToolbarSpaceItemIdentifier_FUNC, + NSToolbarWillAddItemNotification_FUNC, + NSURLPboardType_FUNC, + NSUnderlineColorAttributeName_FUNC, + NSUnderlineStyleAttributeName_FUNC, + NSViewGlobalFrameDidChangeNotification_FUNC, + NewGlobalRef_FUNC, + NewRgn_FUNC, + OffsetRgn_FUNC, + OpenRgn_FUNC, + PtInRgn_FUNC, + QDRegionToRects_FUNC, + RectInRgn_FUNC, + RectRgn_FUNC, + SectRgn_FUNC, + SetFrontProcess_FUNC, + SetRect_FUNC, + SetSystemUIMode_FUNC, + SetThemeCursor_FUNC, + TISCopyCurrentKeyboardInputSource_FUNC, + TISGetInputSourceProperty_FUNC, + TransformProcessType_FUNC, + UCKeyTranslate_FUNC, + UnionRgn_FUNC, + _1_1BIG_1ENDIAN_1_1_FUNC, + call_FUNC, + class_1addIvar_FUNC, + class_1addMethod_FUNC, + class_1addProtocol_FUNC, + class_1createInstance_FUNC, + class_1getClassMethod_FUNC, + class_1getInstanceMethod_FUNC, + class_1getMethodImplementation_FUNC, + class_1getName_FUNC, + class_1getSuperclass_FUNC, + getpid_FUNC, + instrumentObjcMessageSends_FUNC, + isFlipped_1CALLBACK_FUNC, + kCFRunLoopCommonModes_FUNC, + kTISPropertyUnicodeKeyLayoutData_FUNC, +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_CGPathElement_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_CGPoint_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_CGRect_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_CGSize_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I_FUNC, +#else + memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC, +#endif +#ifndef JNI64 + memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_FUNC, +#else + memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ_FUNC, +#endif + method_1setImplementation_FUNC, + objc_1allocateClassPair_FUNC, + objc_1getClass_FUNC, + objc_1getMetaClass_FUNC, + objc_1getProtocol_FUNC, + objc_1lookUpClass_FUNC, +#ifndef JNI64 + objc_1msgSend__II_FUNC, +#else + objc_1msgSend__JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IID_FUNC, +#else + objc_1msgSend__JJD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIDIIIZ_FUNC, +#else + objc_1msgSend__JJDJJJZ_FUNC, +#endif + objc_1msgSend__IIF_FUNC, +#ifndef JNI64 + objc_1msgSend__IIFF_FUNC, +#else + objc_1msgSend__JJDD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIFFFF_FUNC, +#else + objc_1msgSend__JJDDDD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIFI_FUNC, +#else + objc_1msgSend__JJDJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__III_FUNC, +#else + objc_1msgSend__JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIF_FUNC, +#else + objc_1msgSend__JJJD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIII_FUNC, +#else + objc_1msgSend__JJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIII_FUNC, +#else + objc_1msgSend__JJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIIF_FUNC, +#else + objc_1msgSend__JJJJJD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIII_FUNC, +#else + objc_1msgSend__JJJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIIII_FUNC, +#else + objc_1msgSend__JJJJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIIIIII_FUNC, +#else + objc_1msgSend__JJJJJJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIIIIZZIII_FUNC, +#else + objc_1msgSend__JJJJJJJZZJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIIIIZZIIII_FUNC, +#else + objc_1msgSend__JJJJJJJZZJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIIZ_FUNC, +#else + objc_1msgSend__JJJJJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#else + objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIIZ_FUNC, +#else + objc_1msgSend__JJJJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIIIII_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2IIIZ_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIIZ_FUNC, +#else + objc_1msgSend__JJJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2IIIII_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2III_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2ZZ_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC, +#else + objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIZ_FUNC, +#else + objc_1msgSend__JJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__IIZI_FUNC, +#else + objc_1msgSend__JJZJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3B_FUNC, +#else + objc_1msgSend__JJ_3B_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3BI_FUNC, +#else + objc_1msgSend__JJ_3BJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3C_FUNC, +#else + objc_1msgSend__JJ_3C_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3CI_FUNC, +#else + objc_1msgSend__JJ_3CJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#else + objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3F_FUNC, +#else + objc_1msgSend__JJ_3D_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3FIF_FUNC, +#else + objc_1msgSend__JJ_3DJD_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3I_FUNC, +#else + objc_1msgSend__JJ_3J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend__II_3III_FUNC, +#else + objc_1msgSend__JJ_3JII_FUNC, +#endif + objc_1msgSend__JJFD_FUNC, + objc_1msgSend__JJI_FUNC, + objc_1msgSend__JJ_3I_FUNC, + objc_1msgSend__JJ_3JJJ_FUNC, +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2III_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIII_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIZ_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IZ_FUNC, +#else + objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ_FUNC, +#endif + objc_1msgSendSuper_1bool_FUNC, +#ifndef JNI64 + objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_FUNC, +#else + objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__II_FUNC, +#else + objc_1msgSend_1bool__JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__III_FUNC, +#else + objc_1msgSend_1bool__JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IIII_FUNC, +#else + objc_1msgSend_1bool__JJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IIIII_FUNC, +#else + objc_1msgSend_1bool__JJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IIIIIII_FUNC, +#else + objc_1msgSend_1bool__JJJJJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IIILorg_eclipse_swt_internal_cocoa_NSSize_2Z_FUNC, +#else + objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC, +#else + objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1bool__IIS_FUNC, +#else + objc_1msgSend_1bool__JJS_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1fpret__II_FUNC, +#else + objc_1msgSend_1fpret__JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1fpret__III_FUNC, +#else + objc_1msgSend_1fpret__JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1fpret__IIII_FUNC, +#else + objc_1msgSend_1fpret__JJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J_FUNC, +#endif +#ifndef JNI64 + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_FUNC, +#else + objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ_FUNC, +#endif + objc_1registerClassPair_FUNC, + objc_1super_1sizeof_FUNC, + object_1getClass_FUNC, + object_1getClassName_FUNC, + object_1getInstanceVariable_FUNC, + object_1setClass_FUNC, + object_1setInstanceVariable_FUNC, + sel_1registerName_FUNC, +} OS_FUNCS; diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.c new file mode 100644 index 0000000000..e249b01a04 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.c @@ -0,0 +1,384 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#include "swt.h" +#include "os_structs.h" + +#ifndef NO_CGPathElement +typedef struct CGPathElement_FID_CACHE { + int cached; + jclass clazz; + jfieldID type, points; +} CGPathElement_FID_CACHE; + +CGPathElement_FID_CACHE CGPathElementFc; + +void cacheCGPathElementFields(JNIEnv *env, jobject lpObject) +{ + if (CGPathElementFc.cached) return; + CGPathElementFc.clazz = (*env)->GetObjectClass(env, lpObject); + CGPathElementFc.type = (*env)->GetFieldID(env, CGPathElementFc.clazz, "type", "I"); + CGPathElementFc.points = (*env)->GetFieldID(env, CGPathElementFc.clazz, "points", I_J); + CGPathElementFc.cached = 1; +} + +CGPathElement *getCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct) +{ + if (!CGPathElementFc.cached) cacheCGPathElementFields(env, lpObject); + lpStruct->type = (CGPathElementType)(*env)->GetIntField(env, lpObject, CGPathElementFc.type); + lpStruct->points = (CGPoint *)(*env)->GetIntLongField(env, lpObject, CGPathElementFc.points); + return lpStruct; +} + +void setCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct) +{ + if (!CGPathElementFc.cached) cacheCGPathElementFields(env, lpObject); + (*env)->SetIntField(env, lpObject, CGPathElementFc.type, (jint)lpStruct->type); + (*env)->SetIntLongField(env, lpObject, CGPathElementFc.points, (jintLong)lpStruct->points); +} +#endif + +#ifndef NO_CGPoint +typedef struct CGPoint_FID_CACHE { + int cached; + jclass clazz; + jfieldID x, y; +} CGPoint_FID_CACHE; + +CGPoint_FID_CACHE CGPointFc; + +void cacheCGPointFields(JNIEnv *env, jobject lpObject) +{ + if (CGPointFc.cached) return; + CGPointFc.clazz = (*env)->GetObjectClass(env, lpObject); + CGPointFc.x = (*env)->GetFieldID(env, CGPointFc.clazz, "x", F_D); + CGPointFc.y = (*env)->GetFieldID(env, CGPointFc.clazz, "y", F_D); + CGPointFc.cached = 1; +} + +CGPoint *getCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct) +{ + if (!CGPointFc.cached) cacheCGPointFields(env, lpObject); + lpStruct->x = (*env)->GetFloatDoubleField(env, lpObject, CGPointFc.x); + lpStruct->y = (*env)->GetFloatDoubleField(env, lpObject, CGPointFc.y); + return lpStruct; +} + +void setCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct) +{ + if (!CGPointFc.cached) cacheCGPointFields(env, lpObject); + (*env)->SetFloatDoubleField(env, lpObject, CGPointFc.x, (jfloatDouble)lpStruct->x); + (*env)->SetFloatDoubleField(env, lpObject, CGPointFc.y, (jfloatDouble)lpStruct->y); +} +#endif + +#ifndef NO_CGRect +typedef struct CGRect_FID_CACHE { + int cached; + jclass clazz; + jfieldID origin, size; +} CGRect_FID_CACHE; + +CGRect_FID_CACHE CGRectFc; + +void cacheCGRectFields(JNIEnv *env, jobject lpObject) +{ + if (CGRectFc.cached) return; + CGRectFc.clazz = (*env)->GetObjectClass(env, lpObject); + CGRectFc.origin = (*env)->GetFieldID(env, CGRectFc.clazz, "origin", "Lorg/eclipse/swt/internal/cocoa/CGPoint;"); + CGRectFc.size = (*env)->GetFieldID(env, CGRectFc.clazz, "size", "Lorg/eclipse/swt/internal/cocoa/CGSize;"); + CGRectFc.cached = 1; +} + +CGRect *getCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct) +{ + if (!CGRectFc.cached) cacheCGRectFields(env, lpObject); + { + jobject lpObject1 = (*env)->GetObjectField(env, lpObject, CGRectFc.origin); + if (lpObject1 != NULL) getCGPointFields(env, lpObject1, &lpStruct->origin); + } + { + jobject lpObject1 = (*env)->GetObjectField(env, lpObject, CGRectFc.size); + if (lpObject1 != NULL) getCGSizeFields(env, lpObject1, &lpStruct->size); + } + return lpStruct; +} + +void setCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct) +{ + if (!CGRectFc.cached) cacheCGRectFields(env, lpObject); + { + jobject lpObject1 = (*env)->GetObjectField(env, lpObject, CGRectFc.origin); + if (lpObject1 != NULL) setCGPointFields(env, lpObject1, &lpStruct->origin); + } + { + jobject lpObject1 = (*env)->GetObjectField(env, lpObject, CGRectFc.size); + if (lpObject1 != NULL) setCGSizeFields(env, lpObject1, &lpStruct->size); + } +} +#endif + +#ifndef NO_CGSize +typedef struct CGSize_FID_CACHE { + int cached; + jclass clazz; + jfieldID width, height; +} CGSize_FID_CACHE; + +CGSize_FID_CACHE CGSizeFc; + +void cacheCGSizeFields(JNIEnv *env, jobject lpObject) +{ + if (CGSizeFc.cached) return; + CGSizeFc.clazz = (*env)->GetObjectClass(env, lpObject); + CGSizeFc.width = (*env)->GetFieldID(env, CGSizeFc.clazz, "width", F_D); + CGSizeFc.height = (*env)->GetFieldID(env, CGSizeFc.clazz, "height", F_D); + CGSizeFc.cached = 1; +} + +CGSize *getCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct) +{ + if (!CGSizeFc.cached) cacheCGSizeFields(env, lpObject); + lpStruct->width = (*env)->GetFloatDoubleField(env, lpObject, CGSizeFc.width); + lpStruct->height = (*env)->GetFloatDoubleField(env, lpObject, CGSizeFc.height); + return lpStruct; +} + +void setCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct) +{ + if (!CGSizeFc.cached) cacheCGSizeFields(env, lpObject); + (*env)->SetFloatDoubleField(env, lpObject, CGSizeFc.width, (jfloatDouble)lpStruct->width); + (*env)->SetFloatDoubleField(env, lpObject, CGSizeFc.height, (jfloatDouble)lpStruct->height); +} +#endif + +#ifndef NO_NSAffineTransformStruct +typedef struct NSAffineTransformStruct_FID_CACHE { + int cached; + jclass clazz; + jfieldID m11, m12, m21, m22, tX, tY; +} NSAffineTransformStruct_FID_CACHE; + +NSAffineTransformStruct_FID_CACHE NSAffineTransformStructFc; + +void cacheNSAffineTransformStructFields(JNIEnv *env, jobject lpObject) +{ + if (NSAffineTransformStructFc.cached) return; + NSAffineTransformStructFc.clazz = (*env)->GetObjectClass(env, lpObject); + NSAffineTransformStructFc.m11 = (*env)->GetFieldID(env, NSAffineTransformStructFc.clazz, "m11", F_D); + NSAffineTransformStructFc.m12 = (*env)->GetFieldID(env, NSAffineTransformStructFc.clazz, "m12", F_D); + NSAffineTransformStructFc.m21 = (*env)->GetFieldID(env, NSAffineTransformStructFc.clazz, "m21", F_D); + NSAffineTransformStructFc.m22 = (*env)->GetFieldID(env, NSAffineTransformStructFc.clazz, "m22", F_D); + NSAffineTransformStructFc.tX = (*env)->GetFieldID(env, NSAffineTransformStructFc.clazz, "tX", F_D); + NSAffineTransformStructFc.tY = (*env)->GetFieldID(env, NSAffineTransformStructFc.clazz, "tY", F_D); + NSAffineTransformStructFc.cached = 1; +} + +NSAffineTransformStruct *getNSAffineTransformStructFields(JNIEnv *env, jobject lpObject, NSAffineTransformStruct *lpStruct) +{ + if (!NSAffineTransformStructFc.cached) cacheNSAffineTransformStructFields(env, lpObject); + lpStruct->m11 = (*env)->GetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m11); + lpStruct->m12 = (*env)->GetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m12); + lpStruct->m21 = (*env)->GetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m21); + lpStruct->m22 = (*env)->GetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m22); + lpStruct->tX = (*env)->GetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.tX); + lpStruct->tY = (*env)->GetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.tY); + return lpStruct; +} + +void setNSAffineTransformStructFields(JNIEnv *env, jobject lpObject, NSAffineTransformStruct *lpStruct) +{ + if (!NSAffineTransformStructFc.cached) cacheNSAffineTransformStructFields(env, lpObject); + (*env)->SetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m11, (jfloatDouble)lpStruct->m11); + (*env)->SetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m12, (jfloatDouble)lpStruct->m12); + (*env)->SetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m21, (jfloatDouble)lpStruct->m21); + (*env)->SetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.m22, (jfloatDouble)lpStruct->m22); + (*env)->SetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.tX, (jfloatDouble)lpStruct->tX); + (*env)->SetFloatDoubleField(env, lpObject, NSAffineTransformStructFc.tY, (jfloatDouble)lpStruct->tY); +} +#endif + +#ifndef NO_NSPoint +typedef struct NSPoint_FID_CACHE { + int cached; + jclass clazz; + jfieldID x, y; +} NSPoint_FID_CACHE; + +NSPoint_FID_CACHE NSPointFc; + +void cacheNSPointFields(JNIEnv *env, jobject lpObject) +{ + if (NSPointFc.cached) return; + NSPointFc.clazz = (*env)->GetObjectClass(env, lpObject); + NSPointFc.x = (*env)->GetFieldID(env, NSPointFc.clazz, "x", F_D); + NSPointFc.y = (*env)->GetFieldID(env, NSPointFc.clazz, "y", F_D); + NSPointFc.cached = 1; +} + +NSPoint *getNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct) +{ + if (!NSPointFc.cached) cacheNSPointFields(env, lpObject); + lpStruct->x = (*env)->GetFloatDoubleField(env, lpObject, NSPointFc.x); + lpStruct->y = (*env)->GetFloatDoubleField(env, lpObject, NSPointFc.y); + return lpStruct; +} + +void setNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct) +{ + if (!NSPointFc.cached) cacheNSPointFields(env, lpObject); + (*env)->SetFloatDoubleField(env, lpObject, NSPointFc.x, (jfloatDouble)lpStruct->x); + (*env)->SetFloatDoubleField(env, lpObject, NSPointFc.y, (jfloatDouble)lpStruct->y); +} +#endif + +#ifndef NO_NSRange +typedef struct NSRange_FID_CACHE { + int cached; + jclass clazz; + jfieldID location, length; +} NSRange_FID_CACHE; + +NSRange_FID_CACHE NSRangeFc; + +void cacheNSRangeFields(JNIEnv *env, jobject lpObject) +{ + if (NSRangeFc.cached) return; + NSRangeFc.clazz = (*env)->GetObjectClass(env, lpObject); + NSRangeFc.location = (*env)->GetFieldID(env, NSRangeFc.clazz, "location", I_J); + NSRangeFc.length = (*env)->GetFieldID(env, NSRangeFc.clazz, "length", I_J); + NSRangeFc.cached = 1; +} + +NSRange *getNSRangeFields(JNIEnv *env, jobject lpObject, NSRange *lpStruct) +{ + if (!NSRangeFc.cached) cacheNSRangeFields(env, lpObject); + lpStruct->location = (*env)->GetIntLongField(env, lpObject, NSRangeFc.location); + lpStruct->length = (*env)->GetIntLongField(env, lpObject, NSRangeFc.length); + return lpStruct; +} + +void setNSRangeFields(JNIEnv *env, jobject lpObject, NSRange *lpStruct) +{ + if (!NSRangeFc.cached) cacheNSRangeFields(env, lpObject); + (*env)->SetIntLongField(env, lpObject, NSRangeFc.location, (jintLong)lpStruct->location); + (*env)->SetIntLongField(env, lpObject, NSRangeFc.length, (jintLong)lpStruct->length); +} +#endif + +#ifndef NO_NSRect +typedef struct NSRect_FID_CACHE { + int cached; + jclass clazz; + jfieldID x, y, width, height; +} NSRect_FID_CACHE; + +NSRect_FID_CACHE NSRectFc; + +void cacheNSRectFields(JNIEnv *env, jobject lpObject) +{ + if (NSRectFc.cached) return; + NSRectFc.clazz = (*env)->GetObjectClass(env, lpObject); + NSRectFc.x = (*env)->GetFieldID(env, NSRectFc.clazz, "x", F_D); + NSRectFc.y = (*env)->GetFieldID(env, NSRectFc.clazz, "y", F_D); + NSRectFc.width = (*env)->GetFieldID(env, NSRectFc.clazz, "width", F_D); + NSRectFc.height = (*env)->GetFieldID(env, NSRectFc.clazz, "height", F_D); + NSRectFc.cached = 1; +} + +NSRect *getNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct) +{ + if (!NSRectFc.cached) cacheNSRectFields(env, lpObject); + lpStruct->origin.x = (*env)->GetFloatDoubleField(env, lpObject, NSRectFc.x); + lpStruct->origin.y = (*env)->GetFloatDoubleField(env, lpObject, NSRectFc.y); + lpStruct->size.width = (*env)->GetFloatDoubleField(env, lpObject, NSRectFc.width); + lpStruct->size.height = (*env)->GetFloatDoubleField(env, lpObject, NSRectFc.height); + return lpStruct; +} + +void setNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct) +{ + if (!NSRectFc.cached) cacheNSRectFields(env, lpObject); + (*env)->SetFloatDoubleField(env, lpObject, NSRectFc.x, (jfloatDouble)lpStruct->origin.x); + (*env)->SetFloatDoubleField(env, lpObject, NSRectFc.y, (jfloatDouble)lpStruct->origin.y); + (*env)->SetFloatDoubleField(env, lpObject, NSRectFc.width, (jfloatDouble)lpStruct->size.width); + (*env)->SetFloatDoubleField(env, lpObject, NSRectFc.height, (jfloatDouble)lpStruct->size.height); +} +#endif + +#ifndef NO_NSSize +typedef struct NSSize_FID_CACHE { + int cached; + jclass clazz; + jfieldID width, height; +} NSSize_FID_CACHE; + +NSSize_FID_CACHE NSSizeFc; + +void cacheNSSizeFields(JNIEnv *env, jobject lpObject) +{ + if (NSSizeFc.cached) return; + NSSizeFc.clazz = (*env)->GetObjectClass(env, lpObject); + NSSizeFc.width = (*env)->GetFieldID(env, NSSizeFc.clazz, "width", F_D); + NSSizeFc.height = (*env)->GetFieldID(env, NSSizeFc.clazz, "height", F_D); + NSSizeFc.cached = 1; +} + +NSSize *getNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct) +{ + if (!NSSizeFc.cached) cacheNSSizeFields(env, lpObject); + lpStruct->width = (*env)->GetFloatDoubleField(env, lpObject, NSSizeFc.width); + lpStruct->height = (*env)->GetFloatDoubleField(env, lpObject, NSSizeFc.height); + return lpStruct; +} + +void setNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct) +{ + if (!NSSizeFc.cached) cacheNSSizeFields(env, lpObject); + (*env)->SetFloatDoubleField(env, lpObject, NSSizeFc.width, (jfloatDouble)lpStruct->width); + (*env)->SetFloatDoubleField(env, lpObject, NSSizeFc.height, (jfloatDouble)lpStruct->height); +} +#endif + +#ifndef NO_objc_super +typedef struct objc_super_FID_CACHE { + int cached; + jclass clazz; + jfieldID receiver, super_class; +} objc_super_FID_CACHE; + +objc_super_FID_CACHE objc_superFc; + +void cacheobjc_superFields(JNIEnv *env, jobject lpObject) +{ + if (objc_superFc.cached) return; + objc_superFc.clazz = (*env)->GetObjectClass(env, lpObject); + objc_superFc.receiver = (*env)->GetFieldID(env, objc_superFc.clazz, "receiver", I_J); + objc_superFc.super_class = (*env)->GetFieldID(env, objc_superFc.clazz, "super_class", I_J); + objc_superFc.cached = 1; +} + +struct objc_super *getobjc_superFields(JNIEnv *env, jobject lpObject, struct objc_super *lpStruct) +{ + if (!objc_superFc.cached) cacheobjc_superFields(env, lpObject); + lpStruct->receiver = (id)(*env)->GetIntLongField(env, lpObject, objc_superFc.receiver); + lpStruct->swt_super_class = (Class)(*env)->GetIntLongField(env, lpObject, objc_superFc.super_class); + return lpStruct; +} + +void setobjc_superFields(JNIEnv *env, jobject lpObject, struct objc_super *lpStruct) +{ + if (!objc_superFc.cached) cacheobjc_superFields(env, lpObject); + (*env)->SetIntLongField(env, lpObject, objc_superFc.receiver, (jintLong)lpStruct->receiver); + (*env)->SetIntLongField(env, lpObject, objc_superFc.super_class, (jintLong)lpStruct->swt_super_class); +} +#endif + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.h new file mode 100644 index 0000000000..31eb71f770 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.h @@ -0,0 +1,133 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#include "os.h" + +#ifndef NO_CGPathElement +void cacheCGPathElementFields(JNIEnv *env, jobject lpObject); +CGPathElement *getCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct); +void setCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct); +#define CGPathElement_sizeof() sizeof(CGPathElement) +#else +#define cacheCGPathElementFields(a,b) +#define getCGPathElementFields(a,b,c) NULL +#define setCGPathElementFields(a,b,c) +#define CGPathElement_sizeof() 0 +#endif + +#ifndef NO_CGPoint +void cacheCGPointFields(JNIEnv *env, jobject lpObject); +CGPoint *getCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct); +void setCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct); +#define CGPoint_sizeof() sizeof(CGPoint) +#else +#define cacheCGPointFields(a,b) +#define getCGPointFields(a,b,c) NULL +#define setCGPointFields(a,b,c) +#define CGPoint_sizeof() 0 +#endif + +#ifndef NO_CGRect +void cacheCGRectFields(JNIEnv *env, jobject lpObject); +CGRect *getCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct); +void setCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct); +#define CGRect_sizeof() sizeof(CGRect) +#else +#define cacheCGRectFields(a,b) +#define getCGRectFields(a,b,c) NULL +#define setCGRectFields(a,b,c) +#define CGRect_sizeof() 0 +#endif + +#ifndef NO_CGSize +void cacheCGSizeFields(JNIEnv *env, jobject lpObject); +CGSize *getCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct); +void setCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct); +#define CGSize_sizeof() sizeof(CGSize) +#else +#define cacheCGSizeFields(a,b) +#define getCGSizeFields(a,b,c) NULL +#define setCGSizeFields(a,b,c) +#define CGSize_sizeof() 0 +#endif + +#ifndef NO_NSAffineTransformStruct +void cacheNSAffineTransformStructFields(JNIEnv *env, jobject lpObject); +NSAffineTransformStruct *getNSAffineTransformStructFields(JNIEnv *env, jobject lpObject, NSAffineTransformStruct *lpStruct); +void setNSAffineTransformStructFields(JNIEnv *env, jobject lpObject, NSAffineTransformStruct *lpStruct); +#define NSAffineTransformStruct_sizeof() sizeof(NSAffineTransformStruct) +#else +#define cacheNSAffineTransformStructFields(a,b) +#define getNSAffineTransformStructFields(a,b,c) NULL +#define setNSAffineTransformStructFields(a,b,c) +#define NSAffineTransformStruct_sizeof() 0 +#endif + +#ifndef NO_NSPoint +void cacheNSPointFields(JNIEnv *env, jobject lpObject); +NSPoint *getNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct); +void setNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct); +#define NSPoint_sizeof() sizeof(NSPoint) +#else +#define cacheNSPointFields(a,b) +#define getNSPointFields(a,b,c) NULL +#define setNSPointFields(a,b,c) +#define NSPoint_sizeof() 0 +#endif + +#ifndef NO_NSRange +void cacheNSRangeFields(JNIEnv *env, jobject lpObject); +NSRange *getNSRangeFields(JNIEnv *env, jobject lpObject, NSRange *lpStruct); +void setNSRangeFields(JNIEnv *env, jobject lpObject, NSRange *lpStruct); +#define NSRange_sizeof() sizeof(NSRange) +#else +#define cacheNSRangeFields(a,b) +#define getNSRangeFields(a,b,c) NULL +#define setNSRangeFields(a,b,c) +#define NSRange_sizeof() 0 +#endif + +#ifndef NO_NSRect +void cacheNSRectFields(JNIEnv *env, jobject lpObject); +NSRect *getNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct); +void setNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct); +#define NSRect_sizeof() sizeof(NSRect) +#else +#define cacheNSRectFields(a,b) +#define getNSRectFields(a,b,c) NULL +#define setNSRectFields(a,b,c) +#define NSRect_sizeof() 0 +#endif + +#ifndef NO_NSSize +void cacheNSSizeFields(JNIEnv *env, jobject lpObject); +NSSize *getNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct); +void setNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct); +#define NSSize_sizeof() sizeof(NSSize) +#else +#define cacheNSSizeFields(a,b) +#define getNSSizeFields(a,b,c) NULL +#define setNSSizeFields(a,b,c) +#define NSSize_sizeof() 0 +#endif + +#ifndef NO_objc_super +void cacheobjc_superFields(JNIEnv *env, jobject lpObject); +struct objc_super *getobjc_superFields(JNIEnv *env, jobject lpObject, struct objc_super *lpStruct); +void setobjc_superFields(JNIEnv *env, jobject lpObject, struct objc_super *lpStruct); +#define objc_super_sizeof() sizeof(struct objc_super) +#else +#define cacheobjc_superFields(a,b) +#define getobjc_superFields(a,b,c) NULL +#define setobjc_superFields(a,b,c) +#define objc_super_sizeof() 0 +#endif + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Lock.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Lock.java new file mode 100644 index 0000000000..7712dd0f6a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Lock.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal; + +/** + * Instances of this represent a recursive monitor. Note that this + * is an empty implementation which does not actually perform locking. + */ +public class Lock { + +/** + * Locks the monitor and returns the lock count. If + * the lock is owned by another thread, wait until + * the lock is released. + * + * @return the lock count + */ +public int lock() { + return 0; +} + +/** + * Unlocks the monitor. If the current thread is not + * the monitor owner, do nothing. + */ +public void unlock() { +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java new file mode 100755 index 0000000000..ef6bfb1040 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal; + +public class Platform { + +public static final String PLATFORM = "cocoa"; //$NON-NLS-1$ +public static final Lock lock = new Lock (); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras new file mode 100644 index 0000000000..dc4462bf2f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras @@ -0,0 +1,4752 @@ +<?xml version="1.0" encoding="UTF8"?> +<signatures swt_gen="mixed"> + <constant name="NSAccessibilityButtonRole" swt_gen="true"></constant> + <constant name="NSAccessibilityCheckBoxRole" swt_gen="true"></constant> + <constant name="NSAccessibilityChildrenAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityColumnRole" swt_gen="true"></constant> + <constant name="NSAccessibilityComboBoxRole" swt_gen="true"></constant> + <constant name="NSAccessibilityConfirmAction" swt_gen="true"></constant> + <constant name="NSAccessibilityContentsAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityDescriptionAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityDialogSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityEnabledAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityExpandedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityFloatingWindowSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityFocusedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityFocusedUIElementChangedNotification" swt_gen="true"></constant> + <constant name="NSAccessibilityGridRole" swt_gen="true"></constant> + <constant name="NSAccessibilityGroupRole" swt_gen="true"></constant> + <constant name="NSAccessibilityHelpAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityHelpTagRole" swt_gen="true"></constant> + <constant name="NSAccessibilityHorizontalOrientationValue" swt_gen="true"></constant> + <constant name="NSAccessibilityHorizontalScrollBarAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityImageRole" swt_gen="true"></constant> + <constant name="NSAccessibilityIncrementorRole" swt_gen="true"></constant> + <constant name="NSAccessibilityInsertionPointLineNumberAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityLabelValueAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityLineForIndexParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityLinkRole" swt_gen="true"></constant> + <constant name="NSAccessibilityLinkTextAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityListRole" swt_gen="true"></constant> + <constant name="NSAccessibilityMaxValueAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityMenuBarRole" swt_gen="true"></constant> + <constant name="NSAccessibilityMenuButtonRole" swt_gen="true"></constant> + <constant name="NSAccessibilityMenuItemRole" swt_gen="true"></constant> + <constant name="NSAccessibilityMenuRole" swt_gen="true"></constant> + <constant name="NSAccessibilityMinValueAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityNextContentsAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityNumberOfCharactersAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityOrientationAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityOutlineRole" swt_gen="true"></constant> + <constant name="NSAccessibilityOutlineRowSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityParentAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityPopUpButtonRole" swt_gen="true"></constant> + <constant name="NSAccessibilityPositionAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityPressAction" swt_gen="true"></constant> + <constant name="NSAccessibilityPreviousContentsAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityProgressIndicatorRole" swt_gen="true"></constant> + <constant name="NSAccessibilityRTFForRangeParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityRadioButtonRole" swt_gen="true"></constant> + <constant name="NSAccessibilityRadioGroupRole" swt_gen="true"></constant> + <constant name="NSAccessibilityRangeForIndexParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityRangeForLineParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityRangeForPositionParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityRoleAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityRoleDescriptionAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityRowRole" swt_gen="true"></constant> + <constant name="NSAccessibilityScrollAreaRole" swt_gen="true"></constant> + <constant name="NSAccessibilityScrollBarRole" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedChildrenAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedChildrenChangedNotification" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedTextAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedTextChangedNotification" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedTextRangeAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySelectedTextRangesAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityServesAsTitleForUIElementsAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySizeAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySliderRole" swt_gen="true"></constant> + <constant name="NSAccessibilitySortButtonRole" swt_gen="true"></constant> + <constant name="NSAccessibilitySplitterRole" swt_gen="true"></constant> + <constant name="NSAccessibilityStandardWindowSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityStaticTextRole" swt_gen="true"></constant> + <constant name="NSAccessibilityStringForRangeParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityStyleRangeForIndexParameterizedAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySubroleAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilitySystemDialogSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityTabGroupRole" swt_gen="true"></constant> + <constant name="NSAccessibilityTableRole" swt_gen="true"></constant> + <constant name="NSAccessibilityTableRowSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityTabsAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityTextAreaRole" swt_gen="true"></constant> + <constant name="NSAccessibilityTextFieldRole" swt_gen="true"></constant> + <constant name="NSAccessibilityTextLinkSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityTitleAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityTitleUIElementAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityToolbarRole" swt_gen="true"></constant> + <constant name="NSAccessibilityTopLevelUIElementAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityUnknownRole" swt_gen="true"></constant> + <constant name="NSAccessibilityUnknownSubrole" swt_gen="true"></constant> + <constant name="NSAccessibilityValueAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityValueChangedNotification" swt_gen="true"></constant> + <constant name="NSAccessibilityValueDescriptionAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityValueIndicatorRole" swt_gen="true"></constant> + <constant name="NSAccessibilityVerticalOrientationValue" swt_gen="true"></constant> + <constant name="NSAccessibilityVerticalScrollBarAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityVisibleCharacterRangeAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityVisibleChildrenAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityWindowAttribute" swt_gen="true"></constant> + <constant name="NSAccessibilityWindowRole" swt_gen="true"></constant> + <constant name="NSApplicationDidChangeScreenParametersNotification" swt_gen="true"></constant> + <constant name="NSBackgroundColorAttributeName" swt_gen="true"></constant> + <constant name="NSBaselineOffsetAttributeName" swt_gen="true"></constant> + <constant name="NSCalibratedRGBColorSpace" swt_gen="true"></constant> + <constant name="NSDeviceRGBColorSpace" swt_gen="true"></constant> + <constant name="NSDeviceResolution" swt_gen="true"></constant> + <constant name="NSDragPboard" swt_gen="true"></constant> + <constant name="NSEventTrackingRunLoopMode" swt_gen="true"></constant> + <constant name="NSFilenamesPboardType" swt_gen="true"></constant> + <constant name="NSFontAttributeName" swt_gen="true"></constant> + <constant name="NSForegroundColorAttributeName" swt_gen="true"></constant> + <constant name="NSHTMLPboardType" swt_gen="true"></constant> + <constant name="NSLinkAttributeName" swt_gen="true"></constant> + <constant name="NSObliquenessAttributeName" swt_gen="true"></constant> + <constant name="NSParagraphStyleAttributeName" swt_gen="true"></constant> + <constant name="NSPrintAllPages" swt_gen="true"></constant> + <constant name="NSPrintCopies" swt_gen="true"></constant> + <constant name="NSPrintFirstPage" swt_gen="true"></constant> + <constant name="NSPrintJobDisposition" swt_gen="true"></constant> + <constant name="NSPrintLastPage" swt_gen="true"></constant> + <constant name="NSPrintMustCollate" swt_gen="true"></constant> + <constant name="NSPrintPreviewJob" swt_gen="true"></constant> + <constant name="NSPrintSaveJob" swt_gen="true"></constant> + <constant name="NSPrintSavePath" swt_gen="true"></constant> + <constant name="NSPrintScalingFactor" swt_gen="true"></constant> + <constant name="NSPrintSpoolJob" swt_gen="true"></constant> + <constant name="NSRTFPboardType" swt_gen="true"></constant> + <constant name="NSStrikethroughColorAttributeName" swt_gen="true"></constant> + <constant name="NSStrikethroughStyleAttributeName" swt_gen="true"></constant> + <constant name="NSStringPboardType" swt_gen="true"></constant> + <constant name="NSStrokeWidthAttributeName" swt_gen="true"></constant> + <constant name="NSSystemColorsDidChangeNotification" swt_gen="true"></constant> + <constant name="NSTIFFPboardType" swt_gen="true"></constant> + <constant name="NSToolbarCustomizeToolbarItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarDidRemoveItemNotification" swt_gen="true"></constant> + <constant name="NSToolbarFlexibleSpaceItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarPrintItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarSeparatorItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarShowColorsItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarShowFontsItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarSpaceItemIdentifier" swt_gen="true"></constant> + <constant name="NSToolbarWillAddItemNotification" swt_gen="true"></constant> + <constant name="NSURLPboardType" swt_gen="true"></constant> + <constant name="NSUnderlineColorAttributeName" swt_gen="true"></constant> + <constant name="NSUnderlineStyleAttributeName" swt_gen="true"></constant> + <constant name="NSViewGlobalFrameDidChangeNotification" swt_gen="true"></constant> + <enum name="NSAlertFirstButtonReturn" swt_gen="true"></enum> + <enum name="NSAlertSecondButtonReturn" swt_gen="true"></enum> + <enum name="NSAlertThirdButtonReturn" swt_gen="true"></enum> + <enum name="NSAlphaFirstBitmapFormat" swt_gen="true"></enum> + <enum name="NSAlphaNonpremultipliedBitmapFormat" swt_gen="true"></enum> + <enum name="NSAlternateKeyMask" swt_gen="true"></enum> + <enum name="NSApplicationDefined" swt_gen="true"></enum> + <enum name="NSAtTop" swt_gen="true"></enum> + <enum name="NSBackingStoreBuffered" swt_gen="true"></enum> + <enum name="NSBackspaceCharacter" swt_gen="true"></enum> + <enum name="NSBevelLineJoinStyle" swt_gen="true"></enum> + <enum name="NSBezelBorder" swt_gen="true"></enum> + <enum name="NSBoldFontMask" swt_gen="true"></enum> + <enum name="NSBorderlessWindowMask" swt_gen="true"></enum> + <enum name="NSBottomTabsBezelBorder" swt_gen="true"></enum> + <enum name="NSBoxCustom" swt_gen="true"></enum> + <enum name="NSBoxSeparator" swt_gen="true"></enum> + <enum name="NSButtLineCapStyle" swt_gen="true"></enum> + <enum name="NSCancelButton" swt_gen="true"></enum> + <enum name="NSCarriageReturnCharacter" swt_gen="true"></enum> + <enum name="NSCenterTextAlignment" swt_gen="true"></enum> + <enum name="NSClockAndCalendarDatePickerStyle" swt_gen="true"></enum> + <enum name="NSClosableWindowMask" swt_gen="true"></enum> + <enum name="NSClosePathBezierPathElement" swt_gen="true"></enum> + <enum name="NSCommandKeyMask" swt_gen="true"></enum> + <enum name="NSCompositeClear" swt_gen="true"></enum> + <enum name="NSCompositeCopy" swt_gen="true"></enum> + <enum name="NSCompositeSourceOver" swt_gen="true"></enum> + <enum name="NSCompositeXOR" swt_gen="true"></enum> + <enum name="NSControlKeyMask" swt_gen="true"></enum> + <enum name="NSCriticalAlertStyle" swt_gen="true"></enum> + <enum name="NSCurveToBezierPathElement" swt_gen="true"></enum> + <enum name="NSDeleteCharacter" swt_gen="true"></enum> + <enum name="NSDeviceIndependentModifierFlagsMask" swt_gen="true"></enum> + <enum name="NSDragOperationCopy" swt_gen="true"></enum> + <enum name="NSDragOperationDelete" swt_gen="true"></enum> + <enum name="NSDragOperationEvery" swt_gen="true"></enum> + <enum name="NSDragOperationLink" swt_gen="true"></enum> + <enum name="NSDragOperationMove" swt_gen="true"></enum> + <enum name="NSDragOperationNone" swt_gen="true"></enum> + <enum name="NSEnterCharacter" swt_gen="true"></enum> + <enum name="NSEvenOddWindingRule" swt_gen="true"></enum> + <enum name="NSFileHandlingPanelOKButton" swt_gen="true"></enum> + <enum name="NSFlagsChanged" swt_gen="true"></enum> + <enum name="NSFocusRingTypeNone" swt_gen="true"></enum> + <enum name="NSHelpFunctionKey" swt_gen="true"></enum> + <enum name="NSHelpKeyMask" swt_gen="true"></enum> + <enum name="NSHourMinuteDatePickerElementFlag" swt_gen="true"></enum> + <enum name="NSHourMinuteSecondDatePickerElementFlag" swt_gen="true"></enum> + <enum name="NSImageAbove" swt_gen="true"></enum> + <enum name="NSImageAlignCenter" swt_gen="true"></enum> + <enum name="NSImageAlignLeft" swt_gen="true"></enum> + <enum name="NSImageAlignRight" swt_gen="true"></enum> + <enum name="NSImageCacheNever" swt_gen="true"></enum> + <enum name="NSImageInterpolationDefault" swt_gen="true"></enum> + <enum name="NSImageInterpolationHigh" swt_gen="true"></enum> + <enum name="NSImageInterpolationLow" swt_gen="true"></enum> + <enum name="NSImageInterpolationNone" swt_gen="true"></enum> + <enum name="NSImageLeft" swt_gen="true"></enum> + <enum name="NSImageOnly" swt_gen="true"></enum> + <enum name="NSImageOverlaps" swt_gen="true"></enum> + <enum name="NSInformationalAlertStyle" swt_gen="true"></enum> + <enum name="NSItalicFontMask" swt_gen="true"></enum> + <enum name="NSJustifiedTextAlignment" swt_gen="true"></enum> + <enum name="NSKeyDown" swt_gen="true"></enum> + <enum name="NSKeyUp" swt_gen="true"></enum> + <enum name="NSLandscapeOrientation" swt_gen="true"></enum> + <enum name="NSLeftMouseDown" swt_gen="true"></enum> + <enum name="NSLeftMouseDownMask" swt_gen="true"></enum> + <enum name="NSLeftMouseDragged" swt_gen="true"></enum> + <enum name="NSLeftMouseDraggedMask" swt_gen="true"></enum> + <enum name="NSLeftMouseUp" swt_gen="true"></enum> + <enum name="NSLeftMouseUpMask" swt_gen="true"></enum> + <enum name="NSLeftTabStopType" swt_gen="true"></enum> + <enum name="NSLeftTextAlignment" swt_gen="true"></enum> + <enum name="NSLineBreakByClipping" swt_gen="true"></enum> + <enum name="NSLineBreakByWordWrapping" swt_gen="true"></enum> + <enum name="NSLineToBezierPathElement" swt_gen="true"></enum> + <enum name="NSMiniaturizableWindowMask" swt_gen="true"></enum> + <enum name="NSMiterLineJoinStyle" swt_gen="true"></enum> + <enum name="NSMixedState" swt_gen="true"></enum> + <enum name="NSMomentaryLightButton" swt_gen="true"></enum> + <enum name="NSMouseEntered" swt_gen="true"></enum> + <enum name="NSMouseExited" swt_gen="true"></enum> + <enum name="NSMouseMoved" swt_gen="true"></enum> + <enum name="NSMoveToBezierPathElement" swt_gen="true"></enum> + <enum name="NSNewlineCharacter" swt_gen="true"></enum> + <enum name="NSNoBorder" swt_gen="true"></enum> + <enum name="NSNoImage" swt_gen="true"></enum> + <enum name="NSNoTitle" swt_gen="true"></enum> + <enum name="NSNonZeroWindingRule" swt_gen="true"></enum> + <enum name="NSOffState" swt_gen="true"></enum> + <enum name="NSOnState" swt_gen="true"></enum> + <enum name="NSOpenGLPFAAccumSize" swt_gen="true"></enum> + <enum name="NSOpenGLPFAAlphaSize" swt_gen="true"></enum> + <enum name="NSOpenGLPFAColorSize" swt_gen="true"></enum> + <enum name="NSOpenGLPFADepthSize" swt_gen="true"></enum> + <enum name="NSOpenGLPFADoubleBuffer" swt_gen="true"></enum> + <enum name="NSOpenGLPFASampleBuffers" swt_gen="true"></enum> + <enum name="NSOpenGLPFASamples" swt_gen="true"></enum> + <enum name="NSOpenGLPFAStencilSize" swt_gen="true"></enum> + <enum name="NSOpenGLPFAStereo" swt_gen="true"></enum> + <enum name="NSOtherMouseDown" swt_gen="true"></enum> + <enum name="NSOtherMouseDragged" swt_gen="true"></enum> + <enum name="NSOtherMouseUp" swt_gen="true"></enum> + <enum name="NSOutlineViewDropOnItemIndex" swt_gen="true"></enum> + <enum name="NSPageDownFunctionKey" swt_gen="true"></enum> + <enum name="NSPageUpFunctionKey" swt_gen="true"></enum> + <enum name="NSPortraitOrientation" swt_gen="true"></enum> + <enum name="NSPrintPanelShowsPageSetupAccessory" swt_gen="true"></enum> + <enum name="NSProgressIndicatorPreferredThickness" swt_gen="true"></enum> + <enum name="NSPushOnPushOffButton" swt_gen="true"></enum> + <enum name="NSRadioButton" swt_gen="true"></enum> + <enum name="NSRegularControlSize" swt_gen="true"></enum> + <enum name="NSResizableWindowMask" swt_gen="true"></enum> + <enum name="NSRightMouseDown" swt_gen="true"></enum> + <enum name="NSRightMouseDragged" swt_gen="true"></enum> + <enum name="NSRightMouseUp" swt_gen="true"></enum> + <enum name="NSRightTextAlignment" swt_gen="true"></enum> + <enum name="NSRoundLineCapStyle" swt_gen="true"></enum> + <enum name="NSRoundLineJoinStyle" swt_gen="true"></enum> + <enum name="NSRoundedBezelStyle" swt_gen="true"></enum> + <enum name="NSScaleNone" swt_gen="true"></enum> + <enum name="NSScrollWheel" swt_gen="true"></enum> + <enum name="NSScrollerDecrementLine" swt_gen="true"></enum> + <enum name="NSScrollerDecrementPage" swt_gen="true"></enum> + <enum name="NSScrollerIncrementLine" swt_gen="true"></enum> + <enum name="NSScrollerIncrementPage" swt_gen="true"></enum> + <enum name="NSScrollerKnob" swt_gen="true"></enum> + <enum name="NSShadowlessSquareBezelStyle" swt_gen="true"></enum> + <enum name="NSShiftKeyMask" swt_gen="true"></enum> + <enum name="NSSmallControlSize" swt_gen="true"></enum> + <enum name="NSSquareLineCapStyle" swt_gen="true"></enum> + <enum name="NSStatusWindowLevel" swt_gen="true"></enum> + <enum name="NSSwitchButton" swt_gen="true"></enum> + <enum name="NSSystemDefined" swt_gen="true"></enum> + <enum name="NSTabCharacter" swt_gen="true"></enum> + <enum name="NSTableColumnNoResizing" swt_gen="true"></enum> + <enum name="NSTableColumnUserResizingMask" swt_gen="true"></enum> + <enum name="NSTableViewDropAbove" swt_gen="true"></enum> + <enum name="NSTableViewDropOn" swt_gen="true"></enum> + <enum name="NSTableViewNoColumnAutoresizing" swt_gen="true"></enum> + <enum name="NSTextFieldAndStepperDatePickerStyle" swt_gen="true"></enum> + <enum name="NSTitledWindowMask" swt_gen="true"></enum> + <enum name="NSUnderlineStyleDouble" swt_gen="true"></enum> + <enum name="NSUnderlineStyleNone" swt_gen="true"></enum> + <enum name="NSUnderlineStyleSingle" swt_gen="true"></enum> + <enum name="NSUnderlineStyleThick" swt_gen="true"></enum> + <enum name="NSViewHeightSizable" swt_gen="true"></enum> + <enum name="NSViewWidthSizable" swt_gen="true"></enum> + <enum name="NSWarningAlertStyle" swt_gen="true"></enum> + <enum name="NSWindowAbove" swt_gen="true"></enum> + <enum name="NSWindowBelow" swt_gen="true"></enum> + <enum name="NSYearMonthDatePickerElementFlag" swt_gen="true"></enum> + <enum name="NSYearMonthDayDatePickerElementFlag" swt_gen="true"></enum> + <function name="NSAccessibilityActionDescription" swt_gen="true"> + <arg name="action" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSAccessibilityPostNotification" swt_gen="true"> + <arg name="element" swt_gen="true"></arg> + <arg name="notification" swt_gen="true"></arg> + </function> + <function name="NSAccessibilityRaiseBadArgumentException" swt_gen="true"> + <arg name="element" swt_gen="true"></arg> + <arg name="attribute" swt_gen="true"></arg> + <arg name="value" swt_gen="true"></arg> + </function> + <function name="NSAccessibilityRoleDescription" swt_gen="true"> + <arg name="role" swt_gen="true"></arg> + <arg name="subrole" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSAccessibilityRoleDescriptionForUIElement" swt_gen="true"> + <arg name="element" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSAccessibilityUnignoredAncestor" swt_gen="true"> + <arg name="element" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSAccessibilityUnignoredChildren" swt_gen="true"> + <arg name="originalChildren" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSAccessibilityUnignoredChildrenForOnlyChild" swt_gen="true"> + <arg name="originalChild" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSAccessibilityUnignoredDescendant" swt_gen="true"> + <arg name="element" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSBeep" swt_gen="true"></function> + <function name="NSBitsPerPixelFromDepth" swt_gen="true"> + <arg name="depth" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSCopyBits" swt_gen="true"> + <arg name="srcGState" swt_gen="true"></arg> + <arg name="srcRect" swt_gen="true"></arg> + <arg name="destPoint" swt_gen="true"></arg> + </function> + <function name="NSNumberOfColorComponents" swt_gen="true"> + <arg name="colorSpaceName" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <class name="NSATSTypesetter" swt_superclass="NSTypesetter"> + </class> + <class name="NSActionCell" swt_gen="mixed" swt_superclass="NSCell"> + <method selector="action" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAction:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTarget:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="target" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSAffineTransform" swt_gen="mixed"> + <method selector="concat" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithTransform:" swt_gen="true"> + <arg name="transform" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSAffineTransform"></retval> + </method> + <method selector="invert" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="prependTransform:" swt_gen="true"> + <arg name="transform" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rotateByDegrees:" swt_gen="true"> + <arg name="angle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="scaleXBy:yBy:" swt_gen="true"> + <arg name="scaleX" swt_gen="true"></arg> + <arg name="scaleY" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="set" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setTransformStruct:" swt_gen="true"> + <arg name="transformStruct" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="transform" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="transformPoint:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="transformSize:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="transformStruct" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="translateXBy:yBy:" swt_gen="true"> + <arg name="deltaX" swt_gen="true"></arg> + <arg name="deltaY" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSAlert" swt_gen="mixed"> + <method selector="addButtonWithTitle:" swt_gen="true"> + <arg name="title" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:" swt_gen="true"> + <arg name="window" swt_gen="true"></arg> + <arg name="delegate" swt_gen="true"></arg> + <arg name="didEndSelector" swt_gen="true"></arg> + <arg name="contextInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="runModal" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlertStyle:" swt_gen="true"> + <arg name="style" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMessageText:" swt_gen="true"> + <arg name="messageText" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="window" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSWindow"></retval> + </method> + </class> + <class name="NSApplication" swt_gen="mixed" swt_superclass="NSResponder"> + <method selector="activateIgnoringOtherApps:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:" swt_gen="true"> + <arg name="sheet" swt_gen="true"></arg> + <arg name="docWindow" swt_gen="true"></arg> + <arg name="modalDelegate" swt_gen="true"></arg> + <arg name="didEndSelector" swt_gen="true"></arg> + <arg name="contextInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="currentEvent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="endSheet:returnCode:" swt_gen="true"> + <arg name="sheet" swt_gen="true"></arg> + <arg name="returnCode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="finishLaunching" swt_gen="true" swt_gen_super_msgSend="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="hide:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="hideOtherApplications:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isActive" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isRunning" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="keyWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="mainMenu" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="nextEventMatchingMask:untilDate:inMode:dequeue:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="mask" swt_gen="true"></arg> + <arg name="expiration" swt_gen="true"></arg> + <arg name="mode" swt_gen="true"></arg> + <arg name="deqFlag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="orderFrontStandardAboutPanel:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="orderedWindows" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="postEvent:atStart:" swt_gen="true"> + <arg name="event" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="run" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="runModalForWindow:" swt_gen="true"> + <arg name="theWindow" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="sendEvent:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setApplicationIconImage:" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMainMenu:" swt_gen="true"> + <arg name="aMenu" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setServicesMenu:" swt_gen="true"> + <arg name="aMenu" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedApplication" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="stop:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="terminate:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="unhideAllApplications:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="windows" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSArrayController" swt_superclass="NSObjectController"> + </class> + <class name="NSAttributedString" swt_gen="mixed"> + <method class_method="true" selector="attributedStringWithAttachment:" swt_gen="true"> + <arg name="attachment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="attributesAtIndex:longestEffectiveRange:inRange:" swt_gen="true"> + <arg name="location" swt_gen="true"></arg> + <arg name="range" swt_gen="true"></arg> + <arg name="rangeLimit" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="doubleClickAtIndex:" swt_gen="true"> + <arg name="location" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawAtPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawInRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithString:attributes:" swt_gen="true"> + <arg name="str" swt_gen="true"></arg> + <arg name="attrs" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSAttributedString"></retval> + </method> + <method selector="nextWordFromIndex:forward:" swt_gen="true"> + <arg name="location" swt_gen="true"></arg> + <arg name="isForward" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="size" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSBezierPath" swt_gen="mixed"> + <method selector="addClip" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPath:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:" swt_gen="true"> + <arg name="center" swt_gen="true"></arg> + <arg name="radius" swt_gen="true"></arg> + <arg name="startAngle" swt_gen="true"></arg> + <arg name="endAngle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:" swt_gen="true"> + <arg name="center" swt_gen="true"></arg> + <arg name="radius" swt_gen="true"></arg> + <arg name="startAngle" swt_gen="true"></arg> + <arg name="endAngle" swt_gen="true"></arg> + <arg name="clockwise" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPathWithGlyphs:count:inFont:" swt_gen="true"> + <arg name="glyphs" swt_gen="true"></arg> + <arg name="count" swt_gen="true"></arg> + <arg name="font" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPathWithOvalInRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPathWithRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="appendBezierPathWithRoundedRect:xRadius:yRadius:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <arg name="xRadius" swt_gen="true"></arg> + <arg name="yRadius" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="bezierPath" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bezierPathByFlatteningPath" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="bezierPathWithRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="bounds" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="closePath" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="containsPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="controlPointBounds" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="currentPoint" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="curveToPoint:controlPoint1:controlPoint2:" swt_gen="true"> + <arg name="endPoint" swt_gen="true"></arg> + <arg name="controlPoint1" swt_gen="true"></arg> + <arg name="controlPoint2" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="defaultFlatness" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="elementAtIndex:associatedPoints:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <arg name="points" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="elementCount" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="fill" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="fillRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isEmpty" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="lineToPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="moveToPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeAllPoints" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setClip" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="setDefaultFlatness:" swt_gen="true"> + <arg name="flatness" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineCapStyle:" swt_gen="true"> + <arg name="lineCapStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineDash:count:phase:" swt_gen="true"> + <arg name="pattern" swt_gen="true" swt_java_type="float[]" swt_java_type64="double[]"></arg> + <arg name="count" swt_gen="true"></arg> + <arg name="phase" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineJoinStyle:" swt_gen="true"> + <arg name="lineJoinStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineWidth:" swt_gen="true"> + <arg name="lineWidth" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMiterLimit:" swt_gen="true"> + <arg name="miterLimit" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setWindingRule:" swt_gen="true"> + <arg name="windingRule" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stroke" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="strokeRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="transformUsingAffineTransform:" swt_gen="true"> + <arg name="transform" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSBitmapImageRep" swt_gen="mixed" swt_superclass="NSImageRep"> + <method selector="TIFFRepresentation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bitmapData" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bitmapFormat" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bitsPerPixel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bytesPerPlane" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bytesPerRow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="colorAtX:y:" swt_gen="true"> + <arg name="x" swt_gen="true"></arg> + <arg name="y" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="getBitmapDataPlanes:" swt_gen="true"> + <arg name="data" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="imageRepWithData:" swt_gen="true"> + <arg name="data" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:" swt_gen="true"> + <arg name="planes" swt_gen="true"></arg> + <arg name="width" swt_gen="true"></arg> + <arg name="height" swt_gen="true"></arg> + <arg name="bps" swt_gen="true"></arg> + <arg name="spp" swt_gen="true"></arg> + <arg name="alpha" swt_gen="true"></arg> + <arg name="isPlanar" swt_gen="true"></arg> + <arg name="colorSpaceName" swt_gen="true"></arg> + <arg name="bitmapFormat" swt_gen="true"></arg> + <arg name="rBytes" swt_gen="true"></arg> + <arg name="pBits" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSBitmapImageRep"></retval> + </method> + <method selector="initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:" swt_gen="true"> + <arg name="planes" swt_gen="true"></arg> + <arg name="width" swt_gen="true"></arg> + <arg name="height" swt_gen="true"></arg> + <arg name="bps" swt_gen="true"></arg> + <arg name="spp" swt_gen="true"></arg> + <arg name="alpha" swt_gen="true"></arg> + <arg name="isPlanar" swt_gen="true"></arg> + <arg name="colorSpaceName" swt_gen="true"></arg> + <arg name="rBytes" swt_gen="true"></arg> + <arg name="pBits" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSBitmapImageRep"></retval> + </method> + <method selector="initWithFocusedViewRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSBitmapImageRep"></retval> + </method> + <method selector="isPlanar" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfPlanes" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="samplesPerPixel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSBox" swt_gen="mixed" swt_superclass="NSView"> + <method selector="borderWidth" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="contentView" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSView"></retval> + </method> + <method selector="contentViewMargins" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setBorderType:" swt_gen="true"> + <arg name="aType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBorderWidth:" swt_gen="true"> + <arg name="borderWidth" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBoxType:" swt_gen="true"> + <arg name="boxType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setContentView:" swt_gen="true"> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setContentViewMargins:" swt_gen="true"> + <arg name="offsetSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFillColor:" swt_gen="true"> + <arg name="fillColor" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitleFont:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitlePosition:" swt_gen="true"> + <arg name="aPosition" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="sizeToFit" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="titleCell" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSCell"></retval> + </method> + <method selector="titleFont" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSBrowser" swt_superclass="NSControl"> + </class> + <class name="NSBrowserCell" swt_gen="mixed" swt_superclass="NSCell"> + <method selector="highlightColorInView:" swt_gen="true"> + <arg name="controlView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLeaf:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSBundle" swt_gen="mixed"> + <method class_method="true" selector="loadNibFile:externalNameTable:withZone:" swt_gen="true"> + <arg name="fileName" swt_gen="true"></arg> + <arg name="context" swt_gen="true"></arg> + <arg name="zone" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSButton" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="attributedTitle" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsMixedState:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAttributedTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBezelStyle:" swt_gen="true"> + <arg name="bezelStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBordered:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setButtonType:" swt_gen="true"> + <arg name="aType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImage:" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImagePosition:" swt_gen="true"> + <arg name="aPosition" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setKeyEquivalent:" swt_gen="true"> + <arg name="charCode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setState:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="state" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSButtonCell" swt_gen="mixed" swt_superclass="NSActionCell"> + <method selector="drawImage:withFrame:inView:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="image" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + <arg name="controlView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setButtonType:" swt_gen="true"> + <arg name="aType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImagePosition:" swt_gen="true"> + <arg name="aPosition" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="title" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSCIImageRep" swt_superclass="NSImageRep"> + </class> + <class name="NSCachedImageRep" swt_superclass="NSImageRep"> + </class> + <class name="NSCell" swt_gen="mixed"> + <method selector="attributedStringValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="cellSize" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="cellSizeForBounds:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawInteriorWithFrame:inView:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="cellFrame" swt_gen="true"></arg> + <arg name="controlView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawWithExpansionFrame:inView:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="cellFrame" swt_gen="true"></arg> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawWithFrame:inView:" swt_gen_custom_callback="true"> + <arg name="cellFrame"></arg> + <arg name="controlView"></arg> + <retval></retval> + </method> + <method selector="drawingRectForBounds:" swt_gen="true"> + <arg name="theRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="expansionFrameWithFrame:inView:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="cellFrame" swt_gen="true"></arg> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="font" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="highlightColorWithFrame:inView:" swt_gen="true"> + <arg name="cellFrame" swt_gen="true"></arg> + <arg name="controlView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="hitTestForEvent:inRect:ofView:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="event" swt_gen="true"></arg> + <arg name="cellFrame" swt_gen="true"></arg> + <arg name="controlView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="image" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="imageRectForBounds:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="theRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isEnabled" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isHighlighted" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="nextState" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlignment:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsMixedState:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAttributedStringValue:" swt_gen="true"> + <arg name="obj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setControlSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEnabled:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFont:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFormatter:" swt_gen="true"> + <arg name="newFormatter" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHighlighted:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImage:" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineBreakMode:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setObjectValue:" swt_gen="true"> + <arg name="obj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setScrollable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setWraps:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="title" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="titleRectForBounds:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="theRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="wraps" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSClipView" swt_gen="mixed" swt_superclass="NSView"> + <method selector="copiesOnScroll" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="documentCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollToPoint:" swt_gen="true"> + <arg name="newOrigin" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCopiesOnScroll:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDocumentCursor:" swt_gen="true"> + <arg name="anObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDrawsBackground:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSCollectionView" swt_superclass="NSView"> + </class> + <class name="NSColor" swt_gen="mixed"> + <method selector="alphaComponent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="alternateSelectedControlColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="alternateSelectedControlTextColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="blackColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="blueComponent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="clearColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="colorUsingColorSpace:" swt_gen="true"> + <arg name="space" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="colorUsingColorSpaceName:" swt_gen="true"> + <arg name="colorSpace" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="colorWithDeviceRed:green:blue:alpha:" swt_gen="true"> + <arg name="red" swt_gen="true"></arg> + <arg name="green" swt_gen="true"></arg> + <arg name="blue" swt_gen="true"></arg> + <arg name="alpha" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="colorWithPatternImage:" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlBackgroundColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlDarkShadowColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlHighlightColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlLightHighlightColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlShadowColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlTextColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="disabledControlTextColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="getComponents:" swt_gen="true"> + <arg name="components" swt_gen="true" swt_java_type="float[]" swt_java_type64="double[]"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="greenComponent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfComponents" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="redComponent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="secondarySelectedControlColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="selectedControlColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="selectedControlTextColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="selectedTextBackgroundColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="selectedTextColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="set" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setFill" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setStroke" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="textBackgroundColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="textColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="windowBackgroundColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="windowFrameColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="windowFrameTextColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSColorPanel" swt_gen="mixed" swt_superclass="NSPanel"> + <method selector="color" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedColorPanel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSColorSpace" swt_gen="mixed"> + <method class_method="true" selector="deviceRGBColorSpace" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSColorWell" swt_superclass="NSControl"> + </class> + <class name="NSComboBox" swt_gen="mixed" swt_superclass="NSTextField"> + <method selector="addItemWithObjectValue:" swt_gen="true"> + <arg name="object" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="deselectItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="indexOfSelectedItem" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="insertItemWithObjectValue:atIndex:" swt_gen="true"> + <arg name="object" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="itemObjectValueAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfItems" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfVisibleItems" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeAllItems" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setNumberOfVisibleItems:" swt_gen="true"> + <arg name="visibleItems" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSComboBoxCell" swt_gen="mixed" swt_superclass="NSTextFieldCell"> + <method selector="objectValues" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSControl" swt_gen="mixed" swt_superclass="NSView"> + <method selector="abortEditing" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="action" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="cell" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSCell"></retval> + </method> + <method class_method="true" selector="cellClass" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="currentEditor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="doubleValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="font" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isEnabled" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="sendAction:to:" swt_gen="true"> + <arg name="theAction" swt_gen="true"></arg> + <arg name="theTarget" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAction:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlignment:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCell:" swt_gen="true"> + <arg name="aCell" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="setCellClass:" swt_gen="true"> + <arg name="factoryId" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDoubleValue:" swt_gen="true"> + <arg name="aDouble" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEnabled:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFont:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFormatter:" swt_gen="true"> + <arg name="newFormatter" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setStringValue:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTarget:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="sizeToFit" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="stringValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="target" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSCursor" swt_gen="mixed"> + <method class_method="true" selector="IBeamCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="arrowCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="crosshairCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="currentCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithImage:hotSpot:" swt_gen="true"> + <arg name="newImage" swt_gen="true"></arg> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSCursor"></retval> + </method> + <method class_method="true" selector="pointingHandCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="pop" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="push" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="resizeDownCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="resizeLeftCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="resizeLeftRightCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="resizeRightCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="resizeUpCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="resizeUpDownCursor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="set" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="setHiddenUntilMouseMoves:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setOnMouseEntered:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSDatePicker" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="dateValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDatePickerElements:" swt_gen="true"> + <arg name="elementFlags" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDatePickerStyle:" swt_gen="true"> + <arg name="newStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDateValue:" swt_gen="true"> + <arg name="newStartDate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDrawsBackground:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTextColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSDatePickerCell" swt_superclass="NSActionCell"> + </class> + <class name="NSDictionaryController" swt_superclass="NSArrayController"> + </class> + <class name="NSDrawer" swt_superclass="NSResponder"> + </class> + <class name="NSEPSImageRep" swt_superclass="NSImageRep"> + </class> + <class name="NSEvent" swt_gen="mixed"> + <method selector="CGEvent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="buttonNumber" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="characters" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="charactersIgnoringModifiers" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clickCount" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="deltaX" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="deltaY" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:" swt_gen="true"> + <arg name="type" swt_gen="true"></arg> + <arg name="location" swt_gen="true"></arg> + <arg name="flags" swt_gen="true"></arg> + <arg name="time" swt_gen="true"></arg> + <arg name="wNum" swt_gen="true"></arg> + <arg name="context" swt_gen="true"></arg> + <arg name="eNum" swt_gen="true"></arg> + <arg name="tNum" swt_gen="true"></arg> + <arg name="data" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="keyCode" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="locationInWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="modifierFlags" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="mouseLocation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:" swt_gen="true"> + <arg name="type" swt_gen="true"></arg> + <arg name="location" swt_gen="true"></arg> + <arg name="flags" swt_gen="true"></arg> + <arg name="time" swt_gen="true"></arg> + <arg name="wNum" swt_gen="true"></arg> + <arg name="context" swt_gen="true"></arg> + <arg name="subtype" swt_gen="true"></arg> + <arg name="d1" swt_gen="true"></arg> + <arg name="d2" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="timestamp" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="type" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="window" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSFileWrapper" swt_gen="mixed"> + <method selector="setIcon:" swt_gen="true"> + <arg name="icon" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSFont" swt_gen="mixed"> + <method selector="ascender" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="controlContentFontOfSize:" swt_gen="true"> + <arg name="fontSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="descender" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="familyName" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="fontName" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="fontWithName:size:" swt_gen="true"> + <arg name="fontName" swt_gen="true"></arg> + <arg name="fontSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="leading" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="pointSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="smallSystemFontSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="systemFontOfSize:" swt_gen="true"> + <arg name="fontSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="systemFontSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="systemFontSizeForControlSize:" swt_gen="true"> + <arg name="controlSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSFontManager" swt_gen="mixed"> + <method selector="availableFontFamilies" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="availableFonts" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="availableMembersOfFontFamily:" swt_gen="true"> + <arg name="fam" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertFont:toHaveTrait:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <arg name="trait" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="fontWithFamily:traits:weight:size:" swt_gen="true"> + <arg name="family" swt_gen="true"></arg> + <arg name="traits" swt_gen="true"></arg> + <arg name="weight" swt_gen="true"></arg> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedFontManager" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="traitsOfFont:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="weightOfFont:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSFontPanel" swt_gen="mixed" swt_superclass="NSPanel"> + <method selector="panelConvertFont:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPanelFont:isMultiple:" swt_gen="true"> + <arg name="fontObj" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedFontPanel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSForm" swt_superclass="NSMatrix"> + </class> + <class name="NSFormCell" swt_superclass="NSActionCell"> + </class> + <class name="NSGradient" swt_gen="mixed"> + <method selector="drawFromPoint:toPoint:options:" swt_gen="true"> + <arg name="startingPoint" swt_gen="true"></arg> + <arg name="endingPoint" swt_gen="true"></arg> + <arg name="options" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawInRect:angle:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <arg name="angle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithStartingColor:endingColor:" swt_gen="true"> + <arg name="startingColor" swt_gen="true"></arg> + <arg name="endingColor" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSGradient"></retval> + </method> + </class> + <class name="NSGraphicsContext" swt_gen="mixed"> + <method class_method="true" selector="currentContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="flushGraphics" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="graphicsContextWithBitmapImageRep:" swt_gen="true"> + <arg name="bitmapRep" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="graphicsContextWithGraphicsPort:flipped:" swt_gen="true"> + <arg name="graphicsPort" swt_gen="true"></arg> + <arg name="initialFlippedState" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="graphicsContextWithWindow:" swt_gen="true"> + <arg name="window" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="graphicsPort" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="imageInterpolation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isDrawingToScreen" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="restoreGraphicsState" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="restoreGraphicsState" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="saveGraphicsState" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="saveGraphicsState" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setCompositingOperation:" swt_gen="true"> + <arg name="operation" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="setCurrentContext:" swt_gen="true"> + <arg name="context" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImageInterpolation:" swt_gen="true"> + <arg name="interpolation" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPatternPhase:" swt_gen="true"> + <arg name="phase" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setShouldAntialias:" swt_gen="true"> + <arg name="antialias" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="shouldAntialias" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSImage" swt_gen="mixed"> + <method selector="TIFFRepresentation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="addRepresentation:" swt_gen="true"> + <arg name="imageRep" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="bestRepresentationForDevice:" swt_gen="true"> + <arg name="deviceDescription" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawAtPoint:fromRect:operation:fraction:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <arg name="fromRect" swt_gen="true"></arg> + <arg name="op" swt_gen="true"></arg> + <arg name="delta" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawInRect:fromRect:operation:fraction:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <arg name="fromRect" swt_gen="true"></arg> + <arg name="op" swt_gen="true"></arg> + <arg name="delta" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="imageNamed:" swt_gen="true"> + <arg name="name" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSImage"></retval> + </method> + <method selector="initByReferencingFile:" swt_gen="true"> + <arg name="fileName" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSImage"></retval> + </method> + <method selector="initWithContentsOfFile:" swt_gen="true"> + <arg name="fileName" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSImage"></retval> + </method> + <method selector="initWithData:" swt_gen="true"> + <arg name="data" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithSize:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSImage"></retval> + </method> + <method selector="lockFocus" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeRepresentation:" swt_gen="true"> + <arg name="imageRep" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="representations" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setCacheMode:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSize:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="size" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="unlockFocus" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSImageCell" swt_superclass="NSCell"> + </class> + <class name="NSImageRep" swt_gen="mixed"> + <method selector="bitsPerSample" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="colorSpaceName" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="drawInRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="hasAlpha" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="pixelsHigh" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="pixelsWide" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlpha:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSImageView" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="image" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setImage:" swt_gen="true"> + <arg name="newImage" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImageAlignment:" swt_gen="true"> + <arg name="newAlign" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImageScaling:" swt_gen="true"> + <arg name="newScaling" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSInputManager" swt_gen="mixed"> + <method class_method="true" selector="currentInputManager" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="handleMouseEvent:" swt_gen="true"> + <arg name="theMouseEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="wantsToHandleMouseEvents" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSLayoutManager" swt_gen="mixed"> + <method selector="addTemporaryAttribute:value:forCharacterRange:" swt_gen="true"> + <arg name="attrName" swt_gen="true"></arg> + <arg name="value" swt_gen="true"></arg> + <arg name="charRange" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="addTextContainer:" swt_gen="true"> + <arg name="container" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="boundingRectForGlyphRange:inTextContainer:" swt_gen="true"> + <arg name="glyphRange" swt_gen="true"></arg> + <arg name="container" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="characterIndexForGlyphAtIndex:" swt_gen="true"> + <arg name="glyphIndex" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="defaultBaselineOffsetForFont:" swt_gen="true"> + <arg name="theFont" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="defaultLineHeightForFont:" swt_gen="true"> + <arg name="theFont" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawBackgroundForGlyphRange:atPoint:" swt_gen="true"> + <arg name="glyphsToShow" swt_gen="true"></arg> + <arg name="origin" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawGlyphsForGlyphRange:atPoint:" swt_gen="true"> + <arg name="glyphsToShow" swt_gen="true"></arg> + <arg name="origin" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="getGlyphs:range:" swt_gen="true"> + <arg name="glyphArray" swt_gen="true"></arg> + <arg name="glyphRange" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="getGlyphsInRange:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:" swt_gen="true"> + <arg name="glyphRange" swt_gen="true"></arg> + <arg name="glyphBuffer" swt_gen="true"></arg> + <arg name="charIndexBuffer" swt_gen="true"></arg> + <arg name="inscribeBuffer" swt_gen="true"></arg> + <arg name="elasticBuffer" swt_gen="true"></arg> + <arg name="bidiLevelBuffer" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="glyphIndexForCharacterAtIndex:" swt_gen="true"> + <arg name="charIndex" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <arg name="container" swt_gen="true"></arg> + <arg name="partialFraction" swt_gen="true" swt_java_type="float[]" swt_java_type64="double[]"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="glyphRangeForCharacterRange:actualCharacterRange:" swt_gen="true"> + <arg name="charRange" swt_gen="true"></arg> + <arg name="actualCharRange" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="glyphRangeForTextContainer:" swt_gen="true"> + <arg name="container" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="lineFragmentUsedRectForGlyphAtIndex:effectiveRange:" swt_gen="true"> + <arg name="glyphIndex" swt_gen="true"></arg> + <arg name="effectiveGlyphRange" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:" swt_gen="true"> + <arg name="glyphIndex" swt_gen="true"></arg> + <arg name="effectiveGlyphRange" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="locationForGlyphAtIndex:" swt_gen="true"> + <arg name="glyphIndex" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfGlyphs" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:rectCount:" swt_gen="true"> + <arg name="charRange" swt_gen="true"></arg> + <arg name="selCharRange" swt_gen="true"></arg> + <arg name="container" swt_gen="true"></arg> + <arg name="rectCount" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeTemporaryAttribute:forCharacterRange:" swt_gen="true"> + <arg name="attrName" swt_gen="true"></arg> + <arg name="charRange" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundLayoutEnabled:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineFragmentRect:forGlyphRange:usedRect:" swt_gen="true"> + <arg name="fragmentRect" swt_gen="true"></arg> + <arg name="glyphRange" swt_gen="true"></arg> + <arg name="usedRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTextStorage:" swt_gen="true"> + <arg name="textStorage" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="typesetter" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="usedRectForTextContainer:" swt_gen="true"> + <arg name="container" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSLevelIndicator" swt_superclass="NSControl"> + </class> + <class name="NSLevelIndicatorCell" swt_superclass="NSActionCell"> + </class> + <class name="NSMatrix" swt_superclass="NSControl"> + </class> + <class name="NSMenu" swt_gen="mixed"> + <method selector="addItem:" swt_gen="true"> + <arg name="newItem" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="addItemWithTitle:action:keyEquivalent:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <arg name="aSelector" swt_gen="true"></arg> + <arg name="charCode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="cancelTracking" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="indexOfItemWithTarget:andAction:" swt_gen="true"> + <arg name="target" swt_gen="true"></arg> + <arg name="actionSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithTitle:" swt_gen="true"> + <arg name="aTitle" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSMenu"></retval> + </method> + <method selector="insertItem:atIndex:" swt_gen="true"> + <arg name="newItem" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="itemArray" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="itemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfItems" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="popUpContextMenu:withEvent:forView:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + <arg name="event" swt_gen="true"></arg> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutoenablesItems:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSubmenu:forItem:" swt_gen="true"> + <arg name="aMenu" swt_gen="true"></arg> + <arg name="anItem" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMenuItem" swt_gen="mixed"> + <method selector="initWithTitle:action:keyEquivalent:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <arg name="aSelector" swt_gen="true"></arg> + <arg name="charCode" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSMenuItem"></retval> + </method> + <method selector="isHidden" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="keyEquivalent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="keyEquivalentModifierMask" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="separatorItem" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAction:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEnabled:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHidden:" swt_gen="true"> + <arg name="hidden" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImage:" swt_gen="true"> + <arg name="menuImage" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setKeyEquivalent:" swt_gen="true"> + <arg name="aKeyEquivalent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setKeyEquivalentModifierMask:" swt_gen="true"> + <arg name="mask" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMenu:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setState:" swt_gen="true"> + <arg name="state" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSubmenu:" swt_gen="true"> + <arg name="submenu" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTarget:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="state" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="submenu" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="title" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMenuItemCell" swt_superclass="NSButtonCell"> + </class> + <class name="NSMutableAttributedString" swt_gen="mixed" swt_superclass="NSAttributedString"> + <method selector="appendAttributedString:" swt_gen="true"> + <arg name="attrString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mutableString" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="replaceCharactersInRange:withString:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <arg name="str" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableParagraphStyle" swt_gen="mixed" swt_superclass="NSParagraphStyle"> + <method selector="addTabStop:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlignment:" swt_gen="true"> + <arg name="alignment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDefaultTabInterval:" swt_gen="true"> + <arg name="aFloat" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFirstLineHeadIndent:" swt_gen="true"> + <arg name="aFloat" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineBreakMode:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineSpacing:" swt_gen="true"> + <arg name="aFloat" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTabStops:" swt_gen="true"> + <arg name="array" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSNibOutletConnector" swt_superclass="NSNibConnector"> + </class> + <class name="NSObject" swt_gen="mixed"> + <method selector="accessibilityAttributeValue:forParameter:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="attribute" swt_gen="true"></arg> + <arg name="parameter" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="accessibilitySetOverrideValue:forAttribute:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <arg name="attribute" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="draggedImage:endedAt:operation:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="image" swt_gen="true"></arg> + <arg name="screenPoint" swt_gen="true"></arg> + <arg name="operation" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="draggingDestinationWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="draggingLocation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="draggingPasteboard" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="draggingSourceOperationMask" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSObjectController" swt_superclass="NSController"> + </class> + <class name="NSOpenGLContext" swt_gen="mixed"> + <method class_method="true" selector="clearCurrentContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clearDrawable" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="currentContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="flushBuffer" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithFormat:shareContext:" swt_gen="true"> + <arg name="format" swt_gen="true"></arg> + <arg name="share" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSOpenGLContext"></retval> + </method> + <method selector="makeCurrentContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setView:" swt_gen="true"> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="update" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="view" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSOpenGLPixelFormat" swt_gen="mixed"> + <method selector="getValues:forAttribute:forVirtualScreen:" swt_gen="true"> + <arg name="vals" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> + <arg name="attrib" swt_gen="true"></arg> + <arg name="screen" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithAttributes:" swt_gen="true"> + <arg name="attribs" swt_gen="true" swt_java_type="int[]"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSOpenGLView" swt_superclass="NSView"> + </class> + <class name="NSOpenPanel" swt_gen="mixed" swt_superclass="NSSavePanel"> + <method selector="filenames" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="openPanel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsMultipleSelection:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCanChooseDirectories:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCanChooseFiles:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSOutlineView" swt_gen="mixed" swt_superclass="NSTableView"> + <method selector="collapseItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="collapseItem:collapseChildren:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <arg name="collapseChildren" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="expandItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="expandItem:expandChildren:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="item" swt_gen="true"></arg> + <arg name="expandChildren" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="frameOfOutlineCellAtRow:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="indentationPerLevel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isItemExpanded:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="itemAtRow:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="levelForItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="outlineTableColumn" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="reloadItem:reloadChildren:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <arg name="reloadChildren" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rowForItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutoresizesOutlineColumn:" swt_gen="true"> + <arg name="resize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutosaveExpandedItems:" swt_gen="true"> + <arg name="save" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDropItem:dropChildIndex:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setOutlineTableColumn:" swt_gen="true"> + <arg name="outlineTableColumn" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPDFImageRep" swt_superclass="NSImageRep"> + </class> + <class name="NSPICTImageRep" swt_superclass="NSImageRep"> + </class> + <class name="NSPanel" swt_gen="mixed" swt_superclass="NSWindow"> + <method selector="setWorksWhenModal:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="worksWhenModal" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSParagraphStyle" swt_gen="mixed"> + <method selector="alignment" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="tabStops" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPasteboard" swt_gen="mixed"> + <method selector="addTypes:owner:" swt_gen="true"> + <arg name="newTypes" swt_gen="true"></arg> + <arg name="newOwner" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="availableTypeFromArray:" swt_gen="true"> + <arg name="types" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="dataForType:" swt_gen="true"> + <arg name="dataType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="declareTypes:owner:" swt_gen="true"> + <arg name="newTypes" swt_gen="true"></arg> + <arg name="newOwner" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="generalPasteboard" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="pasteboardWithName:" swt_gen="true"> + <arg name="name" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="propertyListForType:" swt_gen="true"> + <arg name="dataType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setData:forType:" swt_gen="true"> + <arg name="data" swt_gen="true"></arg> + <arg name="dataType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPropertyList:forType:" swt_gen="true"> + <arg name="plist" swt_gen="true"></arg> + <arg name="dataType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setString:forType:" swt_gen="true"> + <arg name="string" swt_gen="true"></arg> + <arg name="dataType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stringForType:" swt_gen="true"> + <arg name="dataType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="types" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPathCell" swt_superclass="NSActionCell"> + </class> + <class name="NSPathComponentCell" swt_superclass="NSTextFieldCell"> + </class> + <class name="NSPathControl" swt_superclass="NSControl"> + </class> + <class name="NSPersistentDocument" swt_superclass="NSDocument"> + </class> + <class name="NSPopUpButton" swt_gen="mixed" swt_superclass="NSButton"> + <method selector="indexOfSelectedItem" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithFrame:pullsDown:" swt_gen="true"> + <arg name="buttonFrame" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSPopUpButton"></retval> + </method> + <method selector="itemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="itemTitleAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="menu" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfItems" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeAllItems" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutoenablesItems:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPullsDown:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="titleOfSelectedItem" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPopUpButtonCell" swt_superclass="NSMenuItemCell"> + </class> + <class name="NSPredicateEditor" swt_superclass="NSRuleEditor"> + </class> + <class name="NSPrintInfo" swt_gen="mixed"> + <method class_method="true" selector="defaultPrinter" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="dictionary" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="imageablePageBounds" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithDictionary:" swt_gen="true"> + <arg name="attributes" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSPrintInfo"></retval> + </method> + <method selector="jobDisposition" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="orientation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="paperSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="printer" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setJobDisposition:" swt_gen="true"> + <arg name="disposition" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setOrientation:" swt_gen="true"> + <arg name="orientation" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPrinter:" swt_gen="true"> + <arg name="printer" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setUpPrintOperationDefaultValues" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedPrintInfo" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPrintOperation" swt_gen="mixed"> + <method selector="cleanUpOperation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="context" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="createContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="deliverResult" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="destroyContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="printOperationWithView:printInfo:" swt_gen="true"> + <arg name="view" swt_gen="true"></arg> + <arg name="printInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="runOperation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="setCurrentOperation:" swt_gen="true"> + <arg name="operation" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setJobTitle:" swt_gen="true"> + <arg name="jobTitle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setShowsPrintPanel:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setShowsProgressPanel:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPrintPanel" swt_gen="mixed"> + <method selector="beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:" swt_gen="true"> + <arg name="printInfo" swt_gen="true"></arg> + <arg name="docWindow" swt_gen="true"></arg> + <arg name="delegate" swt_gen="true"></arg> + <arg name="didEndSelector" swt_gen="true"></arg> + <arg name="contextInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="options" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="printPanel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="runModalWithPrintInfo:" swt_gen="true"> + <arg name="printInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setOptions:" swt_gen="true"> + <arg name="options" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSPrinter" swt_gen="mixed"> + <method selector="name" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="printerNames" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="printerWithName:" swt_gen="true"> + <arg name="name" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSProgressIndicator" swt_gen="mixed" swt_superclass="NSView"> + <method selector="controlSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="doubleValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="maxValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="minValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setControlSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDoubleValue:" swt_gen="true"> + <arg name="doubleValue" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setIndeterminate:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaxValue:" swt_gen="true"> + <arg name="newMaximum" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinValue:" swt_gen="true"> + <arg name="newMinimum" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setUsesThreadedAnimation:" swt_gen="true"> + <arg name="threadedAnimation" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="sizeToFit" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="startAnimation:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stopAnimation:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSResponder" swt_gen="mixed"> + <method selector="acceptsFirstResponder" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="becomeFirstResponder" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="cursorUpdate:" swt_gen="true"> + <arg name="event" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="doCommandBySelector:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="flagsChanged:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="helpRequested:" swt_gen="true"> + <arg name="eventPtr" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="insertText:" swt_gen="true"> + <arg name="insertString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="interpretKeyEvents:" swt_gen="true"> + <arg name="eventArray" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="keyDown:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="keyUp:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseDown:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseDragged:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseEntered:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseExited:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseMoved:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseUp:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="moveToBeginningOfParagraph:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="moveToEndOfParagraph:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="moveUp:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="noResponderFor:" swt_gen="true"> + <arg name="eventSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="otherMouseDown:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="otherMouseDragged:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="otherMouseUp:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="pageDown:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="pageUp:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="resignFirstResponder" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="rightMouseDown:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rightMouseDragged:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rightMouseUp:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollWheel:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSRuleEditor" swt_superclass="NSControl"> + </class> + <class name="NSRulerView" swt_superclass="NSView"> + </class> + <class name="NSSavePanel" swt_gen="mixed" swt_superclass="NSPanel"> + <method selector="filename" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="runModal" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="runModalForDirectory:file:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="name" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="savePanel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAccessoryView:" swt_gen="true"> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCanCreateDirectories:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDirectory:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMessage:" swt_gen="true"> + <arg name="message" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="title" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="validateVisibleColumns" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSScreen" swt_gen="mixed"> + <method selector="depth" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="deviceDescription" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="frame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="mainScreen" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="screens" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="visibleFrame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSScrollView" swt_gen="mixed" swt_superclass="NSView"> + <method selector="contentSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType:" swt_gen="true"> + <arg name="fSize" swt_gen="true"></arg> + <arg name="hFlag" swt_gen="true"></arg> + <arg name="vFlag" swt_gen="true"></arg> + <arg name="aType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="contentView" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="documentView" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSView"></retval> + </method> + <method selector="documentVisibleRect" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:" swt_gen="true"> + <arg name="cSize" swt_gen="true"></arg> + <arg name="hFlag" swt_gen="true"></arg> + <arg name="vFlag" swt_gen="true"></arg> + <arg name="aType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="reflectScrolledClipView:" swt_gen="true"> + <arg name="cView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutohidesScrollers:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBorderType:" swt_gen="true"> + <arg name="aType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDocumentView:" swt_gen="true"> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDrawsBackground:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHasHorizontalScroller:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHasVerticalScroller:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHorizontalScroller:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setVerticalScroller:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSScroller" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="controlSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="hitPart" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="scrollerWidth" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="scrollerWidthForControlSize:" swt_gen="true"> + <arg name="controlSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setControlSize:" swt_gen="true"> + <arg name="controlSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFloatValue:knobProportion:" swt_gen="true"> + <arg name="aFloat" swt_gen="true"></arg> + <arg name="proportion" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSSearchField" swt_gen="mixed" swt_superclass="NSTextField"> + <method selector="recentSearches" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSSearchFieldCell" swt_gen="mixed" swt_superclass="NSTextFieldCell"> + <method selector="cancelButtonCell" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="searchButtonCell" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="searchTextRectForBounds:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCancelButtonCell:" swt_gen="true"> + <arg name="cell" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSearchButtonCell:" swt_gen="true"> + <arg name="cell" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSSecureTextFieldCell" swt_superclass="NSTextFieldCell"> + </class> + <class name="NSSegmentedCell" swt_gen="mixed" swt_superclass="NSActionCell"> + <method selector="setEnabled:forSegment:" swt_gen="true"> + <arg name="enabled" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImage:forSegment:" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLabel:forSegment:" swt_gen="true"> + <arg name="label" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMenu:forSegment:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSegmentCount:" swt_gen="true"> + <arg name="count" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSegmentStyle:" swt_gen="true"> + <arg name="segmentStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSelected:forSegment:" swt_gen="true"> + <arg name="selected" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSelectedSegment:" swt_gen="true"> + <arg name="selectedSegment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTag:forSegment:" swt_gen="true"> + <arg name="tag" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setToolTip:forSegment:" swt_gen="true"> + <arg name="toolTip" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTrackingMode:" swt_gen="true"> + <arg name="trackingMode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setWidth:forSegment:" swt_gen="true"> + <arg name="width" swt_gen="true"></arg> + <arg name="segment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSSegmentedControl" swt_superclass="NSControl"> + </class> + <class name="NSSlider" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="knobThickness" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="maxValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="minValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaxValue:" swt_gen="true"> + <arg name="aDouble" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinValue:" swt_gen="true"> + <arg name="aDouble" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSSliderCell" swt_superclass="NSActionCell"> + </class> + <class name="NSSplitView" swt_superclass="NSView"> + </class> + <class name="NSStatusBar" swt_gen="mixed"> + <method selector="removeStatusItem:" swt_gen="true"> + <arg name="item" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="statusItemWithLength:" swt_gen="true"> + <arg name="length" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="systemStatusBar" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSStatusItem" swt_gen="mixed"> + <method selector="drawStatusBarBackgroundInRect:withHighlight:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <arg name="highlight" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="popUpStatusItemMenu:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHighlightMode:" swt_gen="true"> + <arg name="highlightMode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLength:" swt_gen="true"> + <arg name="length" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setView:" swt_gen="true"> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSStepper" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="increment" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="maxValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="minValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setIncrement:" swt_gen="true"> + <arg name="increment" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaxValue:" swt_gen="true"> + <arg name="maxValue" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinValue:" swt_gen="true"> + <arg name="minValue" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setValueWraps:" swt_gen="true"> + <arg name="valueWraps" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSStepperCell" swt_superclass="NSActionCell"> + </class> + <class name="NSTabView" swt_gen="mixed" swt_superclass="NSView"> + <method selector="addTabViewItem:" swt_gen="true"> + <arg name="tabViewItem" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="contentRect" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="insertTabViewItem:atIndex:" swt_gen="true"> + <arg name="tabViewItem" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="minimumSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeTabViewItem:" swt_gen="true"> + <arg name="tabViewItem" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectTabViewItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectedTabViewItem" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setControlSize:" swt_gen="true"> + <arg name="controlSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFont:" swt_gen="true"> + <arg name="font" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTabViewType:" swt_gen="true"> + <arg name="tabViewType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="tabViewItemAtPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTabViewItem" swt_gen="mixed"> + <method selector="initWithIdentifier:" swt_gen="true"> + <arg name="identifier" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLabel:" swt_gen="true"> + <arg name="label" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setView:" swt_gen="true"> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTableColumn" swt_gen="mixed"> + <method selector="dataCell" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSCell"></retval> + </method> + <method selector="headerCell" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSTableHeaderCell"></retval> + </method> + <method selector="initWithIdentifier:" swt_gen="true"> + <arg name="identifier" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSTableColumn"></retval> + </method> + <method selector="resizingMask" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setDataCell:" swt_gen="true"> + <arg name="cell" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEditable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHeaderCell:" swt_gen="true"> + <arg name="cell" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setIdentifier:" swt_gen="true"> + <arg name="identifier" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinWidth:" swt_gen="true"> + <arg name="minWidth" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setResizingMask:" swt_gen="true"> + <arg name="resizingMask" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setWidth:" swt_gen="true"> + <arg name="width" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="width" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTableHeaderCell" swt_gen="true" swt_superclass="NSTextFieldCell"> + <method selector="drawSortIndicatorWithFrame:inView:ascending:priority:" swt_gen="true"> + <arg name="cellFrame" swt_gen="true"></arg> + <arg name="controlView" swt_gen="true"></arg> + <arg name="ascending" swt_gen="true"></arg> + <arg name="priority" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="sortIndicatorRectForBounds:" swt_gen="true"> + <arg name="theRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTableHeaderView" swt_gen="mixed" swt_superclass="NSView"> + <method selector="columnAtPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="headerRectOfColumn:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTableView" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="addTableColumn:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="allowsColumnReordering" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="canDragRowsWithIndexes:atPoint:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="rowIndexes" swt_gen="true"></arg> + <arg name="mouseDownPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="clickedColumn" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clickedRow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="columnAtPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="columnIndexesInRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="columnWithIdentifier:" swt_gen="true"> + <arg name="identifier" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="deselectAll:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="deselectRow:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="dragImageForRowsWithIndexes:tableColumns:event:offset:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="dragRows" swt_gen="true"></arg> + <arg name="tableColumns" swt_gen="true"></arg> + <arg name="dragEvent" swt_gen="true"></arg> + <arg name="dragImageOffset" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="frameOfCellAtColumn:row:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="headerView" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="highlightSelectionInClipRect:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="clipRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="intercellSpacing" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isRowSelected:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="moveColumn:toColumn:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <arg name="newIndex" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="noteNumberOfRowsChanged" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfColumns" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfRows" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="numberOfSelectedRows" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="rectOfColumn:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rectOfRow:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="reloadData" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeTableColumn:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rowAtPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="rowHeight" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="rowsInRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollColumnToVisible:" swt_gen="true"> + <arg name="column" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollRowToVisible:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectAll:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectRowIndexes:byExtendingSelection:" swt_gen="true"> + <arg name="indexes" swt_gen="true"></arg> + <arg name="extend" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectedRow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="selectedRowIndexes" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsColumnReordering:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsMultipleSelection:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setColumnAutoresizingStyle:" swt_gen="true"> + <arg name="style" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDataSource:" swt_gen="true"> + <arg name="aSource" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDoubleAction:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDropRow:dropOperation:" swt_gen="true"> + <arg name="row" swt_gen="true"></arg> + <arg name="op" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHeaderView:" swt_gen="true"> + <arg name="headerView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHighlightedTableColumn:" swt_gen="true"> + <arg name="tc" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setIndicatorImage:inTableColumn:" swt_gen="true"> + <arg name="anImage" swt_gen="true"></arg> + <arg name="tc" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setIntercellSpacing:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setRowHeight:" swt_gen="true"> + <arg name="rowHeight" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setUsesAlternatingRowBackgroundColors:" swt_gen="true"> + <arg name="useAlternatingRowColors" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="tableColumns" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="tile" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="usesAlternatingRowBackgroundColors" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSText" swt_gen="mixed" swt_superclass="NSView"> + <method selector="copy:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="cut:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="delegate" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="font" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="paste:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="replaceCharactersInRange:withString:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollRangeToVisible:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectAll:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="selectedRange" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlignment:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDrawsBackground:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEditable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFont:" swt_gen="true"> + <arg name="obj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHorizontallyResizable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaxSize:" swt_gen="true"> + <arg name="newMaxSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinSize:" swt_gen="true"> + <arg name="newMinSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSelectable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSelectedRange:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setString:" swt_gen="true"> + <arg name="string" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTextColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="sizeToFit" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="string" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextAttachment" swt_gen="mixed"> + <method selector="initWithFileWrapper:" swt_gen="true"> + <arg name="fileWrapper" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextContainer" swt_gen="mixed"> + <method selector="containerSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithContainerSize:" swt_gen="mixed"> + <arg name="size" swt_gen="true"></arg> + <retval swt_java_type="NSTextContainer"></retval> + </method> + <method selector="setContainerSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLineFragmentPadding:" swt_gen="true"> + <arg name="pad" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setWidthTracksTextView:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextField" swt_gen="mixed" swt_superclass="NSControl"> + <method selector="selectText:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBordered:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDrawsBackground:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEditable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setSelectable:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTextColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextFieldCell" swt_gen="mixed" swt_superclass="NSActionCell"> + <method selector="setPlaceholderString:" swt_gen="true"> + <arg name="string" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTextColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="textColor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextStorage" swt_gen="mixed" swt_superclass="NSMutableAttributedString"> + <method selector="addLayoutManager:" swt_gen="true"> + <arg name="obj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="paragraphs" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextTab" swt_gen="mixed"> + <method selector="initWithType:location:" swt_gen="true"> + <arg name="type" swt_gen="true"></arg> + <arg name="loc" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSTextTab"></retval> + </method> + <method selector="location" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="tabStopType" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTextTable" swt_superclass="NSTextBlock"> + </class> + <class name="NSTextTableBlock" swt_superclass="NSTextBlock"> + </class> + <class name="NSTextView" swt_gen="mixed" swt_superclass="NSText"> + <method selector="characterIndexForInsertionAtPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="defaultParagraphStyle" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="dragSelectionWithEvent:offset:slideBack:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="event" swt_gen="true"></arg> + <arg name="mouseOffset" swt_gen="true"></arg> + <arg name="slideBack" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="layoutManager" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="linkTextAttributes" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="markedTextAttributes" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setDefaultParagraphStyle:" swt_gen="true"> + <arg name="paragraphStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDisplaysLinkToolTips:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLinkTextAttributes:" swt_gen="true"> + <arg name="attributeDictionary" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setRichText:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="shouldChangeTextInRange:replacementString:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="affectedCharRange" swt_gen="true"></arg> + <arg name="replacementString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="textContainer" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="textStorage" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTokenField" swt_superclass="NSTextField"> + </class> + <class name="NSTokenFieldCell" swt_superclass="NSTextFieldCell"> + </class> + <class name="NSToolbar" swt_gen="mixed"> + <method selector="initWithIdentifier:" swt_gen="true"> + <arg name="identifier" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSToolbar"></retval> + </method> + <method selector="insertItemWithItemIdentifier:atIndex:" swt_gen="true"> + <arg name="itemIdentifier" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeItemAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsUserCustomization:" swt_gen="true"> + <arg name="allowCustomization" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDisplayMode:" swt_gen="true"> + <arg name="displayMode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setVisible:" swt_gen="true"> + <arg name="shown" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSToolbarItem" swt_gen="mixed"> + <method selector="initWithItemIdentifier:" swt_gen="true"> + <arg name="itemIdentifier" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSToolbarItem"></retval> + </method> + <method selector="itemIdentifier" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAction:" swt_gen="true"> + <arg name="action" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setEnabled:" swt_gen="true"> + <arg name="enabled" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setImage:" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLabel:" swt_gen="true"> + <arg name="label" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaxSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPaletteLabel:" swt_gen="true"> + <arg name="paletteLabel" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTarget:" swt_gen="true"> + <arg name="target" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setToolTip:" swt_gen="true"> + <arg name="toolTip" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setView:" swt_gen="true"> + <arg name="view" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSToolbarItemGroup" swt_superclass="NSToolbarItem"> + </class> + <class name="NSTrackingArea" swt_gen="mixed"> + <method selector="initWithRect:options:owner:userInfo:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <arg name="options" swt_gen="true"></arg> + <arg name="owner" swt_gen="true"></arg> + <arg name="userInfo" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSTrackingArea"></retval> + </method> + <method selector="owner" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="userInfo" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTreeController" swt_superclass="NSObjectController"> + </class> + <class name="NSTypesetter" swt_gen="mixed"> + <method selector="baselineOffsetInLayoutManager:glyphIndex:" swt_gen="true"> + <arg name="layoutMgr" swt_gen="true"></arg> + <arg name="glyphIndex" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURL" swt_gen="true"> + <method class_method="true" selector="URLFromPasteboard:" swt_gen="true"> + <arg name="pasteBoard" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="writeToPasteboard:" swt_gen="true"> + <arg name="pasteBoard" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSUserDefaultsController" swt_superclass="NSController"> + </class> + <class name="NSView" swt_gen="mixed" swt_superclass="NSResponder"> + <method selector="acceptsFirstMouse:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="addSubview:" swt_gen="true"> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="addSubview:positioned:relativeTo:" swt_gen="true"> + <arg name="aView" swt_gen="true"></arg> + <arg name="place" swt_gen="true"></arg> + <arg name="otherView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="addToolTipRect:owner:userData:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <arg name="anObject" swt_gen="true"></arg> + <arg name="data" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="beginDocument" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="beginPageInRect:atPlacement:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <arg name="location" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="bounds" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="canBecomeKeyView" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="convertPoint:fromView:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertPoint:toView:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertPointFromBase:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertPointToBase:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertRect:fromView:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertRect:toView:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertRectFromBase:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertRectToBase:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertSize:fromView:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertSize:toView:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertSizeFromBase:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertSizeToBase:" swt_gen="true"> + <arg name="aSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="discardCursorRects" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="display" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="displayIfNeeded" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="displayRectIgnoringOpacity:inContext:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <arg name="context" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="dragImage:at:offset:event:pasteboard:source:slideBack:" swt_gen="true"> + <arg name="anImage" swt_gen="true"></arg> + <arg name="viewLocation" swt_gen="true"></arg> + <arg name="initialOffset" swt_gen="true"></arg> + <arg name="event" swt_gen="true"></arg> + <arg name="pboard" swt_gen="true"></arg> + <arg name="sourceObj" swt_gen="true"></arg> + <arg name="slideFlag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="drawRect:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="endDocument" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="endPage" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="frame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="hitTest:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithFrame:" swt_gen="true"> + <arg name="frameRect" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSView"></retval> + </method> + <method selector="isFlipped" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isHidden" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isHiddenOrHasHiddenAncestor" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isOpaque" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="lockFocus" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="menuForEvent:" swt_gen="true"> + <arg name="event" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="registerForDraggedTypes:" swt_gen="true"> + <arg name="newTypes" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeFromSuperview" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeTrackingArea:" swt_gen="true"> + <arg name="trackingArea" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="resetCursorRects" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollPoint:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="scrollRectToVisible:" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutoresizesSubviews:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAutoresizingMask:" swt_gen="true"> + <arg name="mask" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFocusRingType:" swt_gen="true"> + <arg name="focusRingType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFrame:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="frameRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFrameOrigin:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="newOrigin" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFrameSize:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="newSize" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHidden:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setNeedsDisplay:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setNeedsDisplayInRect:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="invalidRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setToolTip:" swt_gen="true"> + <arg name="string" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="shouldDelayWindowOrderingForEvent:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="subviews" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="superview" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="trackingAreas" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="unlockFocus" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="unregisterDraggedTypes" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="updateTrackingAreas" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="viewDidMoveToWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="visibleRect" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="window" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSViewAnimation" swt_superclass="NSAnimation"> + </class> + <class name="NSViewController" swt_superclass="NSResponder"> + </class> + <class name="NSWindow" swt_gen="mixed" swt_superclass="NSResponder"> + <method selector="addChildWindow:ordered:" swt_gen="true"> + <arg name="childWin" swt_gen="true"></arg> + <arg name="place" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="alphaValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="areCursorRectsEnabled" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="becomeKeyWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="canBecomeKeyWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="cascadeTopLeftFromPoint:" swt_gen="true"> + <arg name="topLeftPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="close" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="contentRectForFrameRect:" swt_gen="true"> + <arg name="frameRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="contentView" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSView"></retval> + </method> + <method selector="convertBaseToScreen:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="convertScreenToBase:" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="defaultButtonCell" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="deminiaturize:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="disableCursorRects" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="display" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="enableCursorRects" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="fieldEditor:forObject:" swt_gen="true"> + <arg name="createFlag" swt_gen="true"></arg> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="firstResponder" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="frame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="frameRectForContentRect:" swt_gen="true"> + <arg name="contentRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="graphicsContext" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="hasShadow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithContentRect:styleMask:backing:defer:" swt_gen="true"> + <arg name="contentRect" swt_gen="true"></arg> + <arg name="aStyle" swt_gen="true"></arg> + <arg name="bufferingType" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSWindow"></retval> + </method> + <method selector="initWithContentRect:styleMask:backing:defer:screen:" swt_gen="true"> + <arg name="contentRect" swt_gen="true"></arg> + <arg name="aStyle" swt_gen="true"></arg> + <arg name="bufferingType" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <arg name="screen" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSWindow"></retval> + </method> + <method selector="invalidateShadow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isDocumentEdited" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isKeyWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isMiniaturized" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isSheet" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isVisible" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="isZoomed" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="makeFirstResponder:" swt_gen="true"> + <arg name="aResponder" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="makeKeyAndOrderFront:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="minFrameWidthWithTitle:styleMask:" swt_gen="true"> + <arg name="aTitle" swt_gen="true"></arg> + <arg name="aStyle" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="minSize" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="miniaturize:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mouseLocationOutsideOfEventStream" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="orderBack:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="orderFront:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="orderFrontRegardless" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="orderOut:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="orderWindow:relativeTo:" swt_gen="true"> + <arg name="place" swt_gen="true"></arg> + <arg name="otherWin" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="parentWindow" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeChildWindow:" swt_gen="true"> + <arg name="childWin" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="screen" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="sendEvent:" swt_gen="true"> + <arg name="theEvent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAcceptsMouseMovedEvents:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAlphaValue:" swt_gen="true"> + <arg name="windowAlpha" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setBackgroundColor:" swt_gen="true"> + <arg name="color" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setContentView:" swt_gen="true"> + <arg name="aView" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDefaultButtonCell:" swt_gen="true"> + <arg name="defButt" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDelegate:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDocumentEdited:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFrame:display:" swt_gen="true"> + <arg name="frameRect" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFrame:display:animate:" swt_gen="true"> + <arg name="frameRect" swt_gen="true"></arg> + <arg name="displayFlag" swt_gen="true"></arg> + <arg name="animateFlag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setHasShadow:" swt_gen="true"> + <arg name="hasShadow" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setLevel:" swt_gen="true"> + <arg name="newLevel" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setOpaque:" swt_gen="true"> + <arg name="isOpaque" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setReleasedWhenClosed:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setShowsResizeIndicator:" swt_gen="true"> + <arg name="show" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setShowsToolbarButton:" swt_gen="true"> + <arg name="show" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setTitle:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setToolbar:" swt_gen="true"> + <arg name="toolbar" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="standardWindowButton:" swt_gen="true"> + <arg name="b" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="styleMask" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="toggleToolbarShown:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="toolbar" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="windowNumber" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="zoom:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSWindowController" swt_superclass="NSResponder"> + </class> + <class name="NSWorkspace" swt_gen="mixed"> + <method selector="fullPathForApplication:" swt_gen="true"> + <arg name="appName" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="getInfoForFile:application:type:" swt_gen="true"> + <arg name="fullPath" swt_gen="true"></arg> + <arg name="appName" swt_gen="true"></arg> + <arg name="type" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="iconForFile:" swt_gen="true"> + <arg name="fullPath" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="iconForFileType:" swt_gen="true"> + <arg name="fileType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isFilePackageAtPath:" swt_gen="true"> + <arg name="fullPath" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="openFile:withApplication:" swt_gen="true"> + <arg name="fullPath" swt_gen="true"></arg> + <arg name="appName" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="openURL:" swt_gen="true"> + <arg name="url" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:" swt_gen="true"> + <arg name="urls" swt_gen="true"></arg> + <arg name="bundleIdentifier" swt_gen="true"></arg> + <arg name="options" swt_gen="true"></arg> + <arg name="descriptor" swt_gen="true"></arg> + <arg name="identifiers" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedWorkspace" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <informal_protocol name="NSAccessibility" swt_gen="true"> + <method selector="accessibilityActionDescription:" swt_gen="true"> + <arg name="action" swt_gen="true"></arg> + </method> + <method selector="accessibilityActionNames" swt_gen="true"></method> + <method selector="accessibilityAttributeNames" swt_gen="true"></method> + <method selector="accessibilityAttributeValue:" swt_gen="true"> + <arg name="attribute" swt_gen="true"></arg> + </method> + <method selector="accessibilityAttributeValue:forParameter:" swt_gen="true" swt_gen_super_msgSend="true"> + <arg name="attribute" swt_gen="true"></arg> + <arg name="parameter" swt_gen="true"></arg> + </method> + <method selector="accessibilityFocusedUIElement" swt_gen="true"></method> + <method selector="accessibilityHitTest:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> + <arg name="point" swt_gen="true"></arg> + </method> + <method selector="accessibilityIsAttributeSettable:" swt_gen="true"> + <arg name="attribute" swt_gen="true"></arg> + </method> + <method selector="accessibilityIsIgnored" swt_gen="true"></method> + <method selector="accessibilityParameterizedAttributeNames" swt_gen="true"></method> + <method selector="accessibilityPerformAction:" swt_gen="true"> + <arg name="action" swt_gen="true"></arg> + </method> + <method selector="accessibilitySetValue:forAttribute:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <arg name="attribute" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSAccessibilityAdditions" swt_gen="true"> + <method selector="accessibilitySetOverrideValue:forAttribute:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <arg name="attribute" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSApplicationDelegate" swt_gen="mixed"> + <method selector="applicationShouldTerminate:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSApplicationNotifications" swt_gen="mixed"> + <method selector="applicationDidBecomeActive:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="applicationDidFinishLaunching:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="applicationDidResignActive:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="applicationWillFinishLaunching:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="applicationWillTerminate:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSColorPanelResponderMethod" swt_gen="true"> + <method selector="changeColor:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSComboBoxNotifications" swt_gen="mixed"> + <method selector="comboBoxSelectionDidChange:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="comboBoxWillDismiss:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSDraggingDestination" swt_gen="mixed"> + <method selector="draggingEnded:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="draggingEntered:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="draggingExited:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="draggingUpdated:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="performDragOperation:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="wantsPeriodicDraggingUpdates" swt_gen="true"></method> + </informal_protocol> + <informal_protocol name="NSDraggingSource" swt_gen="mixed"> + <method selector="draggedImage:beganAt:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="image" swt_gen="true"></arg> + <arg name="screenPoint" swt_gen="true"></arg> + </method> + <method selector="draggedImage:endedAt:operation:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="image" swt_gen="true"></arg> + <arg name="screenPoint" swt_gen="true"></arg> + <arg name="operation" swt_gen="true"></arg> + </method> + <method selector="draggingSourceOperationMaskForLocal:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + </method> + <method selector="ignoreModifierKeysWhileDragging" swt_gen="true"></method> + </informal_protocol> + <informal_protocol name="NSFontManagerResponderMethod" swt_gen="true"> + <method selector="changeFont:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSMenuDelegate" swt_gen="mixed"> + <method selector="menu:willHighlightItem:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="menuDidClose:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + </method> + <method selector="menuNeedsUpdate:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + </method> + <method selector="menuWillOpen:" swt_gen="true"> + <arg name="menu" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSOutlineViewDataSource" swt_gen="mixed"> + <method selector="outlineView:acceptDrop:item:childIndex:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="info" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + </method> + <method selector="outlineView:child:ofItem:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:isItemExpandable:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:numberOfChildrenOfItem:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:objectValueForTableColumn:byItem:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:setObjectValue:forTableColumn:byItem:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="object" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:validateDrop:proposedItem:proposedChildIndex:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="info" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + <arg name="index" swt_gen="true"></arg> + </method> + <method selector="outlineView:writeItems:toPasteboard:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="items" swt_gen="true"></arg> + <arg name="pasteboard" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSOutlineViewDelegate" swt_gen="mixed"> + <method selector="outlineView:didClickTableColumn:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + </method> + <method selector="outlineView:shouldCollapseItem:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:shouldExpandItem:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + <method selector="outlineView:willDisplayCell:forTableColumn:item:" swt_gen="true"> + <arg name="outlineView" swt_gen="true"></arg> + <arg name="cell" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="item" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSOutlineViewNotifications" swt_gen="mixed"> + <method selector="outlineViewColumnDidMove:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="outlineViewColumnDidResize:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="outlineViewItemDidExpand:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="outlineViewSelectionDidChange:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSPasteboardOwner" swt_gen="mixed"> + <method selector="pasteboard:provideDataForType:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="type" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSSavePanelDelegate" swt_gen="mixed"> + <method selector="panel:shouldShowFilename:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="filename" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSTabViewDelegate" swt_gen="mixed"> + <method selector="tabView:didSelectTabViewItem:" swt_gen="true"> + <arg name="tabView" swt_gen="true"></arg> + <arg name="tabViewItem" swt_gen="true"></arg> + </method> + <method selector="tabView:shouldSelectTabViewItem:" swt_gen="true"> + <arg name="tabView" swt_gen="true"></arg> + <arg name="tabViewItem" swt_gen="true"></arg> + </method> + <method selector="tabView:willSelectTabViewItem:" swt_gen="true"> + <arg name="tabView" swt_gen="true"></arg> + <arg name="tabViewItem" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSTableDataSource" swt_gen="mixed"> + <method selector="numberOfRowsInTableView:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + </method> + <method selector="tableView:acceptDrop:row:dropOperation:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="info" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + <arg name="dropOperation" swt_gen="true"></arg> + </method> + <method selector="tableView:objectValueForTableColumn:row:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + </method> + <method selector="tableView:setObjectValue:forTableColumn:row:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="object" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + </method> + <method selector="tableView:validateDrop:proposedRow:proposedDropOperation:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="info" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + <arg name="dropOperation" swt_gen="true"></arg> + </method> + <method selector="tableView:writeRowsWithIndexes:toPasteboard:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="rowIndexes" swt_gen="true"></arg> + <arg name="pboard" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSTableViewDelegate" swt_gen="mixed"> + <method selector="tableView:didClickTableColumn:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + </method> + <method selector="tableView:shouldEditTableColumn:row:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + </method> + <method selector="tableView:willDisplayCell:forTableColumn:row:" swt_gen="true"> + <arg name="tableView" swt_gen="true"></arg> + <arg name="cell" swt_gen="true"></arg> + <arg name="tableColumn" swt_gen="true"></arg> + <arg name="row" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSTableViewNotifications" swt_gen="mixed"> + <method selector="tableViewColumnDidMove:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="tableViewColumnDidResize:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="tableViewSelectionDidChange:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSTextDelegate" swt_gen="mixed"> + <method selector="textDidChange:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="textDidEndEditing:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSTextViewDelegate" swt_gen="mixed"> + <method selector="textView:clickedOnLink:atIndex:" swt_gen="true"> + <arg name="textView" swt_gen="true"></arg> + <arg name="link" swt_gen="true"></arg> + <arg name="charIndex" swt_gen="true"></arg> + </method> + <method selector="textView:willChangeSelectionFromCharacterRange:toCharacterRange:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="textView" swt_gen="true"></arg> + <arg name="oldSelectedCharRange" swt_gen="true"></arg> + <arg name="newSelectedCharRange" swt_gen="true"></arg> + </method> + <method selector="textViewDidChangeSelection:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSToolTipOwner" swt_gen="true"> + <method selector="view:stringForToolTip:point:userData:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="view" swt_gen="true"></arg> + <arg name="tag" swt_gen="true"></arg> + <arg name="point" swt_gen="true"></arg> + <arg name="data" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSToolbarDelegate" swt_gen="true"> + <method selector="toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:" swt_gen="true"> + <arg name="toolbar" swt_gen="true"></arg> + <arg name="itemIdentifier" swt_gen="true"></arg> + <arg name="flag" swt_gen="true"></arg> + </method> + <method selector="toolbarAllowedItemIdentifiers:" swt_gen="true"> + <arg name="toolbar" swt_gen="true"></arg> + </method> + <method selector="toolbarDefaultItemIdentifiers:" swt_gen="true"> + <arg name="toolbar" swt_gen="true"></arg> + </method> + <method selector="toolbarSelectableItemIdentifiers:" swt_gen="true"> + <arg name="toolbar" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSToolbarNotifications" swt_gen="true"> + <method selector="toolbarDidRemoveItem:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="toolbarWillAddItem:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSWindowDelegate" swt_gen="mixed"> + <method selector="windowShouldClose:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="NSWindowNotifications" swt_gen="mixed"> + <method selector="windowDidBecomeKey:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="windowDidMove:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="windowDidResignKey:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="windowDidResize:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + <method selector="windowWillClose:" swt_gen="true"> + <arg name="notification" swt_gen="true"></arg> + </method> + </informal_protocol> + <class name="NSSecureTextField" swt_gen="true" swt_superclass="NSTextField"></class> + <informal_protocol name="NSTextInput" swt_gen="true"> + <method selector="markedRange" swt_gen="true" swt_gen_custom_callback="true"></method> + <method selector="insertText:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + </method> + <method selector="unmarkText" swt_gen="true"></method> + <method selector="hasMarkedText" swt_gen="true"></method> + <method selector="validAttributesForMarkedText" swt_gen="true"></method> + <method selector="characterIndexForPoint:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="thePoint" swt_gen="true"></arg> + </method> + <method selector="attributedSubstringFromRange:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="theRange" swt_gen="true"></arg> + </method> + <method selector="selectedRange" swt_gen="true" swt_gen_custom_callback="true"></method> + <method selector="setMarkedText:selectedRange:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="selRange" swt_gen="true"></arg> + <arg name="aString" swt_gen="true"></arg> + </method> + <method selector="firstRectForCharacterRange:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="theRange" swt_gen="true"></arg> + </method> + </informal_protocol> +</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPathElement.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPathElement.java new file mode 100644 index 0000000000..8b700c86a8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPathElement.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.swt.internal.cocoa; + +public class CGPathElement { + /** @field cast=(CGPathElementType) */ + public int type; + /** @field cast=(CGPoint *) */ + public int /*long*/ points; + public static final int sizeof = OS.CGPathElement_sizeof(); +}
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPoint.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPoint.java new file mode 100644 index 0000000000..6408522352 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPoint.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class CGPoint { + public float /*double*/ x; + public float /*double*/ y; + public static final int sizeof = OS.CGPoint_sizeof(); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGRect.java new file mode 100644 index 0000000000..cb35389380 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGRect.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class CGRect { + public CGPoint origin = new CGPoint(); + public CGSize size = new CGSize(); + public static final int sizeof = OS.CGRect_sizeof(); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGSize.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGSize.java new file mode 100644 index 0000000000..2498493b74 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGSize.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class CGSize { + public float /*double*/ width; + public float /*double*/ height; + public static final int sizeof = OS.CGSize_sizeof(); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras new file mode 100644 index 0000000000..556ef896ca --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF8"?> +<signatures swt_gen="mixed"> + <constant name="kCFRunLoopCommonModes" swt_gen="true"></constant> + <enum name="kCFRunLoopBeforeWaiting" swt_gen="true"></enum> + <enum name="kCFStringEncodingUTF8" swt_gen="true"></enum> + <function name="CFDataGetBytePtr" swt_gen="true"> + <arg name="theData" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CFDataGetLength" swt_gen="true"> + <arg name="theData" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CFRelease" swt_gen="true"> + <arg name="cf" swt_gen="true"></arg> + </function> + <function name="CFRunLoopAddObserver" swt_gen="true"> + <arg name="rl" swt_gen="true"></arg> + <arg name="observer" swt_gen="true"></arg> + <arg name="mode" swt_gen="true"></arg> + </function> + <function name="CFRunLoopGetCurrent" swt_gen="true"> + <retval swt_gen="true"></retval> + </function> + <function name="CFRunLoopObserverCreate" swt_gen="true"> + <arg name="allocator" swt_gen="true"></arg> + <arg name="activities" swt_gen="true"></arg> + <arg name="repeats" swt_gen="true"></arg> + <arg name="order" swt_gen="true"></arg> + <arg name="callout" swt_gen="true"> + <arg swt_gen="true"></arg> + <arg></arg> + <arg></arg> + <retval swt_gen="true"></retval> + </arg> + <arg name="context" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CFRunLoopObserverInvalidate" swt_gen="true"> + <arg name="observer" swt_gen="true"></arg> + </function> + <function name="CFURLCreateStringByAddingPercentEscapes" swt_gen="true"> + <arg name="allocator" swt_gen="true"></arg> + <arg name="originalString" swt_gen="true"></arg> + <arg name="charactersToLeaveUnescaped" swt_gen="true"></arg> + <arg name="legalURLCharactersToBeEscaped" swt_gen="true"></arg> + <arg name="encoding" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> +</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras new file mode 100644 index 0000000000..1d23386fba --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras @@ -0,0 +1,297 @@ +<?xml version="1.0" encoding="UTF8"?> +<signatures swt_gen="mixed"> + <struct name="CGPathElement" swt_gen="true"> + <field name="type" swt_gen="true"></field> + <field name="points" swt_gen="true"></field> + </struct> + <struct name="CGPoint" swt_gen="true"> + <field name="x" swt_gen="true"></field> + <field name="y" swt_gen="true"></field> + </struct> + <struct name="CGRect" swt_gen="true"> + <field name="origin" swt_gen="true"></field> + <field name="size" swt_gen="true"></field> + </struct> + <struct name="CGSize" swt_gen="true"> + <field name="width" swt_gen="true"></field> + <field name="height" swt_gen="true"></field> + </struct> + <cftype name="CGMutablePathRef" swt_gen="true"></cftype> + <enum name="kCGBlendModeDifference" swt_gen="true"></enum> + <enum name="kCGEventFilterMaskPermitLocalKeyboardEvents" swt_gen="true"></enum> + <enum name="kCGEventFilterMaskPermitLocalMouseEvents" swt_gen="true"></enum> + <enum name="kCGEventFilterMaskPermitSystemDefinedEvents" swt_gen="true"></enum> + <enum name="kCGEventSuppressionStateRemoteMouseDrag" swt_gen="true"></enum> + <enum name="kCGEventSuppressionStateSuppressionInterval" swt_gen="true"></enum> + <enum name="kCGImageAlphaFirst" swt_gen="true"></enum> + <enum name="kCGImageAlphaNoneSkipFirst" swt_gen="true"></enum> + <enum name="kCGImageAlphaOnly" swt_gen="true"></enum> + <enum name="kCGKeyboardEventKeyboardType" swt_gen="true"></enum> + <enum name="kCGLineCapButt" swt_gen="true"></enum> + <enum name="kCGLineCapRound" swt_gen="true"></enum> + <enum name="kCGLineCapSquare" swt_gen="true"></enum> + <enum name="kCGLineJoinBevel" swt_gen="true"></enum> + <enum name="kCGLineJoinMiter" swt_gen="true"></enum> + <enum name="kCGLineJoinRound" swt_gen="true"></enum> + <enum name="kCGPathElementAddCurveToPoint" swt_gen="true"></enum> + <enum name="kCGPathElementAddLineToPoint" swt_gen="true"></enum> + <enum name="kCGPathElementAddQuadCurveToPoint" swt_gen="true"></enum> + <enum name="kCGPathElementCloseSubpath" swt_gen="true"></enum> + <enum name="kCGPathElementMoveToPoint" swt_gen="true"></enum> + <enum name="kCGPathStroke" swt_gen="true"></enum> + <enum name="kCGSessionEventTap" swt_gen="true"></enum> + <function name="CGBitmapContextCreate" swt_gen="true"> + <arg name="data" swt_gen="true"></arg> + <arg name="width" swt_gen="true"></arg> + <arg name="height" swt_gen="true"></arg> + <arg name="bitsPerComponent" swt_gen="true"></arg> + <arg name="bytesPerRow" swt_gen="true"></arg> + <arg name="colorspace" swt_gen="true"></arg> + <arg name="bitmapInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGBitmapContextCreateImage" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGBitmapContextGetData" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGColorSpaceCreateDeviceRGB" swt_gen="true"> + <retval swt_gen="true"></retval> + </function> + <function name="CGColorSpaceRelease" swt_gen="true"> + <arg name="space" swt_gen="true"></arg> + </function> + <function name="CGContextAddPath" swt_gen="true"> + <arg name="context" swt_gen="true"></arg> + <arg name="path" swt_gen="true"></arg> + </function> + <function name="CGContextDrawImage" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="rect" swt_gen="true"></arg> + <arg name="image" swt_gen="true"></arg> + </function> + <function name="CGContextRelease" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + </function> + <function name="CGContextReplacePathWithStrokedPath" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + </function> + <function name="CGContextRestoreGState" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + </function> + <function name="CGContextSaveGState" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + </function> + <function name="CGContextScaleCTM" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="sx" swt_gen="true"></arg> + <arg name="sy" swt_gen="true"></arg> + </function> + <function name="CGContextSetBlendMode" swt_gen="true"> + <arg name="context" swt_gen="true"></arg> + <arg name="mode" swt_gen="true"></arg> + </function> + <function name="CGContextSetLineCap" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="cap" swt_gen="true"></arg> + </function> + <function name="CGContextSetLineDash" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="phase" swt_gen="true"></arg> + <arg name="lengths" swt_gen="true" swt_java_type="float[]" swt_java_type64="float[]"></arg> + <arg name="count" swt_gen="true"></arg> + </function> + <function name="CGContextSetLineJoin" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="join" swt_gen="true"></arg> + </function> + <function name="CGContextSetLineWidth" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="width" swt_gen="true"></arg> + </function> + <function name="CGContextSetMiterLimit" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="limit" swt_gen="true"></arg> + </function> + <function name="CGContextStrokePath" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + </function> + <function name="CGContextTranslateCTM" swt_gen="true"> + <arg name="c" swt_gen="true"></arg> + <arg name="tx" swt_gen="true"></arg> + <arg name="ty" swt_gen="true"></arg> + </function> + <function name="CGDataProviderCreateWithData" swt_gen="true"> + <arg name="info" swt_gen="true"></arg> + <arg name="data" swt_gen="true"></arg> + <arg name="size" swt_gen="true"></arg> + <arg name="releaseData" swt_gen="true"> + <arg swt_gen="true"></arg> + <arg></arg> + <arg></arg> + <retval swt_gen="true"></retval> + </arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGDataProviderRelease" swt_gen="true"> + <arg name="provider" swt_gen="true"></arg> + </function> + <function name="CGDisplayBaseAddress" swt_gen="true"> + <arg name="display" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGDisplayBitsPerPixel" swt_gen="true"> + <arg name="display" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGDisplayBitsPerSample" swt_gen="true"> + <arg name="display" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGDisplayBytesPerRow" swt_gen="true"> + <arg name="display" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGDisplayPixelsHigh" swt_gen="true"> + <arg name="display" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGDisplayPixelsWide" swt_gen="true"> + <arg name="display" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGEnableEventStateCombining" swt_gen="true"> + <arg name="doCombineState" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGEventCreateKeyboardEvent" swt_gen="true"> + <arg name="source" swt_gen="true"></arg> + <arg name="virtualKey" swt_gen="true"></arg> + <arg name="keyDown" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGEventGetIntegerValueField" swt_gen="true"> + <arg name="event" swt_gen="true"></arg> + <arg name="field" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGEventKeyboardSetUnicodeString" swt_gen="true"> + <arg name="event" swt_gen="true"></arg> + <arg name="stringLength" swt_gen="true"></arg> + <arg name="unicodeString" swt_gen="true" swt_java_type="char[]"></arg> + </function> + <function name="CGEventPost" swt_gen="true"> + <arg name="tap" swt_gen="true"></arg> + <arg name="event" swt_gen="true"></arg> + </function> + <function name="CGGetDisplaysWithRect" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <arg name="maxDisplays" swt_gen="true"></arg> + <arg name="dspys" swt_gen="true"></arg> + <arg name="dspyCnt" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGImageCreate" swt_gen="true"> + <arg name="width" swt_gen="true"></arg> + <arg name="height" swt_gen="true"></arg> + <arg name="bitsPerComponent" swt_gen="true"></arg> + <arg name="bitsPerPixel" swt_gen="true"></arg> + <arg name="bytesPerRow" swt_gen="true"></arg> + <arg name="colorspace" swt_gen="true"></arg> + <arg name="bitmapInfo" swt_gen="true"></arg> + <arg name="provider" swt_gen="true"></arg> + <arg name="decode" swt_gen="true"></arg> + <arg name="shouldInterpolate" swt_gen="true"></arg> + <arg name="intent" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGImageGetHeight" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGImageGetWidth" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGImageRelease" swt_gen="true"> + <arg name="image" swt_gen="true"></arg> + </function> + <function name="CGPathAddCurveToPoint" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="m" swt_gen="true"></arg> + <arg name="cp1x" swt_gen="true"></arg> + <arg name="cp1y" swt_gen="true"></arg> + <arg name="cp2x" swt_gen="true"></arg> + <arg name="cp2y" swt_gen="true"></arg> + <arg name="x" swt_gen="true"></arg> + <arg name="y" swt_gen="true"></arg> + </function> + <function name="CGPathAddLineToPoint" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="m" swt_gen="true"></arg> + <arg name="x" swt_gen="true"></arg> + <arg name="y" swt_gen="true"></arg> + </function> + <function name="CGPathApply" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="info" swt_gen="true"></arg> + <arg name="function" swt_gen="true"> + <arg swt_gen="true"></arg> + <arg></arg> + <retval swt_gen="true"></retval> + </arg> + </function> + <function name="CGPathCloseSubpath" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + </function> + <function name="CGPathCreateCopy" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGPathCreateMutable" swt_gen="true"> + <retval swt_gen="true"></retval> + </function> + <function name="CGPathMoveToPoint" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="m" swt_gen="true"></arg> + <arg name="x" swt_gen="true"></arg> + <arg name="y" swt_gen="true"></arg> + </function> + <function name="CGPathRelease" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + </function> + <function name="CGPostKeyboardEvent" swt_gen="true"> + <arg name="keyChar" swt_gen="true"></arg> + <arg name="virtualKey" swt_gen="true"></arg> + <arg name="keyDown" swt_gen="true" swt_java_type="boolean" swt_java_type64="boolean"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGPostMouseEvent" swt_gen="true" swt_variadic_count="4" swt_variadic_java_types="boolean,*"> + <arg name="mouseCursorPosition" swt_gen="true"></arg> + <arg name="updateMouseCursorPosition" swt_gen="true" swt_java_type="boolean"></arg> + <arg name="buttonCount" swt_gen="true"></arg> + <arg name="mouseButtonDown" swt_gen="true" swt_java_type="boolean"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGPostScrollWheelEvent" swt_gen="true"> + <arg name="wheelCount" swt_gen="true"></arg> + <arg name="wheel1" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGSetLocalEventsFilterDuringSuppressionState" swt_gen="true"> + <arg name="filter" swt_gen="true"></arg> + <arg name="state" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGSetLocalEventsSuppressionInterval" swt_gen="true"> + <arg name="seconds" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="CGWarpMouseCursorPosition" swt_gen="true"> + <arg name="newCursorPosition" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> +</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMDocument.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMDocument.java new file mode 100644 index 0000000000..df4b442fdc --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMDocument.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class DOMDocument extends NSObject { + +public DOMDocument() { + super(); +} + +public DOMDocument(int /*long*/ id) { + super(id); +} + +public DOMDocument(id id) { + super(id); +} + +public WebFrame webFrame() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_webFrame); + return result != 0 ? new WebFrame(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMEvent.java new file mode 100644 index 0000000000..44bd432dfc --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMEvent.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class DOMEvent extends NSObject { + +public DOMEvent() { + super(); +} + +public DOMEvent(int /*long*/ id) { + super(id); +} + +public DOMEvent(id id) { + super(id); +} + +public void preventDefault() { + OS.objc_msgSend(this.id, OS.sel_preventDefault); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMKeyboardEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMKeyboardEvent.java new file mode 100644 index 0000000000..3ce5b472ee --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMKeyboardEvent.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class DOMKeyboardEvent extends DOMUIEvent { + +public DOMKeyboardEvent() { + super(); +} + +public DOMKeyboardEvent(int /*long*/ id) { + super(id); +} + +public DOMKeyboardEvent(id id) { + super(id); +} + +public boolean altKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_altKey); +} + +public int charCode() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_charCode); +} + +public boolean ctrlKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_ctrlKey); +} + +public int keyCode() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_keyCode); +} + +public boolean metaKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_metaKey); +} + +public boolean shiftKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_shiftKey); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMMouseEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMMouseEvent.java new file mode 100644 index 0000000000..efd23a5233 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMMouseEvent.java @@ -0,0 +1,55 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class DOMMouseEvent extends DOMUIEvent { + +public DOMMouseEvent() { + super(); +} + +public DOMMouseEvent(int /*long*/ id) { + super(id); +} + +public DOMMouseEvent(id id) { + super(id); +} + +public boolean altKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_altKey); +} + +public short button() { + return (short)OS.objc_msgSend(this.id, OS.sel_button); +} + +public int clientX() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientX); +} + +public int clientY() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientY); +} + +public boolean ctrlKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_ctrlKey); +} + +public boolean metaKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_metaKey); +} + +public boolean shiftKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_shiftKey); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMUIEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMUIEvent.java new file mode 100644 index 0000000000..053e025f2f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMUIEvent.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class DOMUIEvent extends DOMEvent { + +public DOMUIEvent() { + super(); +} + +public DOMUIEvent(int /*long*/ id) { + super(id); +} + +public DOMUIEvent(id id) { + super(id); +} + +public int detail() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_detail); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMWheelEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMWheelEvent.java new file mode 100644 index 0000000000..4d2aac4a91 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMWheelEvent.java @@ -0,0 +1,55 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class DOMWheelEvent extends NSObject { + +public DOMWheelEvent() { + super(); +} + +public DOMWheelEvent(int /*long*/ id) { + super(id); +} + +public DOMWheelEvent(id id) { + super(id); +} + +public boolean altKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_altKey); +} + +public int clientX() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientX); +} + +public int clientY() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientY); +} + +public boolean ctrlKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_ctrlKey); +} + +public boolean metaKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_metaKey); +} + +public boolean shiftKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_shiftKey); +} + +public int wheelDelta() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_wheelDelta); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras new file mode 100644 index 0000000000..c95ad9a1d2 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras @@ -0,0 +1,1040 @@ +<?xml version="1.0" encoding="UTF8"?> +<signatures swt_gen="mixed"> + <struct name="NSAffineTransformStruct" swt_gen="true"> + <field name="m11" swt_gen="true"></field> + <field name="m12" swt_gen="true"></field> + <field name="m21" swt_gen="true"></field> + <field name="m22" swt_gen="true"></field> + <field name="tX" swt_gen="true"></field> + <field name="tY" swt_gen="true"></field> + </struct> + <struct name="NSPoint" swt_gen="true"> + <field name="x" swt_gen="true"></field> + <field name="y" swt_gen="true"></field> + </struct> + <struct name="NSRange" swt_gen="true"> + <field name="location" swt_gen="true"></field> + <field name="length" swt_gen="true"></field> + </struct> + <struct name="NSRect" swt_gen="true"> + <field name="origin" swt_gen="true"></field> + <field name="size" swt_gen="true"></field> + </struct> + <struct name="NSSize" swt_gen="true"> + <field name="width" swt_gen="true"></field> + <field name="height" swt_gen="true"></field> + </struct> + <constant name="NSDefaultRunLoopMode" swt_gen="true"></constant> + <constant name="NSErrorFailingURLStringKey" swt_gen="true"></constant> + <enum name="NSAllApplicationsDirectory" swt_gen="true"></enum> + <enum name="NSAllDomainsMask" swt_gen="true"></enum> + <enum name="NSNotFound" swt_gen="true"></enum> + <enum name="NSOrderedSame" swt_gen="true"></enum> + <enum name="NSURLCredentialPersistenceForSession" swt_gen="true"></enum> + <enum name="NSURLErrorBadURL" swt_gen="true"></enum> + <enum name="NSURLRequestReloadIgnoringLocalCacheData" swt_gen="true"></enum> + <enum name="NSUTF8StringEncoding" swt_gen="true"></enum> + <function name="NSEqualRects" swt_gen="true"> + <arg name="aRect" swt_gen="true"></arg> + <arg name="bRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSFileTypeForHFSTypeCode" swt_gen="true"> + <arg name="hfsFileTypeCode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSGetSizeAndAlignment" swt_gen="true"> + <arg name="typePtr" swt_gen="true"></arg> + <arg name="sizep" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> + <arg name="alignp" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSPointInRect" swt_gen="true"> + <arg name="aPoint" swt_gen="true"></arg> + <arg name="aRect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSSearchPathForDirectoriesInDomains" swt_gen="true"> + <arg name="directory" swt_gen="true"></arg> + <arg name="domainMask" swt_gen="true"></arg> + <arg name="expandTilde" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </function> + <function name="NSTemporaryDirectory" swt_gen="true"> + <retval swt_gen="true"></retval> + </function> + <class name="NSAppleEventDescriptor" swt_gen="mixed"> + <method selector="initListDescriptor" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSAppleEventDescriptor"></retval> + </method> + </class> + <class name="NSArray" swt_gen="mixed"> + <method class_method="true" selector="array" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSArray"></retval> + </method> + <method class_method="true" selector="arrayWithObject:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSArray"></retval> + </method> + <method selector="containsObject:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="count" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="indexOfObjectIdenticalTo:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="objectAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSAttributedString" swt_gen="mixed"> + <method selector="attributedSubstringFromRange:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithString:" swt_gen="true"> + <arg name="str" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSAttributedString"></retval> + </method> + <method selector="length" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="string" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSAutoreleasePool" swt_gen="mixed"> + <method class_method="true" selector="enableFreedObjectCheck:" swt_gen="true"> + <arg name="enable" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSBundle" swt_gen="mixed"> + <method selector="bundleIdentifier" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="bundlePath" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="bundleWithIdentifier:" swt_gen="true"> + <arg name="identifier" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="bundleWithPath:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="infoDictionary" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="mainBundle" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="objectForInfoDictionaryKey:" swt_gen="true"> + <arg name="key" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="pathForResource:ofType:" swt_gen="true"> + <arg name="name" swt_gen="true"></arg> + <arg name="ext" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="resourcePath" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSCalendarDate" swt_gen="mixed" swt_superclass="NSDate"> + <method class_method="true" selector="calendarDate" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSCalendarDate"></retval> + </method> + <method class_method="true" selector="dateWithYear:month:day:hour:minute:second:timeZone:" swt_gen="true"> + <arg name="year" swt_gen="true"></arg> + <arg name="month" swt_gen="true"></arg> + <arg name="day" swt_gen="true"></arg> + <arg name="hour" swt_gen="true"></arg> + <arg name="minute" swt_gen="true"></arg> + <arg name="second" swt_gen="true"></arg> + <arg name="aTimeZone" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSCalendarDate"></retval> + </method> + <method selector="dayOfMonth" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="hourOfDay" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="minuteOfHour" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="monthOfYear" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="secondOfMinute" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="timeZone" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="yearOfCommonEra" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSCharacterSet" swt_gen="mixed"> + <method selector="characterIsMember:" swt_gen="true"> + <arg name="aCharacter" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="decimalDigitCharacterSet" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSCloneCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSCloseCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSCoder" swt_gen="mixed"> + <method selector="systemVersion" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSComparisonPredicate" swt_superclass="NSPredicate"> + </class> + <class name="NSCompoundPredicate" swt_superclass="NSPredicate"> + </class> + <class name="NSCountedSet" swt_superclass="NSMutableSet"> + </class> + <class name="NSCreateCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSData" swt_gen="mixed"> + <method selector="bytes" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="dataWithBytes:length:" swt_gen="true"> + <arg name="bytes" swt_gen="true" swt_java_type="byte[]"></arg> + <arg name="length" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSData"></retval> + </method> + <method selector="getBytes:" swt_gen="true"> + <arg name="buffer" swt_gen="true" swt_java_type="byte[]"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="getBytes:length:" swt_gen="true"> + <arg name="buffer" swt_gen="true"></arg> + <arg name="length" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="length" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSDate" swt_gen="mixed"> + <method selector="dateWithCalendarFormat:timeZone:" swt_gen="true"> + <arg name="format" swt_gen="true"></arg> + <arg name="aTimeZone" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="dateWithTimeIntervalSinceNow:" swt_gen="true"> + <arg name="secs" swt_gen="true"></arg> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSDate"></retval> + </method> + <method class_method="true" selector="distantFuture" swt_gen="true"> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSDate"></retval> + </method> + </class> + <class name="NSDateFormatter" swt_superclass="NSFormatter"> + </class> + <class name="NSDecimalNumber" swt_superclass="NSNumber"> + </class> + <class name="NSDeleteCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSDictionary" swt_gen="mixed"> + <method selector="allKeys" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="count" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="dictionaryWithObject:forKey:" swt_gen="true"> + <arg name="object" swt_gen="true"></arg> + <arg name="key" swt_gen="true"></arg> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSDictionary"></retval> + </method> + <method selector="objectEnumerator" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="objectForKey:" swt_gen="true"> + <arg name="aKey" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="valueForKey:" swt_gen="true"> + <arg name="key" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSDirectoryEnumerator" swt_gen="mixed" swt_superclass="NSEnumerator"> + <method selector="skipDescendents" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSDistantObject" swt_superclass="NSProxy"> + </class> + <class name="NSDistributedNotificationCenter" swt_superclass="NSNotificationCenter"> + </class> + <class name="NSEnumerator" swt_gen="mixed"> + <method selector="nextObject" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSError" swt_gen="mixed"> + <method selector="code" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="localizedDescription" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="userInfo" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSFileManager" swt_gen="mixed"> + <method selector="createFileAtPath:contents:attributes:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="data" swt_gen="true"></arg> + <arg name="attr" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="defaultManager" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="enumeratorAtPath:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="fileExistsAtPath:isDirectory:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="isDirectory" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeItemAtPath:error:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="error" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSFormatter" swt_gen="mixed"> + <method selector="stringForObjectValue:" swt_gen="true"> + <arg name="obj" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSHTTPCookie" swt_gen="mixed"> + <method class_method="true" selector="cookiesWithResponseHeaderFields:forURL:" swt_gen="true"> + <arg name="headerFields" swt_gen="true"></arg> + <arg name="URL" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isSessionOnly" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="name" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="value" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSHTTPCookieStorage" swt_gen="mixed"> + <method selector="cookies" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="cookiesForURL:" swt_gen="true"> + <arg name="URL" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="deleteCookie:" swt_gen="true"> + <arg name="cookie" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setCookie:" swt_gen="true"> + <arg name="cookie" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="sharedHTTPCookieStorage" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSHTTPURLResponse" swt_superclass="NSURLResponse"> + </class> + <class name="NSIndexSet" swt_gen="mixed"> + <method selector="containsIndex:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="count" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="firstIndex" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="getIndexes:maxCount:inIndexRange:" swt_gen="true"> + <arg name="indexBuffer" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> + <arg name="bufferSize" swt_gen="true"></arg> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithIndex:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSIndexSet"></retval> + </method> + <method selector="initWithIndexesInRange:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSIndexSet"></retval> + </method> + </class> + <class name="NSIndexSpecifier" swt_superclass="NSScriptObjectSpecifier"> + </class> + <class name="NSInputStream" swt_superclass="NSStream"> + </class> + <class name="NSInvocationOperation" swt_superclass="NSOperation"> + </class> + <class name="NSKeyedArchiver" swt_gen="mixed" swt_superclass="NSCoder"> + <method class_method="true" selector="archivedDataWithRootObject:" swt_gen="true"> + <arg name="rootObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSKeyedUnarchiver" swt_gen="mixed" swt_superclass="NSCoder"> + <method class_method="true" selector="unarchiveObjectWithData:" swt_gen="true"> + <arg name="data" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSLogicalTest" swt_superclass="NSScriptWhoseTest"> + </class> + <class name="NSMachBootstrapServer" swt_superclass="NSPortNameServer"> + </class> + <class name="NSMachPort" swt_superclass="NSPort"> + </class> + <class name="NSMessagePortNameServer" swt_superclass="NSPortNameServer"> + </class> + <class name="NSMoveCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSMutableArray" swt_gen="mixed" swt_superclass="NSArray"> + <method selector="addObject:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="addObjectsFromArray:" swt_gen="true"> + <arg name="otherArray" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="arrayWithCapacity:" swt_gen="true"> + <arg name="numItems" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSMutableArray"></retval> + </method> + <method selector="initWithCapacity:" swt_gen="true"> + <arg name="numItems" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSMutableArray"></retval> + </method> + <method selector="removeLastObject" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeObject:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeObjectAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="removeObjectIdenticalTo:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableAttributedString" swt_gen="mixed" swt_superclass="NSAttributedString"> + <method selector="addAttribute:value:range:" swt_gen="true"> + <arg name="name" swt_gen="true"></arg> + <arg name="value" swt_gen="true"></arg> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="beginEditing" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="endEditing" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="removeAttribute:range:" swt_gen="true"> + <arg name="name" swt_gen="true"></arg> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setAttributedString:" swt_gen="true"> + <arg name="attrString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableCharacterSet" swt_superclass="NSCharacterSet"> + </class> + <class name="NSMutableData" swt_superclass="NSData"> + </class> + <class name="NSMutableDictionary" swt_gen="mixed" swt_superclass="NSDictionary"> + <method class_method="true" selector="dictionaryWithCapacity:" swt_gen="true"> + <arg name="numItems" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSMutableDictionary"></retval> + </method> + <method selector="initWithCapacity:" swt_gen="true"> + <arg name="numItems" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSMutableDictionary"></retval> + </method> + <method selector="removeObjectForKey:" swt_gen="true"> + <arg name="aKey" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDictionary:" swt_gen="true"> + <arg name="otherDictionary" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setObject:forKey:" swt_gen="true"> + <arg name="anObject" swt_gen="true"></arg> + <arg name="aKey" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setValue:forKey:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <arg name="key" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableIndexSet" swt_gen="mixed" swt_superclass="NSIndexSet"> + <method selector="addIndex:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableSet" swt_gen="mixed" swt_superclass="NSSet"> + <method selector="addObjectsFromArray:" swt_gen="true"> + <arg name="array" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableString" swt_gen="mixed" swt_superclass="NSString"> + <method selector="appendString:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSMutableURLRequest" swt_gen="mixed" swt_superclass="NSURLRequest"> + <method selector="setCachePolicy:" swt_gen="true"> + <arg name="policy" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setURL:" swt_gen="true"> + <arg name="URL" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSNameSpecifier" swt_superclass="NSScriptObjectSpecifier"> + </class> + <class name="NSNotification" swt_gen="mixed"> + <method selector="object" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="userInfo" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSNotificationCenter" swt_gen="mixed"> + <method selector="addObserver:selector:name:object:" swt_gen="true"> + <arg name="observer" swt_gen="true"></arg> + <arg name="aSelector" swt_gen="true"></arg> + <arg name="aName" swt_gen="true"></arg> + <arg name="anObject" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="defaultCenter" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSNotificationCenter"></retval> + </method> + <method selector="removeObserver:" swt_gen="true"> + <arg name="observer" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSNumber" swt_gen="mixed" swt_superclass="NSValue"> + <method selector="boolValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="doubleValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="floatValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="intValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="integerValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="numberWithBool:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="numberWithDouble:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="numberWithInt:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="numberWithInteger:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSNumberFormatter" swt_gen="mixed" swt_superclass="NSFormatter"> + <method selector="allowsFloats" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="alwaysShowsDecimalSeparator" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="decimalSeparator" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="maximum" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="maximumFractionDigits" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="maximumIntegerDigits" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="minimum" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setAllowsFloats:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaximum:" swt_gen="true"> + <arg name="number" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaximumFractionDigits:" swt_gen="true"> + <arg name="number" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMaximumIntegerDigits:" swt_gen="true"> + <arg name="number" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinimum:" swt_gen="true"> + <arg name="number" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinimumFractionDigits:" swt_gen="true"> + <arg name="number" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setMinimumIntegerDigits:" swt_gen="true"> + <arg name="number" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setNumberStyle:" swt_gen="true"> + <arg name="style" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPartialStringValidationEnabled:" swt_gen="true"> + <arg name="b" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSObject" swt_gen="mixed"> + <method selector="autorelease" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSObject"></retval> + </method> + <method selector="cancelAuthenticationChallenge:" swt_gen="true"> + <arg name="challenge" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="className" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="conformsToProtocol:" swt_gen="true"> + <arg name="aProtocol" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="copy" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="description" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="init" swt_gen="true"> + <retval swt_gen="true" swt_java_type="NSObject"></retval> + </method> + <method selector="isEqual:" swt_gen="true"> + <arg name="object" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isEqualTo:" swt_gen="true"> + <arg name="object" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="isKindOfClass:" swt_gen="true"> + <arg name="aClass" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="mutableCopy" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="performSelectorOnMainThread:withObject:waitUntilDone:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <arg name="arg" swt_gen="true"></arg> + <arg name="wait" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="release" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="respondsToSelector:" swt_gen="true"> + <arg name="aSelector" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="retain" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="retainCount" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setValue:forKey:" swt_gen="true"> + <arg name="value" swt_gen="true"></arg> + <arg name="key" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="superclass" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="useCredential:forAuthenticationChallenge:" swt_gen="true"> + <arg name="credential" swt_gen="true"></arg> + <arg name="challenge" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="valueForKey:" swt_gen="true"> + <arg name="key" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSOutputStream" swt_superclass="NSStream"> + </class> + <class name="NSPortCoder" swt_superclass="NSCoder"> + </class> + <class name="NSProtocolChecker" swt_superclass="NSProxy"> + </class> + <class name="NSQuitCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSRangeSpecifier" swt_superclass="NSScriptObjectSpecifier"> + </class> + <class name="NSRelativeSpecifier" swt_superclass="NSScriptObjectSpecifier"> + </class> + <class name="NSRunLoop" swt_gen="mixed"> + <method selector="addTimer:forMode:" swt_gen="true"> + <arg name="timer" swt_gen="true"></arg> + <arg name="mode" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="currentRunLoop" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="mainRunLoop" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="runMode:beforeDate:" swt_gen="true"> + <arg name="mode" swt_gen="true"></arg> + <arg name="limitDate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSScriptClassDescription" swt_superclass="NSClassDescription"> + </class> + <class name="NSSet" swt_gen="mixed"> + <method selector="count" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="objectEnumerator" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="set" swt_gen="true"> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSSet"></retval> + </method> + </class> + <class name="NSSetCommand" swt_superclass="NSScriptCommand"> + </class> + <class name="NSSocketPort" swt_superclass="NSPort"> + </class> + <class name="NSSocketPortNameServer" swt_superclass="NSPortNameServer"> + </class> + <class name="NSSpecifierTest" swt_superclass="NSScriptWhoseTest"> + </class> + <class name="NSString" swt_gen="mixed"> + <method selector="UTF8String" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="characterAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="int" swt_java_type64="long"></retval> + </method> + <method selector="compare:" swt_gen="true"> + <arg name="string" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="fileSystemRepresentation" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="getCharacters:" swt_gen="true"> + <arg name="buffer" swt_gen="true" swt_java_type="char[]"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="getCharacters:range:" swt_gen="true"> + <arg name="buffer" swt_gen="true" swt_java_type="char[]"></arg> + <arg name="aRange" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithCharacters:length:" swt_gen="true"> + <arg name="characters" swt_gen="true" swt_java_type="char[]"></arg> + <arg name="length" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSString"></retval> + </method> + <method selector="isEqualToString:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="lastPathComponent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="length" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="lowercaseString" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="pathExtension" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByAddingPercentEscapesUsingEncoding:" swt_gen="true"> + <arg name="enc" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByAppendingPathComponent:" swt_gen="true"> + <arg name="str" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByAppendingString:" swt_gen="true"> + <arg name="aString" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByDeletingLastPathComponent" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByDeletingPathExtension" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByReplacingOccurrencesOfString:withString:" swt_gen="true"> + <arg name="target" swt_gen="true"></arg> + <arg name="replacement" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="stringWithCharacters:length:" swt_gen="true"> + <arg name="characters" swt_gen="true" swt_java_type="char[]"></arg> + <arg name="length" swt_gen="true"></arg> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSString"></retval> + </method> + <method class_method="true" selector="stringWithFormat:" swt_gen="true"> + <arg name="stringWithFormat" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSString"></retval> + </method> + <method class_method="true" selector="stringWithUTF8String:" swt_gen="true"> + <arg name="nullTerminatedCString" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSString"></retval> + </method> + </class> + <class name="NSThread" swt_gen="mixed"> + <method class_method="true" selector="currentThread" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="isMainThread" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="threadDictionary" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTimeZone" swt_gen="mixed"> + <method class_method="true" selector="defaultTimeZone" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSTimer" swt_gen="mixed"> + <method selector="invalidate" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:" swt_gen="true"> + <arg name="ti" swt_gen="true"></arg> + <arg name="aTarget" swt_gen="true"></arg> + <arg name="aSelector" swt_gen="true"></arg> + <arg name="userInfo" swt_gen="true"></arg> + <arg name="yesOrNo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFireDate:" swt_gen="true"> + <arg name="date" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="userInfo" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURL" swt_gen="mixed"> + <method class_method="true" selector="URLWithString:" swt_gen="true"> + <arg name="URLString" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSURL"></retval> + </method> + <method selector="absoluteString" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="fileURLWithPath:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSURL"></retval> + </method> + <method selector="isFileURL" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURLAuthenticationChallenge" swt_gen="mixed"> + <method selector="previousFailureCount" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="proposedCredential" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="protectionSpace" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="sender" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURLCredential" swt_gen="mixed"> + <method class_method="true" selector="credentialWithUser:password:persistence:" swt_gen="true"> + <arg name="user" swt_gen="true"></arg> + <arg name="password" swt_gen="true"></arg> + <arg name="persistence" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="hasPassword" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="password" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="user" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURLDownload" swt_gen="mixed"> + <method selector="cancel" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="setDestination:allowOverwrite:" swt_gen="true"> + <arg name="path" swt_gen="true"></arg> + <arg name="allowOverwrite" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURLProtectionSpace" swt_gen="mixed"> + <method selector="host" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="port" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="realm" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSURLRequest" swt_gen="mixed"> + <method selector="URL" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithURL:" swt_gen="true"> + <arg name="URL" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="NSURLRequest"></retval> + </method> + <method class_method="true" selector="requestWithURL:" swt_gen="true"> + <arg name="URL" swt_gen="true"></arg> + <retval swt_alloc="true" swt_gen="true" swt_java_type="NSURLRequest"></retval> + </method> + </class> + <class name="NSUnarchiver" swt_superclass="NSCoder"> + </class> + <class name="NSUniqueIDSpecifier" swt_superclass="NSScriptObjectSpecifier"> + </class> + <class name="NSValue" swt_gen="mixed"> + <method selector="objCType" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="pointValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="rangeValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="rectValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="sizeValue" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="valueWithPoint:" swt_gen="true"> + <arg name="point" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="valueWithRange:" swt_gen="true"> + <arg name="range" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="valueWithRect:" swt_gen="true"> + <arg name="rect" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="valueWithSize:" swt_gen="true"> + <arg name="size" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSWhoseSpecifier" swt_superclass="NSScriptObjectSpecifier"> + </class> + <class name="NSXMLDTD" swt_superclass="NSXMLNode"> + </class> + <class name="NSXMLDTDNode" swt_superclass="NSXMLNode"> + </class> + <class name="NSXMLDocument" swt_superclass="NSXMLNode"> + </class> + <class name="NSXMLElement" swt_superclass="NSXMLNode"> + </class> + <informal_protocol name="NSURLDownloadDelegate" swt_gen="mixed"> + <method selector="download:decideDestinationWithSuggestedFilename:" swt_gen="true"> + <arg name="download" swt_gen="true"></arg> + <arg name="filename" swt_gen="true"></arg> + </method> + </informal_protocol> +</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSActionCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSActionCell.java new file mode 100644 index 0000000000..6796aa2f22 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSActionCell.java @@ -0,0 +1,44 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSActionCell extends NSCell { + +public NSActionCell() { + super(); +} + +public NSActionCell(int /*long*/ id) { + super(id); +} + +public NSActionCell(id id) { + super(id); +} + +public int /*long*/ action() { + return OS.objc_msgSend(this.id, OS.sel_action); +} + +public void setAction(int /*long*/ aSelector) { + OS.objc_msgSend(this.id, OS.sel_setAction_, aSelector); +} + +public void setTarget(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setTarget_, anObject != null ? anObject.id : 0); +} + +public id target() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_target); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransform.java new file mode 100644 index 0000000000..51eeee37d1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransform.java @@ -0,0 +1,87 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSAffineTransform extends NSObject { + +public NSAffineTransform() { + super(); +} + +public NSAffineTransform(int /*long*/ id) { + super(id); +} + +public NSAffineTransform(id id) { + super(id); +} + +public void concat() { + OS.objc_msgSend(this.id, OS.sel_concat); +} + +public NSAffineTransform initWithTransform(NSAffineTransform transform) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithTransform_, transform != null ? transform.id : 0); + return result == this.id ? this : (result != 0 ? new NSAffineTransform(result) : null); +} + +public void invert() { + OS.objc_msgSend(this.id, OS.sel_invert); +} + +public void prependTransform(NSAffineTransform transform) { + OS.objc_msgSend(this.id, OS.sel_prependTransform_, transform != null ? transform.id : 0); +} + +public void rotateByDegrees(float /*double*/ angle) { + OS.objc_msgSend(this.id, OS.sel_rotateByDegrees_, angle); +} + +public void scaleXBy(float /*double*/ scaleX, float /*double*/ scaleY) { + OS.objc_msgSend(this.id, OS.sel_scaleXBy_yBy_, scaleX, scaleY); +} + +public void set() { + OS.objc_msgSend(this.id, OS.sel_set); +} + +public void setTransformStruct(NSAffineTransformStruct transformStruct) { + OS.objc_msgSend(this.id, OS.sel_setTransformStruct_, transformStruct); +} + +public static NSAffineTransform transform() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSAffineTransform, OS.sel_transform); + return result != 0 ? new NSAffineTransform(result) : null; +} + +public NSPoint transformPoint(NSPoint aPoint) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_transformPoint_, aPoint); + return result; +} + +public NSSize transformSize(NSSize aSize) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_transformSize_, aSize); + return result; +} + +public NSAffineTransformStruct transformStruct() { + NSAffineTransformStruct result = new NSAffineTransformStruct(); + OS.objc_msgSend_stret(result, this.id, OS.sel_transformStruct); + return result; +} + +public void translateXBy(float /*double*/ deltaX, float /*double*/ deltaY) { + OS.objc_msgSend(this.id, OS.sel_translateXBy_yBy_, deltaX, deltaY); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransformStruct.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransformStruct.java new file mode 100644 index 0000000000..82b75ea9ad --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransformStruct.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSAffineTransformStruct { + public float /*double*/ m11, m12, m21, m22; + public float /*double*/ tX, tY; + public static final int sizeof = OS.NSAffineTransformStruct_sizeof(); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAlert.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAlert.java new file mode 100644 index 0000000000..6d3ed2d820 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAlert.java @@ -0,0 +1,53 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSAlert extends NSObject { + +public NSAlert() { + super(); +} + +public NSAlert(int /*long*/ id) { + super(id); +} + +public NSAlert(id id) { + super(id); +} + +public NSButton addButtonWithTitle(NSString title) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_addButtonWithTitle_, title != null ? title.id : 0); + return result != 0 ? new NSButton(result) : null; +} + +public void beginSheetModalForWindow(NSWindow window, id delegate, int /*long*/ didEndSelector, int /*long*/ contextInfo) { + OS.objc_msgSend(this.id, OS.sel_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_, window != null ? window.id : 0, delegate != null ? delegate.id : 0, didEndSelector, contextInfo); +} + +public int /*long*/ runModal() { + return OS.objc_msgSend(this.id, OS.sel_runModal); +} + +public void setAlertStyle(int /*long*/ style) { + OS.objc_msgSend(this.id, OS.sel_setAlertStyle_, style); +} + +public void setMessageText(NSString messageText) { + OS.objc_msgSend(this.id, OS.sel_setMessageText_, messageText != null ? messageText.id : 0); +} + +public NSWindow window() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_window); + return result != 0 ? new NSWindow(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAppleEventDescriptor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAppleEventDescriptor.java new file mode 100644 index 0000000000..6790acbe91 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAppleEventDescriptor.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSAppleEventDescriptor extends NSObject { + +public NSAppleEventDescriptor() { + super(); +} + +public NSAppleEventDescriptor(int /*long*/ id) { + super(id); +} + +public NSAppleEventDescriptor(id id) { + super(id); +} + +public NSAppleEventDescriptor initListDescriptor() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initListDescriptor); + return result == this.id ? this : (result != 0 ? new NSAppleEventDescriptor(result) : null); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java new file mode 100644 index 0000000000..8c02f8ad9b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java @@ -0,0 +1,142 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSApplication extends NSResponder { + +public NSApplication() { + super(); +} + +public NSApplication(int /*long*/ id) { + super(id); +} + +public NSApplication(id id) { + super(id); +} + +public void activateIgnoringOtherApps(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_activateIgnoringOtherApps_, flag); +} + +public void beginSheet(NSWindow sheet, NSWindow docWindow, id modalDelegate, int /*long*/ didEndSelector, int /*long*/ contextInfo) { + OS.objc_msgSend(this.id, OS.sel_beginSheet_modalForWindow_modalDelegate_didEndSelector_contextInfo_, sheet != null ? sheet.id : 0, docWindow != null ? docWindow.id : 0, modalDelegate != null ? modalDelegate.id : 0, didEndSelector, contextInfo); +} + +public NSEvent currentEvent() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_currentEvent); + return result != 0 ? new NSEvent(result) : null; +} + +public void endSheet(NSWindow sheet, int /*long*/ returnCode) { + OS.objc_msgSend(this.id, OS.sel_endSheet_returnCode_, sheet != null ? sheet.id : 0, returnCode); +} + +public void finishLaunching() { + OS.objc_msgSend(this.id, OS.sel_finishLaunching); +} + +public void hide(id sender) { + OS.objc_msgSend(this.id, OS.sel_hide_, sender != null ? sender.id : 0); +} + +public void hideOtherApplications(id sender) { + OS.objc_msgSend(this.id, OS.sel_hideOtherApplications_, sender != null ? sender.id : 0); +} + +public boolean isActive() { + return OS.objc_msgSend_bool(this.id, OS.sel_isActive); +} + +public boolean isRunning() { + return OS.objc_msgSend_bool(this.id, OS.sel_isRunning); +} + +public NSWindow keyWindow() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_keyWindow); + return result != 0 ? new NSWindow(result) : null; +} + +public NSMenu mainMenu() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mainMenu); + return result != 0 ? new NSMenu(result) : null; +} + +public NSEvent nextEventMatchingMask(int /*long*/ mask, NSDate expiration, NSString mode, boolean deqFlag) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_nextEventMatchingMask_untilDate_inMode_dequeue_, mask, expiration != null ? expiration.id : 0, mode != null ? mode.id : 0, deqFlag); + return result != 0 ? new NSEvent(result) : null; +} + +public void orderFrontStandardAboutPanel(id sender) { + OS.objc_msgSend(this.id, OS.sel_orderFrontStandardAboutPanel_, sender != null ? sender.id : 0); +} + +public NSArray orderedWindows() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_orderedWindows); + return result != 0 ? new NSArray(result) : null; +} + +public void postEvent(NSEvent event, boolean flag) { + OS.objc_msgSend(this.id, OS.sel_postEvent_atStart_, event != null ? event.id : 0, flag); +} + +public void run() { + OS.objc_msgSend(this.id, OS.sel_run); +} + +public int /*long*/ runModalForWindow(NSWindow theWindow) { + return OS.objc_msgSend(this.id, OS.sel_runModalForWindow_, theWindow != null ? theWindow.id : 0); +} + +public void sendEvent(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_sendEvent_, theEvent != null ? theEvent.id : 0); +} + +public void setApplicationIconImage(NSImage image) { + OS.objc_msgSend(this.id, OS.sel_setApplicationIconImage_, image != null ? image.id : 0); +} + +public void setDelegate(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); +} + +public void setMainMenu(NSMenu aMenu) { + OS.objc_msgSend(this.id, OS.sel_setMainMenu_, aMenu != null ? aMenu.id : 0); +} + +public void setServicesMenu(NSMenu aMenu) { + OS.objc_msgSend(this.id, OS.sel_setServicesMenu_, aMenu != null ? aMenu.id : 0); +} + +public static NSApplication sharedApplication() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSApplication, OS.sel_sharedApplication); + return result != 0 ? new NSApplication(result) : null; +} + +public void stop(id sender) { + OS.objc_msgSend(this.id, OS.sel_stop_, sender != null ? sender.id : 0); +} + +public void terminate(id sender) { + OS.objc_msgSend(this.id, OS.sel_terminate_, sender != null ? sender.id : 0); +} + +public void unhideAllApplications(id sender) { + OS.objc_msgSend(this.id, OS.sel_unhideAllApplications_, sender != null ? sender.id : 0); +} + +public NSArray windows() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_windows); + return result != 0 ? new NSArray(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java new file mode 100644 index 0000000000..6d63291431 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSArray extends NSObject { + +public NSArray() { + super(); +} + +public NSArray(int /*long*/ id) { + super(id); +} + +public NSArray(id id) { + super(id); +} + +public static NSArray array() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSArray, OS.sel_array); + return result != 0 ? new NSArray(result) : null; +} + +public static NSArray arrayWithObject(id anObject) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSArray, OS.sel_arrayWithObject_, anObject != null ? anObject.id : 0); + return result != 0 ? new NSArray(result) : null; +} + +public boolean containsObject(id anObject) { + return OS.objc_msgSend_bool(this.id, OS.sel_containsObject_, anObject != null ? anObject.id : 0); +} + +public int /*long*/ count() { + return OS.objc_msgSend(this.id, OS.sel_count); +} + +public int /*long*/ indexOfObjectIdenticalTo(id anObject) { + return OS.objc_msgSend(this.id, OS.sel_indexOfObjectIdenticalTo_, anObject != null ? anObject.id : 0); +} + +public id objectAtIndex(int /*long*/ index) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectAtIndex_, index); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAttributedString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAttributedString.java new file mode 100644 index 0000000000..9ff15a57e5 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAttributedString.java @@ -0,0 +1,85 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSAttributedString extends NSObject { + +public NSAttributedString() { + super(); +} + +public NSAttributedString(int /*long*/ id) { + super(id); +} + +public NSAttributedString(id id) { + super(id); +} + +public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSAttributedString, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0); + return result != 0 ? new NSAttributedString(result) : null; +} + +public NSDictionary attributesAtIndex(int /*long*/ location, int /*long*/ range, NSRange rangeLimit) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributesAtIndex_longestEffectiveRange_inRange_, location, range, rangeLimit); + return result != 0 ? new NSDictionary(result) : null; +} + +public NSRange doubleClickAtIndex(int /*long*/ location) { + NSRange result = new NSRange(); + OS.objc_msgSend_stret(result, this.id, OS.sel_doubleClickAtIndex_, location); + return result; +} + +public void drawAtPoint(NSPoint point) { + OS.objc_msgSend(this.id, OS.sel_drawAtPoint_, point); +} + +public void drawInRect(NSRect rect) { + OS.objc_msgSend(this.id, OS.sel_drawInRect_, rect); +} + +public NSAttributedString initWithString(NSString str, NSDictionary attrs) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithString_attributes_, str != null ? str.id : 0, attrs != null ? attrs.id : 0); + return result == this.id ? this : (result != 0 ? new NSAttributedString(result) : null); +} + +public int /*long*/ nextWordFromIndex(int /*long*/ location, boolean isForward) { + return OS.objc_msgSend(this.id, OS.sel_nextWordFromIndex_forward_, location, isForward); +} + +public NSSize size() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_size); + return result; +} + +public NSAttributedString attributedSubstringFromRange(NSRange range) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedSubstringFromRange_, range); + return result == this.id ? this : (result != 0 ? new NSAttributedString(result) : null); +} + +public NSAttributedString initWithString(NSString str) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithString_, str != null ? str.id : 0); + return result == this.id ? this : (result != 0 ? new NSAttributedString(result) : null); +} + +public int /*long*/ length() { + return OS.objc_msgSend(this.id, OS.sel_length); +} + +public NSString string() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_string); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAutoreleasePool.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAutoreleasePool.java new file mode 100644 index 0000000000..05eb429890 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAutoreleasePool.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSAutoreleasePool extends NSObject { + +public NSAutoreleasePool() { + super(); +} + +public NSAutoreleasePool(int /*long*/ id) { + super(id); +} + +public NSAutoreleasePool(id id) { + super(id); +} + +public static void enableFreedObjectCheck(boolean enable) { + OS.objc_msgSend(OS.class_NSAutoreleasePool, OS.sel_enableFreedObjectCheck_, enable); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBezierPath.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBezierPath.java new file mode 100644 index 0000000000..099699b0a1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBezierPath.java @@ -0,0 +1,184 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSBezierPath extends NSObject { + +public NSBezierPath() { + super(); +} + +public NSBezierPath(int /*long*/ id) { + super(id); +} + +public NSBezierPath(id id) { + super(id); +} + +public void addClip() { + OS.objc_msgSend(this.id, OS.sel_addClip); +} + +public void appendBezierPath(NSBezierPath path) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPath_, path != null ? path.id : 0); +} + +public void appendBezierPathWithArcWithCenter(NSPoint center, float /*double*/ radius, float /*double*/ startAngle, float /*double*/ endAngle) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_, center, radius, startAngle, endAngle); +} + +public void appendBezierPathWithArcWithCenter(NSPoint center, float /*double*/ radius, float /*double*/ startAngle, float /*double*/ endAngle, boolean clockwise) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_clockwise_, center, radius, startAngle, endAngle, clockwise); +} + +public void appendBezierPathWithGlyphs(int /*long*/ glyphs, int /*long*/ count, NSFont font) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithGlyphs_count_inFont_, glyphs, count, font != null ? font.id : 0); +} + +public void appendBezierPathWithOvalInRect(NSRect rect) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithOvalInRect_, rect); +} + +public void appendBezierPathWithRect(NSRect rect) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithRect_, rect); +} + +public void appendBezierPathWithRoundedRect(NSRect rect, float /*double*/ xRadius, float /*double*/ yRadius) { + OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithRoundedRect_xRadius_yRadius_, rect, xRadius, yRadius); +} + +public static NSBezierPath bezierPath() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_bezierPath); + return result != 0 ? new NSBezierPath(result) : null; +} + +public NSBezierPath bezierPathByFlatteningPath() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bezierPathByFlatteningPath); + return result == this.id ? this : (result != 0 ? new NSBezierPath(result) : null); +} + +public static NSBezierPath bezierPathWithRect(NSRect rect) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_bezierPathWithRect_, rect); + return result != 0 ? new NSBezierPath(result) : null; +} + +public NSRect bounds() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_bounds); + return result; +} + +public void closePath() { + OS.objc_msgSend(this.id, OS.sel_closePath); +} + +public boolean containsPoint(NSPoint point) { + return OS.objc_msgSend_bool(this.id, OS.sel_containsPoint_, point); +} + +public NSRect controlPointBounds() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_controlPointBounds); + return result; +} + +public NSPoint currentPoint() { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_currentPoint); + return result; +} + +public void curveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2) { + OS.objc_msgSend(this.id, OS.sel_curveToPoint_controlPoint1_controlPoint2_, endPoint, controlPoint1, controlPoint2); +} + +public static float /*double*/ defaultFlatness() { + return (float)OS.objc_msgSend_fpret(OS.class_NSBezierPath, OS.sel_defaultFlatness); +} + +public int /*long*/ elementAtIndex(int /*long*/ index, int /*long*/ points) { + return OS.objc_msgSend(this.id, OS.sel_elementAtIndex_associatedPoints_, index, points); +} + +public int /*long*/ elementCount() { + return OS.objc_msgSend(this.id, OS.sel_elementCount); +} + +public void fill() { + OS.objc_msgSend(this.id, OS.sel_fill); +} + +public static void fillRect(NSRect rect) { + OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_fillRect_, rect); +} + +public boolean isEmpty() { + return OS.objc_msgSend_bool(this.id, OS.sel_isEmpty); +} + +public void lineToPoint(NSPoint point) { + OS.objc_msgSend(this.id, OS.sel_lineToPoint_, point); +} + +public void moveToPoint(NSPoint point) { + OS.objc_msgSend(this.id, OS.sel_moveToPoint_, point); +} + +public void removeAllPoints() { + OS.objc_msgSend(this.id, OS.sel_removeAllPoints); +} + +public void setClip() { + OS.objc_msgSend(this.id, OS.sel_setClip); +} + +public static void setDefaultFlatness(float /*double*/ flatness) { + OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_setDefaultFlatness_, flatness); +} + +public void setLineCapStyle(int /*long*/ lineCapStyle) { + OS.objc_msgSend(this.id, OS.sel_setLineCapStyle_, lineCapStyle); +} + +public void setLineDash(float[] /*double[]*/ pattern, int /*long*/ count, float /*double*/ phase) { + OS.objc_msgSend(this.id, OS.sel_setLineDash_count_phase_, pattern, count, phase); +} + +public void setLineJoinStyle(int /*long*/ lineJoinStyle) { + OS.objc_msgSend(this.id, OS.sel_setLineJoinStyle_, lineJoinStyle); +} + +public void setLineWidth(float /*double*/ lineWidth) { + OS.objc_msgSend(this.id, OS.sel_setLineWidth_, lineWidth); +} + +public void setMiterLimit(float /*double*/ miterLimit) { + OS.objc_msgSend(this.id, OS.sel_setMiterLimit_, miterLimit); +} + +public void setWindingRule(int /*long*/ windingRule) { + OS.objc_msgSend(this.id, OS.sel_setWindingRule_, windingRule); +} + +public void stroke() { + OS.objc_msgSend(this.id, OS.sel_stroke); +} + +public static void strokeRect(NSRect rect) { + OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_strokeRect_, rect); +} + +public void transformUsingAffineTransform(NSAffineTransform transform) { + OS.objc_msgSend(this.id, OS.sel_transformUsingAffineTransform_, transform != null ? transform.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java new file mode 100644 index 0000000000..82725ab086 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java @@ -0,0 +1,93 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSBitmapImageRep extends NSImageRep { + +public NSBitmapImageRep() { + super(); +} + +public NSBitmapImageRep(int /*long*/ id) { + super(id); +} + +public NSBitmapImageRep(id id) { + super(id); +} + +public NSData TIFFRepresentation() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_TIFFRepresentation); + return result != 0 ? new NSData(result) : null; +} + +public int /*long*/ bitmapData() { + return OS.objc_msgSend(this.id, OS.sel_bitmapData); +} + +public int /*long*/ bitmapFormat() { + return OS.objc_msgSend(this.id, OS.sel_bitmapFormat); +} + +public int /*long*/ bitsPerPixel() { + return OS.objc_msgSend(this.id, OS.sel_bitsPerPixel); +} + +public int /*long*/ bytesPerPlane() { + return OS.objc_msgSend(this.id, OS.sel_bytesPerPlane); +} + +public int /*long*/ bytesPerRow() { + return OS.objc_msgSend(this.id, OS.sel_bytesPerRow); +} + +public NSColor colorAtX(int /*long*/ x, int /*long*/ y) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorAtX_y_, x, y); + return result != 0 ? new NSColor(result) : null; +} + +public void getBitmapDataPlanes(int[] /*long[]*/ data) { + OS.objc_msgSend(this.id, OS.sel_getBitmapDataPlanes_, data); +} + +public static id imageRepWithData(NSData data) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSBitmapImageRep, OS.sel_imageRepWithData_, data != null ? data.id : 0); + return result != 0 ? new id(result) : null; +} + +public NSBitmapImageRep initWithBitmapDataPlanes(int /*long*/ planes, int /*long*/ width, int /*long*/ height, int /*long*/ bps, int /*long*/ spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, int /*long*/ bitmapFormat, int /*long*/ rBytes, int /*long*/ pBits) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel_, planes, width, height, bps, spp, alpha, isPlanar, colorSpaceName != null ? colorSpaceName.id : 0, bitmapFormat, rBytes, pBits); + return result == this.id ? this : (result != 0 ? new NSBitmapImageRep(result) : null); +} + +public NSBitmapImageRep initWithBitmapDataPlanes(int /*long*/ planes, int /*long*/ width, int /*long*/ height, int /*long*/ bps, int /*long*/ spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, int /*long*/ rBytes, int /*long*/ pBits) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel_, planes, width, height, bps, spp, alpha, isPlanar, colorSpaceName != null ? colorSpaceName.id : 0, rBytes, pBits); + return result == this.id ? this : (result != 0 ? new NSBitmapImageRep(result) : null); +} + +public NSBitmapImageRep initWithFocusedViewRect(NSRect rect) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFocusedViewRect_, rect); + return result == this.id ? this : (result != 0 ? new NSBitmapImageRep(result) : null); +} + +public boolean isPlanar() { + return OS.objc_msgSend_bool(this.id, OS.sel_isPlanar); +} + +public int /*long*/ numberOfPlanes() { + return OS.objc_msgSend(this.id, OS.sel_numberOfPlanes); +} + +public int /*long*/ samplesPerPixel() { + return OS.objc_msgSend(this.id, OS.sel_samplesPerPixel); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java new file mode 100644 index 0000000000..8888454883 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java @@ -0,0 +1,92 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSBox extends NSView { + +public NSBox() { + super(); +} + +public NSBox(int /*long*/ id) { + super(id); +} + +public NSBox(id id) { + super(id); +} + +public float /*double*/ borderWidth() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_borderWidth); +} + +public NSView contentView() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); + return result != 0 ? new NSView(result) : null; +} + +public NSSize contentViewMargins() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_contentViewMargins); + return result; +} + +public void setBorderType(int /*long*/ aType) { + OS.objc_msgSend(this.id, OS.sel_setBorderType_, aType); +} + +public void setBorderWidth(float /*double*/ borderWidth) { + OS.objc_msgSend(this.id, OS.sel_setBorderWidth_, borderWidth); +} + +public void setBoxType(int /*long*/ boxType) { + OS.objc_msgSend(this.id, OS.sel_setBoxType_, boxType); +} + +public void setContentView(NSView aView) { + OS.objc_msgSend(this.id, OS.sel_setContentView_, aView != null ? aView.id : 0); +} + +public void setContentViewMargins(NSSize offsetSize) { + OS.objc_msgSend(this.id, OS.sel_setContentViewMargins_, offsetSize); +} + +public void setFillColor(NSColor fillColor) { + OS.objc_msgSend(this.id, OS.sel_setFillColor_, fillColor != null ? fillColor.id : 0); +} + +public void setTitle(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); +} + +public void setTitleFont(NSFont fontObj) { + OS.objc_msgSend(this.id, OS.sel_setTitleFont_, fontObj != null ? fontObj.id : 0); +} + +public void setTitlePosition(int /*long*/ aPosition) { + OS.objc_msgSend(this.id, OS.sel_setTitlePosition_, aPosition); +} + +public void sizeToFit() { + OS.objc_msgSend(this.id, OS.sel_sizeToFit); +} + +public NSCell titleCell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_titleCell); + return result != 0 ? new NSCell(result) : null; +} + +public NSFont titleFont() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_titleFont); + return result != 0 ? new NSFont(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBrowserCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBrowserCell.java new file mode 100644 index 0000000000..e096e93612 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBrowserCell.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSBrowserCell extends NSCell { + +public NSBrowserCell() { + super(); +} + +public NSBrowserCell(int /*long*/ id) { + super(id); +} + +public NSBrowserCell(id id) { + super(id); +} + +public NSColor highlightColorInView(NSView controlView) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_highlightColorInView_, controlView != null ? controlView.id : 0); + return result != 0 ? new NSColor(result) : null; +} + +public void setLeaf(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setLeaf_, flag); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java new file mode 100644 index 0000000000..e65d4c541c --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSBundle extends NSObject { + +public NSBundle() { + super(); +} + +public NSBundle(int /*long*/ id) { + super(id); +} + +public NSBundle(id id) { + super(id); +} + +public static boolean loadNibFile(NSString fileName, NSDictionary context, int /*long*/ zone) { + return OS.objc_msgSend_bool(OS.class_NSBundle, OS.sel_loadNibFile_externalNameTable_withZone_, fileName != null ? fileName.id : 0, context != null ? context.id : 0, zone); +} + +public NSString bundleIdentifier() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bundleIdentifier); + return result != 0 ? new NSString(result) : null; +} + +public NSString bundlePath() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bundlePath); + return result != 0 ? new NSString(result) : null; +} + +public static NSBundle bundleWithIdentifier(NSString identifier) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithIdentifier_, identifier != null ? identifier.id : 0); + return result != 0 ? new NSBundle(result) : null; +} + +public static NSBundle bundleWithPath(NSString path) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithPath_, path != null ? path.id : 0); + return result != 0 ? new NSBundle(result) : null; +} + +public NSDictionary infoDictionary() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_infoDictionary); + return result != 0 ? new NSDictionary(result) : null; +} + +public static NSBundle mainBundle() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_mainBundle); + return result != 0 ? new NSBundle(result) : null; +} + +public id objectForInfoDictionaryKey(NSString key) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectForInfoDictionaryKey_, key != null ? key.id : 0); + return result != 0 ? new id(result) : null; +} + +public NSString pathForResource(NSString name, NSString ext) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pathForResource_ofType_, name != null ? name.id : 0, ext != null ? ext.id : 0); + return result != 0 ? new NSString(result) : null; +} + +public NSString resourcePath() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_resourcePath); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java new file mode 100644 index 0000000000..b26e093a93 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java @@ -0,0 +1,84 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSButton extends NSControl { + +public NSButton() { + super(); +} + +public NSButton(int /*long*/ id) { + super(id); +} + +public NSButton(id id) { + super(id); +} + +public NSAttributedString attributedTitle() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedTitle); + return result != 0 ? new NSAttributedString(result) : null; +} + +public void setAllowsMixedState(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAllowsMixedState_, flag); +} + +public void setAttributedTitle(NSAttributedString aString) { + OS.objc_msgSend(this.id, OS.sel_setAttributedTitle_, aString != null ? aString.id : 0); +} + +public void setBezelStyle(int /*long*/ bezelStyle) { + OS.objc_msgSend(this.id, OS.sel_setBezelStyle_, bezelStyle); +} + +public void setBordered(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setBordered_, flag); +} + +public void setButtonType(int /*long*/ aType) { + OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType); +} + +public void setImage(NSImage image) { + OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); +} + +public void setImagePosition(int /*long*/ aPosition) { + OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition); +} + +public void setKeyEquivalent(NSString charCode) { + OS.objc_msgSend(this.id, OS.sel_setKeyEquivalent_, charCode != null ? charCode.id : 0); +} + +public void setState(int /*long*/ value) { + OS.objc_msgSend(this.id, OS.sel_setState_, value); +} + +public void setTitle(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); +} + +public int /*long*/ state() { + return OS.objc_msgSend(this.id, OS.sel_state); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSButton, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSButton, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButtonCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButtonCell.java new file mode 100644 index 0000000000..c1798339ec --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButtonCell.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSButtonCell extends NSActionCell { + +public NSButtonCell() { + super(); +} + +public NSButtonCell(int /*long*/ id) { + super(id); +} + +public NSButtonCell(id id) { + super(id); +} + +public void drawImage(NSImage image, NSRect frame, NSView controlView) { + OS.objc_msgSend(this.id, OS.sel_drawImage_withFrame_inView_, image != null ? image.id : 0, frame, controlView != null ? controlView.id : 0); +} + +public void setBackgroundColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); +} + +public void setButtonType(int /*long*/ aType) { + OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType); +} + +public void setImagePosition(int /*long*/ aPosition) { + OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition); +} + +public NSString title() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_title); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCalendarDate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCalendarDate.java new file mode 100644 index 0000000000..3705512bcd --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCalendarDate.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSCalendarDate extends NSDate { + +public NSCalendarDate() { + super(); +} + +public NSCalendarDate(int /*long*/ id) { + super(id); +} + +public NSCalendarDate(id id) { + super(id); +} + +public static NSCalendarDate calendarDate() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_calendarDate); + return result != 0 ? new NSCalendarDate(result) : null; +} + +public static NSCalendarDate dateWithYear(int /*long*/ year, int /*long*/ month, int /*long*/ day, int /*long*/ hour, int /*long*/ minute, int /*long*/ second, NSTimeZone aTimeZone) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_dateWithYear_month_day_hour_minute_second_timeZone_, year, month, day, hour, minute, second, aTimeZone != null ? aTimeZone.id : 0); + return result != 0 ? new NSCalendarDate(result) : null; +} + +public int /*long*/ dayOfMonth() { + return OS.objc_msgSend(this.id, OS.sel_dayOfMonth); +} + +public int /*long*/ hourOfDay() { + return OS.objc_msgSend(this.id, OS.sel_hourOfDay); +} + +public int /*long*/ minuteOfHour() { + return OS.objc_msgSend(this.id, OS.sel_minuteOfHour); +} + +public int /*long*/ monthOfYear() { + return OS.objc_msgSend(this.id, OS.sel_monthOfYear); +} + +public int /*long*/ secondOfMinute() { + return OS.objc_msgSend(this.id, OS.sel_secondOfMinute); +} + +public NSTimeZone timeZone() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_timeZone); + return result != 0 ? new NSTimeZone(result) : null; +} + +public int /*long*/ yearOfCommonEra() { + return OS.objc_msgSend(this.id, OS.sel_yearOfCommonEra); +} + +public static NSDate dateWithTimeIntervalSinceNow(double secs) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_dateWithTimeIntervalSinceNow_, secs); + return result != 0 ? new NSCalendarDate(result) : null; +} + +public static NSDate distantFuture() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_distantFuture); + return result != 0 ? new NSCalendarDate(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCell.java new file mode 100644 index 0000000000..231448a14f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCell.java @@ -0,0 +1,172 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSCell extends NSObject { + +public NSCell() { + super(); +} + +public NSCell(int /*long*/ id) { + super(id); +} + +public NSCell(id id) { + super(id); +} + +public NSAttributedString attributedStringValue() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedStringValue); + return result != 0 ? new NSAttributedString(result) : null; +} + +public NSSize cellSize() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_cellSize); + return result; +} + +public NSSize cellSizeForBounds(NSRect aRect) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_cellSizeForBounds_, aRect); + return result; +} + +public void drawInteriorWithFrame(NSRect cellFrame, NSView controlView) { + OS.objc_msgSend(this.id, OS.sel_drawInteriorWithFrame_inView_, cellFrame, controlView != null ? controlView.id : 0); +} + +public void drawWithExpansionFrame(NSRect cellFrame, NSView view) { + OS.objc_msgSend(this.id, OS.sel_drawWithExpansionFrame_inView_, cellFrame, view != null ? view.id : 0); +} + +public NSRect drawingRectForBounds(NSRect theRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_drawingRectForBounds_, theRect); + return result; +} + +public NSRect expansionFrameWithFrame(NSRect cellFrame, NSView view) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_expansionFrameWithFrame_inView_, cellFrame, view != null ? view.id : 0); + return result; +} + +public NSFont font() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); + return result != 0 ? new NSFont(result) : null; +} + +public NSColor highlightColorWithFrame(NSRect cellFrame, NSView controlView) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_highlightColorWithFrame_inView_, cellFrame, controlView != null ? controlView.id : 0); + return result != 0 ? new NSColor(result) : null; +} + +public int /*long*/ hitTestForEvent(NSEvent event, NSRect cellFrame, NSView controlView) { + return OS.objc_msgSend(this.id, OS.sel_hitTestForEvent_inRect_ofView_, event != null ? event.id : 0, cellFrame, controlView != null ? controlView.id : 0); +} + +public NSImage image() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_image); + return result != 0 ? new NSImage(result) : null; +} + +public NSRect imageRectForBounds(NSRect theRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_imageRectForBounds_, theRect); + return result; +} + +public boolean isEnabled() { + return OS.objc_msgSend_bool(this.id, OS.sel_isEnabled); +} + +public boolean isHighlighted() { + return OS.objc_msgSend_bool(this.id, OS.sel_isHighlighted); +} + +public int /*long*/ nextState() { + return OS.objc_msgSend(this.id, OS.sel_nextState); +} + +public void setAlignment(int /*long*/ mode) { + OS.objc_msgSend(this.id, OS.sel_setAlignment_, mode); +} + +public void setAllowsMixedState(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAllowsMixedState_, flag); +} + +public void setAttributedStringValue(NSAttributedString obj) { + OS.objc_msgSend(this.id, OS.sel_setAttributedStringValue_, obj != null ? obj.id : 0); +} + +public void setControlSize(int /*long*/ size) { + OS.objc_msgSend(this.id, OS.sel_setControlSize_, size); +} + +public void setEnabled(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setEnabled_, flag); +} + +public void setFont(NSFont fontObj) { + OS.objc_msgSend(this.id, OS.sel_setFont_, fontObj != null ? fontObj.id : 0); +} + +public void setFormatter(NSFormatter newFormatter) { + OS.objc_msgSend(this.id, OS.sel_setFormatter_, newFormatter != null ? newFormatter.id : 0); +} + +public void setHighlighted(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setHighlighted_, flag); +} + +public void setImage(NSImage image) { + OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); +} + +public void setLineBreakMode(int /*long*/ mode) { + OS.objc_msgSend(this.id, OS.sel_setLineBreakMode_, mode); +} + +public void setObjectValue(id obj) { + OS.objc_msgSend(this.id, OS.sel_setObjectValue_, obj != null ? obj.id : 0); +} + +public void setScrollable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setScrollable_, flag); +} + +public void setTitle(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); +} + +public void setWraps(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setWraps_, flag); +} + +public NSString title() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_title); + return result != 0 ? new NSString(result) : null; +} + +public NSRect titleRectForBounds(NSRect theRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_titleRectForBounds_, theRect); + return result; +} + +public boolean wraps() { + return OS.objc_msgSend_bool(this.id, OS.sel_wraps); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCharacterSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCharacterSet.java new file mode 100644 index 0000000000..7d30d26535 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCharacterSet.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSCharacterSet extends NSObject { + +public NSCharacterSet() { + super(); +} + +public NSCharacterSet(int /*long*/ id) { + super(id); +} + +public NSCharacterSet(id id) { + super(id); +} + +public boolean characterIsMember(short aCharacter) { + return OS.objc_msgSend_bool(this.id, OS.sel_characterIsMember_, aCharacter); +} + +public static id decimalDigitCharacterSet() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCharacterSet, OS.sel_decimalDigitCharacterSet); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSClipView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSClipView.java new file mode 100644 index 0000000000..25cb35db9b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSClipView.java @@ -0,0 +1,52 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSClipView extends NSView { + +public NSClipView() { + super(); +} + +public NSClipView(int /*long*/ id) { + super(id); +} + +public NSClipView(id id) { + super(id); +} + +public boolean copiesOnScroll() { + return OS.objc_msgSend_bool(this.id, OS.sel_copiesOnScroll); +} + +public NSCursor documentCursor() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_documentCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public void scrollToPoint(NSPoint newOrigin) { + OS.objc_msgSend(this.id, OS.sel_scrollToPoint_, newOrigin); +} + +public void setCopiesOnScroll(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setCopiesOnScroll_, flag); +} + +public void setDocumentCursor(NSCursor anObj) { + OS.objc_msgSend(this.id, OS.sel_setDocumentCursor_, anObj != null ? anObj.id : 0); +} + +public void setDrawsBackground(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCoder.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCoder.java new file mode 100644 index 0000000000..2ea8804207 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCoder.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSCoder extends NSObject { + +public NSCoder() { + super(); +} + +public NSCoder(int /*long*/ id) { + super(id); +} + +public NSCoder(id id) { + super(id); +} + +public int systemVersion() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_systemVersion); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java new file mode 100644 index 0000000000..1e59ab92fd --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java @@ -0,0 +1,188 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSColor extends NSObject { + +public NSColor() { + super(); +} + +public NSColor(int /*long*/ id) { + super(id); +} + +public NSColor(id id) { + super(id); +} + +public float /*double*/ alphaComponent() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_alphaComponent); +} + +public static NSColor alternateSelectedControlColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_alternateSelectedControlColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor alternateSelectedControlTextColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_alternateSelectedControlTextColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor blackColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_blackColor); + return result != 0 ? new NSColor(result) : null; +} + +public float /*double*/ blueComponent() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_blueComponent); +} + +public static NSColor clearColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_clearColor); + return result != 0 ? new NSColor(result) : null; +} + +public NSColor colorUsingColorSpace(NSColorSpace space) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorUsingColorSpace_, space != null ? space.id : 0); + return result == this.id ? this : (result != 0 ? new NSColor(result) : null); +} + +public NSColor colorUsingColorSpaceName(NSString colorSpace) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorUsingColorSpaceName_, colorSpace != null ? colorSpace.id : 0); + return result == this.id ? this : (result != 0 ? new NSColor(result) : null); +} + +public static NSColor colorWithDeviceRed(float /*double*/ red, float /*double*/ green, float /*double*/ blue, float /*double*/ alpha) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_colorWithDeviceRed_green_blue_alpha_, red, green, blue, alpha); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor colorWithPatternImage(NSImage image) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_colorWithPatternImage_, image != null ? image.id : 0); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor controlBackgroundColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlBackgroundColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor controlDarkShadowColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlDarkShadowColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor controlHighlightColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlHighlightColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor controlLightHighlightColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlLightHighlightColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor controlShadowColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlShadowColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor controlTextColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlTextColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor disabledControlTextColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_disabledControlTextColor); + return result != 0 ? new NSColor(result) : null; +} + +public void getComponents(float[] /*double[]*/ components) { + OS.objc_msgSend(this.id, OS.sel_getComponents_, components); +} + +public float /*double*/ greenComponent() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_greenComponent); +} + +public int /*long*/ numberOfComponents() { + return OS.objc_msgSend(this.id, OS.sel_numberOfComponents); +} + +public float /*double*/ redComponent() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_redComponent); +} + +public static NSColor secondarySelectedControlColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_secondarySelectedControlColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor selectedControlColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedControlColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor selectedControlTextColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedControlTextColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor selectedTextBackgroundColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedTextBackgroundColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor selectedTextColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedTextColor); + return result != 0 ? new NSColor(result) : null; +} + +public void set() { + OS.objc_msgSend(this.id, OS.sel_set); +} + +public void setFill() { + OS.objc_msgSend(this.id, OS.sel_setFill); +} + +public void setStroke() { + OS.objc_msgSend(this.id, OS.sel_setStroke); +} + +public static NSColor textBackgroundColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_textBackgroundColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor textColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_textColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor windowBackgroundColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_windowBackgroundColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor windowFrameColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_windowFrameColor); + return result != 0 ? new NSColor(result) : null; +} + +public static NSColor windowFrameTextColor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_windowFrameTextColor); + return result != 0 ? new NSColor(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorPanel.java new file mode 100644 index 0000000000..f179cf4b34 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorPanel.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSColorPanel extends NSPanel { + +public NSColorPanel() { + super(); +} + +public NSColorPanel(int /*long*/ id) { + super(id); +} + +public NSColorPanel(id id) { + super(id); +} + +public NSColor color() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_color); + return result != 0 ? new NSColor(result) : null; +} + +public void setColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setColor_, color != null ? color.id : 0); +} + +public static NSColorPanel sharedColorPanel() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColorPanel, OS.sel_sharedColorPanel); + return result != 0 ? new NSColorPanel(result) : null; +} + +public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { + return (float)OS.objc_msgSend_fpret(OS.class_NSColorPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.java new file mode 100644 index 0000000000..804817965d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSColorSpace extends NSObject { + +public NSColorSpace() { + super(); +} + +public NSColorSpace(int /*long*/ id) { + super(id); +} + +public NSColorSpace(id id) { + super(id); +} + +public static NSColorSpace deviceRGBColorSpace() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSColorSpace, OS.sel_deviceRGBColorSpace); + return result != 0 ? new NSColorSpace(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBox.java new file mode 100644 index 0000000000..a0319aaa07 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBox.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSComboBox extends NSTextField { + +public NSComboBox() { + super(); +} + +public NSComboBox(int /*long*/ id) { + super(id); +} + +public NSComboBox(id id) { + super(id); +} + +public void addItemWithObjectValue(id object) { + OS.objc_msgSend(this.id, OS.sel_addItemWithObjectValue_, object != null ? object.id : 0); +} + +public void deselectItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_deselectItemAtIndex_, index); +} + +public int /*long*/ indexOfSelectedItem() { + return OS.objc_msgSend(this.id, OS.sel_indexOfSelectedItem); +} + +public void insertItemWithObjectValue(id object, int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_insertItemWithObjectValue_atIndex_, object != null ? object.id : 0, index); +} + +public id itemObjectValueAtIndex(int /*long*/ index) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemObjectValueAtIndex_, index); + return result != 0 ? new id(result) : null; +} + +public int /*long*/ numberOfItems() { + return OS.objc_msgSend(this.id, OS.sel_numberOfItems); +} + +public int /*long*/ numberOfVisibleItems() { + return OS.objc_msgSend(this.id, OS.sel_numberOfVisibleItems); +} + +public void removeAllItems() { + OS.objc_msgSend(this.id, OS.sel_removeAllItems); +} + +public void removeItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); +} + +public void selectItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_selectItemAtIndex_, index); +} + +public void setNumberOfVisibleItems(int /*long*/ visibleItems) { + OS.objc_msgSend(this.id, OS.sel_setNumberOfVisibleItems_, visibleItems); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSComboBox, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSComboBox, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBoxCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBoxCell.java new file mode 100644 index 0000000000..cb8b2ea8d1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBoxCell.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSComboBoxCell extends NSTextFieldCell { + +public NSComboBoxCell() { + super(); +} + +public NSComboBoxCell(int /*long*/ id) { + super(id); +} + +public NSComboBoxCell(id id) { + super(id); +} + +public NSArray objectValues() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectValues); + return result != 0 ? new NSArray(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSControl.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSControl.java new file mode 100644 index 0000000000..5807b0858f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSControl.java @@ -0,0 +1,120 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSControl extends NSView { + +public NSControl() { + super(); +} + +public NSControl(int /*long*/ id) { + super(id); +} + +public NSControl(id id) { + super(id); +} + +public boolean abortEditing() { + return OS.objc_msgSend_bool(this.id, OS.sel_abortEditing); +} + +public int /*long*/ action() { + return OS.objc_msgSend(this.id, OS.sel_action); +} + +public NSCell cell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cell); + return result != 0 ? new NSCell(result) : null; +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSControl, OS.sel_cellClass); +} + +public NSText currentEditor() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_currentEditor); + return result != 0 ? new NSText(result) : null; +} + +public double doubleValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_doubleValue); +} + +public NSFont font() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); + return result != 0 ? new NSFont(result) : null; +} + +public boolean isEnabled() { + return OS.objc_msgSend_bool(this.id, OS.sel_isEnabled); +} + +public boolean sendAction(int /*long*/ theAction, id theTarget) { + return OS.objc_msgSend_bool(this.id, OS.sel_sendAction_to_, theAction, theTarget != null ? theTarget.id : 0); +} + +public void setAction(int /*long*/ aSelector) { + OS.objc_msgSend(this.id, OS.sel_setAction_, aSelector); +} + +public void setAlignment(int /*long*/ mode) { + OS.objc_msgSend(this.id, OS.sel_setAlignment_, mode); +} + +public void setCell(NSCell aCell) { + OS.objc_msgSend(this.id, OS.sel_setCell_, aCell != null ? aCell.id : 0); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSControl, OS.sel_setCellClass_, factoryId); +} + +public void setDoubleValue(double aDouble) { + OS.objc_msgSend(this.id, OS.sel_setDoubleValue_, aDouble); +} + +public void setEnabled(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setEnabled_, flag); +} + +public void setFont(NSFont fontObj) { + OS.objc_msgSend(this.id, OS.sel_setFont_, fontObj != null ? fontObj.id : 0); +} + +public void setFormatter(NSFormatter newFormatter) { + OS.objc_msgSend(this.id, OS.sel_setFormatter_, newFormatter != null ? newFormatter.id : 0); +} + +public void setStringValue(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setStringValue_, aString != null ? aString.id : 0); +} + +public void setTarget(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setTarget_, anObject != null ? anObject.id : 0); +} + +public void sizeToFit() { + OS.objc_msgSend(this.id, OS.sel_sizeToFit); +} + +public NSString stringValue() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringValue); + return result != 0 ? new NSString(result) : null; +} + +public id target() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_target); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java new file mode 100644 index 0000000000..8dad7fa24b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java @@ -0,0 +1,107 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSCursor extends NSObject { + +public NSCursor() { + super(); +} + +public NSCursor(int /*long*/ id) { + super(id); +} + +public NSCursor(id id) { + super(id); +} + +public static NSCursor IBeamCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_IBeamCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor arrowCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_arrowCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor crosshairCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_crosshairCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor currentCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_currentCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public NSCursor initWithImage(NSImage newImage, NSPoint aPoint) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithImage_hotSpot_, newImage != null ? newImage.id : 0, aPoint); + return result == this.id ? this : (result != 0 ? new NSCursor(result) : null); +} + +public static NSCursor pointingHandCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_pointingHandCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static void pop() { + OS.objc_msgSend(OS.class_NSCursor, OS.sel_pop); +} + +public void push() { + OS.objc_msgSend(this.id, OS.sel_push); +} + +public static NSCursor resizeDownCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeDownCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor resizeLeftCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor resizeLeftRightCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftRightCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor resizeRightCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeRightCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor resizeUpCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public static NSCursor resizeUpDownCursor() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpDownCursor); + return result != 0 ? new NSCursor(result) : null; +} + +public void set() { + OS.objc_msgSend(this.id, OS.sel_set); +} + +public static void setHiddenUntilMouseMoves(boolean flag) { + OS.objc_msgSend(OS.class_NSCursor, OS.sel_setHiddenUntilMouseMoves_, flag); +} + +public void setOnMouseEntered(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setOnMouseEntered_, flag); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java new file mode 100644 index 0000000000..70d62a8bc4 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSData extends NSObject { + +public NSData() { + super(); +} + +public NSData(int /*long*/ id) { + super(id); +} + +public NSData(id id) { + super(id); +} + +public int /*long*/ bytes() { + return OS.objc_msgSend(this.id, OS.sel_bytes); +} + +public static NSData dataWithBytes(byte[] bytes, int /*long*/ length) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSData, OS.sel_dataWithBytes_length_, bytes, length); + return result != 0 ? new NSData(result) : null; +} + +public void getBytes(byte[] buffer) { + OS.objc_msgSend(this.id, OS.sel_getBytes_, buffer); +} + +public void getBytes(int /*long*/ buffer, int /*long*/ length) { + OS.objc_msgSend(this.id, OS.sel_getBytes_length_, buffer, length); +} + +public int /*long*/ length() { + return OS.objc_msgSend(this.id, OS.sel_length); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDate.java new file mode 100644 index 0000000000..f864e5c8e9 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDate.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSDate extends NSObject { + +public NSDate() { + super(); +} + +public NSDate(int /*long*/ id) { + super(id); +} + +public NSDate(id id) { + super(id); +} + +public NSCalendarDate dateWithCalendarFormat(NSString format, NSTimeZone aTimeZone) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dateWithCalendarFormat_timeZone_, format != null ? format.id : 0, aTimeZone != null ? aTimeZone.id : 0); + return result != 0 ? new NSCalendarDate(result) : null; +} + +public static NSDate dateWithTimeIntervalSinceNow(double secs) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSDate, OS.sel_dateWithTimeIntervalSinceNow_, secs); + return result != 0 ? new NSDate(result) : null; +} + +public static NSDate distantFuture() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSDate, OS.sel_distantFuture); + return result != 0 ? new NSDate(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.java new file mode 100644 index 0000000000..e64ffb4c52 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.java @@ -0,0 +1,64 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSDatePicker extends NSControl { + +public NSDatePicker() { + super(); +} + +public NSDatePicker(int /*long*/ id) { + super(id); +} + +public NSDatePicker(id id) { + super(id); +} + +public NSDate dateValue() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dateValue); + return result != 0 ? new NSDate(result) : null; +} + +public void setBackgroundColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); +} + +public void setDatePickerElements(int /*long*/ elementFlags) { + OS.objc_msgSend(this.id, OS.sel_setDatePickerElements_, elementFlags); +} + +public void setDatePickerStyle(int /*long*/ newStyle) { + OS.objc_msgSend(this.id, OS.sel_setDatePickerStyle_, newStyle); +} + +public void setDateValue(NSDate newStartDate) { + OS.objc_msgSend(this.id, OS.sel_setDateValue_, newStartDate != null ? newStartDate.id : 0); +} + +public void setDrawsBackground(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); +} + +public void setTextColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDictionary.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDictionary.java new file mode 100644 index 0000000000..472e7a425d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDictionary.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSDictionary extends NSObject { + +public NSDictionary() { + super(); +} + +public NSDictionary(int /*long*/ id) { + super(id); +} + +public NSDictionary(id id) { + super(id); +} + +public NSArray allKeys() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_allKeys); + return result != 0 ? new NSArray(result) : null; +} + +public int /*long*/ count() { + return OS.objc_msgSend(this.id, OS.sel_count); +} + +public static NSDictionary dictionaryWithObject(id object, id key) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSDictionary, OS.sel_dictionaryWithObject_forKey_, object != null ? object.id : 0, key != null ? key.id : 0); + return result != 0 ? new NSDictionary(result) : null; +} + +public NSEnumerator objectEnumerator() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectEnumerator); + return result != 0 ? new NSEnumerator(result) : null; +} + +public id objectForKey(id aKey) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectForKey_, aKey != null ? aKey.id : 0); + return result != 0 ? new id(result) : null; +} + +public id valueForKey(NSString key) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_valueForKey_, key != null ? key.id : 0); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDirectoryEnumerator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDirectoryEnumerator.java new file mode 100644 index 0000000000..29605cca2f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDirectoryEnumerator.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSDirectoryEnumerator extends NSEnumerator { + +public NSDirectoryEnumerator() { + super(); +} + +public NSDirectoryEnumerator(int /*long*/ id) { + super(id); +} + +public NSDirectoryEnumerator(id id) { + super(id); +} + +public void skipDescendents() { + OS.objc_msgSend(this.id, OS.sel_skipDescendents); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEnumerator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEnumerator.java new file mode 100644 index 0000000000..518631b5d2 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEnumerator.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSEnumerator extends NSObject { + +public NSEnumerator() { + super(); +} + +public NSEnumerator(int /*long*/ id) { + super(id); +} + +public NSEnumerator(id id) { + super(id); +} + +public id nextObject() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_nextObject); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java new file mode 100644 index 0000000000..5799811802 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSError extends NSObject { + +public NSError() { + super(); +} + +public NSError(int /*long*/ id) { + super(id); +} + +public NSError(id id) { + super(id); +} + +public int /*long*/ code() { + return OS.objc_msgSend(this.id, OS.sel_code); +} + +public NSString localizedDescription() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_localizedDescription); + return result != 0 ? new NSString(result) : null; +} + +public NSDictionary userInfo() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); + return result != 0 ? new NSDictionary(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEvent.java new file mode 100644 index 0000000000..87921bd505 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEvent.java @@ -0,0 +1,100 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSEvent extends NSObject { + +public NSEvent() { + super(); +} + +public NSEvent(int /*long*/ id) { + super(id); +} + +public NSEvent(id id) { + super(id); +} + +public int /*long*/ CGEvent() { + return OS.objc_msgSend(this.id, OS.sel_CGEvent); +} + +public int /*long*/ buttonNumber() { + return OS.objc_msgSend(this.id, OS.sel_buttonNumber); +} + +public NSString characters() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_characters); + return result != 0 ? new NSString(result) : null; +} + +public NSString charactersIgnoringModifiers() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_charactersIgnoringModifiers); + return result != 0 ? new NSString(result) : null; +} + +public int /*long*/ clickCount() { + return OS.objc_msgSend(this.id, OS.sel_clickCount); +} + +public float /*double*/ deltaX() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_deltaX); +} + +public float /*double*/ deltaY() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_deltaY); +} + +public static NSEvent enterExitEventWithType(int /*long*/ type, NSPoint location, int /*long*/ flags, double time, int /*long*/ wNum, NSGraphicsContext context, int /*long*/ eNum, int /*long*/ tNum, int /*long*/ data) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSEvent, OS.sel_enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData_, type, location, flags, time, wNum, context != null ? context.id : 0, eNum, tNum, data); + return result != 0 ? new NSEvent(result) : null; +} + +public short keyCode() { + return (short)OS.objc_msgSend(this.id, OS.sel_keyCode); +} + +public NSPoint locationInWindow() { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_locationInWindow); + return result; +} + +public int /*long*/ modifierFlags() { + return OS.objc_msgSend(this.id, OS.sel_modifierFlags); +} + +public static NSPoint mouseLocation() { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, OS.class_NSEvent, OS.sel_mouseLocation); + return result; +} + +public static NSEvent otherEventWithType(int /*long*/ type, NSPoint location, int /*long*/ flags, double time, int /*long*/ wNum, NSGraphicsContext context, short subtype, int /*long*/ d1, int /*long*/ d2) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSEvent, OS.sel_otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2_, type, location, flags, time, wNum, context != null ? context.id : 0, subtype, d1, d2); + return result != 0 ? new NSEvent(result) : null; +} + +public double timestamp() { + return OS.objc_msgSend_fpret(this.id, OS.sel_timestamp); +} + +public int /*long*/ type() { + return OS.objc_msgSend(this.id, OS.sel_type); +} + +public NSWindow window() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_window); + return result != 0 ? new NSWindow(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java new file mode 100644 index 0000000000..7800921b59 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java @@ -0,0 +1,49 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSFileManager extends NSObject { + +public NSFileManager() { + super(); +} + +public NSFileManager(int /*long*/ id) { + super(id); +} + +public NSFileManager(id id) { + super(id); +} + +public boolean createFileAtPath(NSString path, NSData data, NSDictionary attr) { + return OS.objc_msgSend_bool(this.id, OS.sel_createFileAtPath_contents_attributes_, path != null ? path.id : 0, data != null ? data.id : 0, attr != null ? attr.id : 0); +} + +public static NSFileManager defaultManager() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSFileManager, OS.sel_defaultManager); + return result != 0 ? new NSFileManager(result) : null; +} + +public NSDirectoryEnumerator enumeratorAtPath(NSString path) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_enumeratorAtPath_, path != null ? path.id : 0); + return result != 0 ? new NSDirectoryEnumerator(result) : null; +} + +public boolean fileExistsAtPath(NSString path, int /*long*/ isDirectory) { + return OS.objc_msgSend_bool(this.id, OS.sel_fileExistsAtPath_isDirectory_, path != null ? path.id : 0, isDirectory); +} + +public boolean removeItemAtPath(NSString path, int /*long*/ error) { + return OS.objc_msgSend_bool(this.id, OS.sel_removeItemAtPath_error_, path != null ? path.id : 0, error); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileWrapper.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileWrapper.java new file mode 100644 index 0000000000..c5971cb3ff --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileWrapper.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSFileWrapper extends NSObject { + +public NSFileWrapper() { + super(); +} + +public NSFileWrapper(int /*long*/ id) { + super(id); +} + +public NSFileWrapper(id id) { + super(id); +} + +public void setIcon(NSImage icon) { + OS.objc_msgSend(this.id, OS.sel_setIcon_, icon != null ? icon.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFont.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFont.java new file mode 100644 index 0000000000..1b265d96f1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFont.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSFont extends NSObject { + +public NSFont() { + super(); +} + +public NSFont(int /*long*/ id) { + super(id); +} + +public NSFont(id id) { + super(id); +} + +public float /*double*/ ascender() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_ascender); +} + +public static NSFont controlContentFontOfSize(float /*double*/ fontSize) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSFont, OS.sel_controlContentFontOfSize_, fontSize); + return result != 0 ? new NSFont(result) : null; +} + +public float /*double*/ descender() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_descender); +} + +public NSString familyName() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_familyName); + return result != 0 ? new NSString(result) : null; +} + +public NSString fontName() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fontName); + return result != 0 ? new NSString(result) : null; +} + +public static NSFont fontWithName(NSString fontName, float /*double*/ fontSize) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSFont, OS.sel_fontWithName_size_, fontName != null ? fontName.id : 0, fontSize); + return result != 0 ? new NSFont(result) : null; +} + +public float /*double*/ leading() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_leading); +} + +public float /*double*/ pointSize() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_pointSize); +} + +public static float /*double*/ smallSystemFontSize() { + return (float)OS.objc_msgSend_fpret(OS.class_NSFont, OS.sel_smallSystemFontSize); +} + +public static NSFont systemFontOfSize(float /*double*/ fontSize) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSFont, OS.sel_systemFontOfSize_, fontSize); + return result != 0 ? new NSFont(result) : null; +} + +public static float /*double*/ systemFontSize() { + return (float)OS.objc_msgSend_fpret(OS.class_NSFont, OS.sel_systemFontSize); +} + +public static float /*double*/ systemFontSizeForControlSize(int /*long*/ controlSize) { + return (float)OS.objc_msgSend_fpret(OS.class_NSFont, OS.sel_systemFontSizeForControlSize_, controlSize); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontManager.java new file mode 100644 index 0000000000..0051f13796 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontManager.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSFontManager extends NSObject { + +public NSFontManager() { + super(); +} + +public NSFontManager(int /*long*/ id) { + super(id); +} + +public NSFontManager(id id) { + super(id); +} + +public NSArray availableFontFamilies() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableFontFamilies); + return result != 0 ? new NSArray(result) : null; +} + +public NSArray availableFonts() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableFonts); + return result != 0 ? new NSArray(result) : null; +} + +public NSArray availableMembersOfFontFamily(NSString fam) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableMembersOfFontFamily_, fam != null ? fam.id : 0); + return result != 0 ? new NSArray(result) : null; +} + +public NSFont convertFont(NSFont fontObj, int /*long*/ trait) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_convertFont_toHaveTrait_, fontObj != null ? fontObj.id : 0, trait); + return result != 0 ? new NSFont(result) : null; +} + +public NSFont fontWithFamily(NSString family, int /*long*/ traits, int /*long*/ weight, float /*double*/ size) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fontWithFamily_traits_weight_size_, family != null ? family.id : 0, traits, weight, size); + return result != 0 ? new NSFont(result) : null; +} + +public static NSFontManager sharedFontManager() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSFontManager, OS.sel_sharedFontManager); + return result != 0 ? new NSFontManager(result) : null; +} + +public int /*long*/ traitsOfFont(NSFont fontObj) { + return OS.objc_msgSend(this.id, OS.sel_traitsOfFont_, fontObj != null ? fontObj.id : 0); +} + +public int /*long*/ weightOfFont(NSFont fontObj) { + return OS.objc_msgSend(this.id, OS.sel_weightOfFont_, fontObj != null ? fontObj.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontPanel.java new file mode 100644 index 0000000000..f96c059cd1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontPanel.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSFontPanel extends NSPanel { + +public NSFontPanel() { + super(); +} + +public NSFontPanel(int /*long*/ id) { + super(id); +} + +public NSFontPanel(id id) { + super(id); +} + +public NSFont panelConvertFont(NSFont fontObj) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_panelConvertFont_, fontObj != null ? fontObj.id : 0); + return result != 0 ? new NSFont(result) : null; +} + +public void setPanelFont(NSFont fontObj, boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setPanelFont_isMultiple_, fontObj != null ? fontObj.id : 0, flag); +} + +public static NSFontPanel sharedFontPanel() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSFontPanel, OS.sel_sharedFontPanel); + return result != 0 ? new NSFontPanel(result) : null; +} + +public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { + return (float)OS.objc_msgSend_fpret(OS.class_NSFontPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFormatter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFormatter.java new file mode 100644 index 0000000000..92ee13e50a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFormatter.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSFormatter extends NSObject { + +public NSFormatter() { + super(); +} + +public NSFormatter(int /*long*/ id) { + super(id); +} + +public NSFormatter(id id) { + super(id); +} + +public NSString stringForObjectValue(id obj) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringForObjectValue_, obj != null ? obj.id : 0); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGradient.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGradient.java new file mode 100644 index 0000000000..f489131a52 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGradient.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSGradient extends NSObject { + +public NSGradient() { + super(); +} + +public NSGradient(int /*long*/ id) { + super(id); +} + +public NSGradient(id id) { + super(id); +} + +public void drawFromPoint(NSPoint startingPoint, NSPoint endingPoint, int /*long*/ options) { + OS.objc_msgSend(this.id, OS.sel_drawFromPoint_toPoint_options_, startingPoint, endingPoint, options); +} + +public void drawInRect(NSRect rect, float /*double*/ angle) { + OS.objc_msgSend(this.id, OS.sel_drawInRect_angle_, rect, angle); +} + +public NSGradient initWithStartingColor(NSColor startingColor, NSColor endingColor) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithStartingColor_endingColor_, startingColor != null ? startingColor.id : 0, endingColor != null ? endingColor.id : 0); + return result == this.id ? this : (result != 0 ? new NSGradient(result) : null); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java new file mode 100644 index 0000000000..30b9c466bc --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java @@ -0,0 +1,103 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSGraphicsContext extends NSObject { + +public NSGraphicsContext() { + super(); +} + +public NSGraphicsContext(int /*long*/ id) { + super(id); +} + +public NSGraphicsContext(id id) { + super(id); +} + +public static NSGraphicsContext currentContext() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_currentContext); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public void flushGraphics() { + OS.objc_msgSend(this.id, OS.sel_flushGraphics); +} + +public static NSGraphicsContext graphicsContextWithBitmapImageRep(NSBitmapImageRep bitmapRep) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_graphicsContextWithBitmapImageRep_, bitmapRep != null ? bitmapRep.id : 0); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public static NSGraphicsContext graphicsContextWithGraphicsPort(int /*long*/ graphicsPort, boolean initialFlippedState) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_graphicsContextWithGraphicsPort_flipped_, graphicsPort, initialFlippedState); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public static NSGraphicsContext graphicsContextWithWindow(NSWindow window) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_graphicsContextWithWindow_, window != null ? window.id : 0); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public int /*long*/ graphicsPort() { + return OS.objc_msgSend(this.id, OS.sel_graphicsPort); +} + +public int /*long*/ imageInterpolation() { + return OS.objc_msgSend(this.id, OS.sel_imageInterpolation); +} + +public boolean isDrawingToScreen() { + return OS.objc_msgSend_bool(this.id, OS.sel_isDrawingToScreen); +} + +public void restoreGraphicsState() { + OS.objc_msgSend(this.id, OS.sel_restoreGraphicsState); +} + +public static void static_restoreGraphicsState() { + OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_restoreGraphicsState); +} + +public void saveGraphicsState() { + OS.objc_msgSend(this.id, OS.sel_saveGraphicsState); +} + +public static void static_saveGraphicsState() { + OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_saveGraphicsState); +} + +public void setCompositingOperation(int /*long*/ operation) { + OS.objc_msgSend(this.id, OS.sel_setCompositingOperation_, operation); +} + +public static void setCurrentContext(NSGraphicsContext context) { + OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_setCurrentContext_, context != null ? context.id : 0); +} + +public void setImageInterpolation(int /*long*/ interpolation) { + OS.objc_msgSend(this.id, OS.sel_setImageInterpolation_, interpolation); +} + +public void setPatternPhase(NSPoint phase) { + OS.objc_msgSend(this.id, OS.sel_setPatternPhase_, phase); +} + +public void setShouldAntialias(boolean antialias) { + OS.objc_msgSend(this.id, OS.sel_setShouldAntialias_, antialias); +} + +public boolean shouldAntialias() { + return OS.objc_msgSend_bool(this.id, OS.sel_shouldAntialias); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java new file mode 100644 index 0000000000..e29ea217e3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java @@ -0,0 +1,46 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSHTTPCookie extends NSObject { + +public NSHTTPCookie() { + super(); +} + +public NSHTTPCookie(int /*long*/ id) { + super(id); +} + +public NSHTTPCookie(id id) { + super(id); +} + +public static NSArray cookiesWithResponseHeaderFields(NSDictionary headerFields, NSURL URL) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSHTTPCookie, OS.sel_cookiesWithResponseHeaderFields_forURL_, headerFields != null ? headerFields.id : 0, URL != null ? URL.id : 0); + return result != 0 ? new NSArray(result) : null; +} + +public boolean isSessionOnly() { + return OS.objc_msgSend_bool(this.id, OS.sel_isSessionOnly); +} + +public NSString name() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_name); + return result != 0 ? new NSString(result) : null; +} + +public NSString value() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_value); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookieStorage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookieStorage.java new file mode 100644 index 0000000000..9d027f0291 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookieStorage.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSHTTPCookieStorage extends NSObject { + +public NSHTTPCookieStorage() { + super(); +} + +public NSHTTPCookieStorage(int /*long*/ id) { + super(id); +} + +public NSHTTPCookieStorage(id id) { + super(id); +} + +public NSArray cookies() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cookies); + return result != 0 ? new NSArray(result) : null; +} + +public NSArray cookiesForURL(NSURL URL) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cookiesForURL_, URL != null ? URL.id : 0); + return result != 0 ? new NSArray(result) : null; +} + +public void deleteCookie(NSHTTPCookie cookie) { + OS.objc_msgSend(this.id, OS.sel_deleteCookie_, cookie != null ? cookie.id : 0); +} + +public void setCookie(NSHTTPCookie cookie) { + OS.objc_msgSend(this.id, OS.sel_setCookie_, cookie != null ? cookie.id : 0); +} + +public static NSHTTPCookieStorage sharedHTTPCookieStorage() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSHTTPCookieStorage, OS.sel_sharedHTTPCookieStorage); + return result != 0 ? new NSHTTPCookieStorage(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.java new file mode 100644 index 0000000000..af08776ec6 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.java @@ -0,0 +1,105 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSImage extends NSObject { + +public NSImage() { + super(); +} + +public NSImage(int /*long*/ id) { + super(id); +} + +public NSImage(id id) { + super(id); +} + +public NSData TIFFRepresentation() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_TIFFRepresentation); + return result != 0 ? new NSData(result) : null; +} + +public void addRepresentation(NSImageRep imageRep) { + OS.objc_msgSend(this.id, OS.sel_addRepresentation_, imageRep != null ? imageRep.id : 0); +} + +public NSImageRep bestRepresentationForDevice(NSDictionary deviceDescription) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bestRepresentationForDevice_, deviceDescription != null ? deviceDescription.id : 0); + return result != 0 ? new NSImageRep(result) : null; +} + +public void drawAtPoint(NSPoint point, NSRect fromRect, int /*long*/ op, float /*double*/ delta) { + OS.objc_msgSend(this.id, OS.sel_drawAtPoint_fromRect_operation_fraction_, point, fromRect, op, delta); +} + +public void drawInRect(NSRect rect, NSRect fromRect, int /*long*/ op, float /*double*/ delta) { + OS.objc_msgSend(this.id, OS.sel_drawInRect_fromRect_operation_fraction_, rect, fromRect, op, delta); +} + +public static NSImage imageNamed(NSString name) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSImage, OS.sel_imageNamed_, name != null ? name.id : 0); + return result != 0 ? new NSImage(result) : null; +} + +public NSImage initByReferencingFile(NSString fileName) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initByReferencingFile_, fileName != null ? fileName.id : 0); + return result == this.id ? this : (result != 0 ? new NSImage(result) : null); +} + +public NSImage initWithContentsOfFile(NSString fileName) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContentsOfFile_, fileName != null ? fileName.id : 0); + return result == this.id ? this : (result != 0 ? new NSImage(result) : null); +} + +public id initWithData(NSData data) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithData_, data != null ? data.id : 0); + return result != 0 ? new id(result) : null; +} + +public NSImage initWithSize(NSSize aSize) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithSize_, aSize); + return result == this.id ? this : (result != 0 ? new NSImage(result) : null); +} + +public void lockFocus() { + OS.objc_msgSend(this.id, OS.sel_lockFocus); +} + +public void removeRepresentation(NSImageRep imageRep) { + OS.objc_msgSend(this.id, OS.sel_removeRepresentation_, imageRep != null ? imageRep.id : 0); +} + +public NSArray representations() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_representations); + return result != 0 ? new NSArray(result) : null; +} + +public void setCacheMode(int /*long*/ mode) { + OS.objc_msgSend(this.id, OS.sel_setCacheMode_, mode); +} + +public void setSize(NSSize aSize) { + OS.objc_msgSend(this.id, OS.sel_setSize_, aSize); +} + +public NSSize size() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_size); + return result; +} + +public void unlockFocus() { + OS.objc_msgSend(this.id, OS.sel_unlockFocus); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageRep.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageRep.java new file mode 100644 index 0000000000..32918e8378 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageRep.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSImageRep extends NSObject { + +public NSImageRep() { + super(); +} + +public NSImageRep(int /*long*/ id) { + super(id); +} + +public NSImageRep(id id) { + super(id); +} + +public int /*long*/ bitsPerSample() { + return OS.objc_msgSend(this.id, OS.sel_bitsPerSample); +} + +public NSString colorSpaceName() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorSpaceName); + return result != 0 ? new NSString(result) : null; +} + +public boolean drawInRect(NSRect rect) { + return OS.objc_msgSend_bool(this.id, OS.sel_drawInRect_, rect); +} + +public boolean hasAlpha() { + return OS.objc_msgSend_bool(this.id, OS.sel_hasAlpha); +} + +public int /*long*/ pixelsHigh() { + return OS.objc_msgSend(this.id, OS.sel_pixelsHigh); +} + +public int /*long*/ pixelsWide() { + return OS.objc_msgSend(this.id, OS.sel_pixelsWide); +} + +public void setAlpha(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAlpha_, flag); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageView.java new file mode 100644 index 0000000000..0e64831882 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageView.java @@ -0,0 +1,52 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSImageView extends NSControl { + +public NSImageView() { + super(); +} + +public NSImageView(int /*long*/ id) { + super(id); +} + +public NSImageView(id id) { + super(id); +} + +public NSImage image() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_image); + return result != 0 ? new NSImage(result) : null; +} + +public void setImage(NSImage newImage) { + OS.objc_msgSend(this.id, OS.sel_setImage_, newImage != null ? newImage.id : 0); +} + +public void setImageAlignment(int /*long*/ newAlign) { + OS.objc_msgSend(this.id, OS.sel_setImageAlignment_, newAlign); +} + +public void setImageScaling(int /*long*/ newScaling) { + OS.objc_msgSend(this.id, OS.sel_setImageScaling_, newScaling); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSImageView, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSImageView, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java new file mode 100644 index 0000000000..a2b132fe7f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java @@ -0,0 +1,53 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSIndexSet extends NSObject { + +public NSIndexSet() { + super(); +} + +public NSIndexSet(int /*long*/ id) { + super(id); +} + +public NSIndexSet(id id) { + super(id); +} + +public boolean containsIndex(int /*long*/ value) { + return OS.objc_msgSend_bool(this.id, OS.sel_containsIndex_, value); +} + +public int /*long*/ count() { + return OS.objc_msgSend(this.id, OS.sel_count); +} + +public int /*long*/ firstIndex() { + return OS.objc_msgSend(this.id, OS.sel_firstIndex); +} + +public int /*long*/ getIndexes(int[] /*long[]*/ indexBuffer, int /*long*/ bufferSize, int /*long*/ range) { + return OS.objc_msgSend(this.id, OS.sel_getIndexes_maxCount_inIndexRange_, indexBuffer, bufferSize, range); +} + +public NSIndexSet initWithIndex(int /*long*/ value) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIndex_, value); + return result == this.id ? this : (result != 0 ? new NSIndexSet(result) : null); +} + +public NSIndexSet initWithIndexesInRange(NSRange range) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIndexesInRange_, range); + return result == this.id ? this : (result != 0 ? new NSIndexSet(result) : null); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSInputManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSInputManager.java new file mode 100644 index 0000000000..606bf4e86c --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSInputManager.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSInputManager extends NSObject { + +public NSInputManager() { + super(); +} + +public NSInputManager(int /*long*/ id) { + super(id); +} + +public NSInputManager(id id) { + super(id); +} + +public static NSInputManager currentInputManager() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSInputManager, OS.sel_currentInputManager); + return result != 0 ? new NSInputManager(result) : null; +} + +public boolean handleMouseEvent(NSEvent theMouseEvent) { + return OS.objc_msgSend_bool(this.id, OS.sel_handleMouseEvent_, theMouseEvent != null ? theMouseEvent.id : 0); +} + +public boolean wantsToHandleMouseEvents() { + return OS.objc_msgSend_bool(this.id, OS.sel_wantsToHandleMouseEvents); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedArchiver.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedArchiver.java new file mode 100644 index 0000000000..68d2a12e5d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedArchiver.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSKeyedArchiver extends NSCoder { + +public NSKeyedArchiver() { + super(); +} + +public NSKeyedArchiver(int /*long*/ id) { + super(id); +} + +public NSKeyedArchiver(id id) { + super(id); +} + +public static NSData archivedDataWithRootObject(id rootObject) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSKeyedArchiver, OS.sel_archivedDataWithRootObject_, rootObject != null ? rootObject.id : 0); + return result != 0 ? new NSData(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedUnarchiver.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedUnarchiver.java new file mode 100644 index 0000000000..a300dac217 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedUnarchiver.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSKeyedUnarchiver extends NSCoder { + +public NSKeyedUnarchiver() { + super(); +} + +public NSKeyedUnarchiver(int /*long*/ id) { + super(id); +} + +public NSKeyedUnarchiver(id id) { + super(id); +} + +public static id unarchiveObjectWithData(NSData data) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSKeyedUnarchiver, OS.sel_unarchiveObjectWithData_, data != null ? data.id : 0); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSLayoutManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSLayoutManager.java new file mode 100644 index 0000000000..031646e38a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSLayoutManager.java @@ -0,0 +1,142 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSLayoutManager extends NSObject { + +public NSLayoutManager() { + super(); +} + +public NSLayoutManager(int /*long*/ id) { + super(id); +} + +public NSLayoutManager(id id) { + super(id); +} + +public void addTemporaryAttribute(NSString attrName, id value, NSRange charRange) { + OS.objc_msgSend(this.id, OS.sel_addTemporaryAttribute_value_forCharacterRange_, attrName != null ? attrName.id : 0, value != null ? value.id : 0, charRange); +} + +public void addTextContainer(NSTextContainer container) { + OS.objc_msgSend(this.id, OS.sel_addTextContainer_, container != null ? container.id : 0); +} + +public NSRect boundingRectForGlyphRange(NSRange glyphRange, NSTextContainer container) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_boundingRectForGlyphRange_inTextContainer_, glyphRange, container != null ? container.id : 0); + return result; +} + +public int /*long*/ characterIndexForGlyphAtIndex(int /*long*/ glyphIndex) { + return OS.objc_msgSend(this.id, OS.sel_characterIndexForGlyphAtIndex_, glyphIndex); +} + +public float /*double*/ defaultBaselineOffsetForFont(NSFont theFont) { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_defaultBaselineOffsetForFont_, theFont != null ? theFont.id : 0); +} + +public float /*double*/ defaultLineHeightForFont(NSFont theFont) { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_defaultLineHeightForFont_, theFont != null ? theFont.id : 0); +} + +public void drawBackgroundForGlyphRange(NSRange glyphsToShow, NSPoint origin) { + OS.objc_msgSend(this.id, OS.sel_drawBackgroundForGlyphRange_atPoint_, glyphsToShow, origin); +} + +public void drawGlyphsForGlyphRange(NSRange glyphsToShow, NSPoint origin) { + OS.objc_msgSend(this.id, OS.sel_drawGlyphsForGlyphRange_atPoint_, glyphsToShow, origin); +} + +public int /*long*/ getGlyphs(int /*long*/ glyphArray, NSRange glyphRange) { + return OS.objc_msgSend(this.id, OS.sel_getGlyphs_range_, glyphArray, glyphRange); +} + +public int /*long*/ getGlyphsInRange(NSRange glyphRange, int /*long*/ glyphBuffer, int /*long*/ charIndexBuffer, int /*long*/ inscribeBuffer, int /*long*/ elasticBuffer, int /*long*/ bidiLevelBuffer) { + return OS.objc_msgSend(this.id, OS.sel_getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels_, glyphRange, glyphBuffer, charIndexBuffer, inscribeBuffer, elasticBuffer, bidiLevelBuffer); +} + +public int /*long*/ glyphIndexForCharacterAtIndex(int /*long*/ charIndex) { + return OS.objc_msgSend(this.id, OS.sel_glyphIndexForCharacterAtIndex_, charIndex); +} + +public int /*long*/ glyphIndexForPoint(NSPoint point, NSTextContainer container, float[] /*double[]*/ partialFraction) { + return OS.objc_msgSend(this.id, OS.sel_glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph_, point, container != null ? container.id : 0, partialFraction); +} + +public NSRange glyphRangeForCharacterRange(NSRange charRange, int /*long*/ actualCharRange) { + NSRange result = new NSRange(); + OS.objc_msgSend_stret(result, this.id, OS.sel_glyphRangeForCharacterRange_actualCharacterRange_, charRange, actualCharRange); + return result; +} + +public NSRange glyphRangeForTextContainer(NSTextContainer container) { + NSRange result = new NSRange(); + OS.objc_msgSend_stret(result, this.id, OS.sel_glyphRangeForTextContainer_, container != null ? container.id : 0); + return result; +} + +public NSRect lineFragmentUsedRectForGlyphAtIndex(int /*long*/ glyphIndex, int /*long*/ effectiveGlyphRange) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_, glyphIndex, effectiveGlyphRange); + return result; +} + +public NSRect lineFragmentUsedRectForGlyphAtIndex(int /*long*/ glyphIndex, int /*long*/ effectiveGlyphRange, boolean flag) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_withoutAdditionalLayout_, glyphIndex, effectiveGlyphRange, flag); + return result; +} + +public NSPoint locationForGlyphAtIndex(int /*long*/ glyphIndex) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_locationForGlyphAtIndex_, glyphIndex); + return result; +} + +public int /*long*/ numberOfGlyphs() { + return OS.objc_msgSend(this.id, OS.sel_numberOfGlyphs); +} + +public int /*long*/ rectArrayForCharacterRange(NSRange charRange, NSRange selCharRange, NSTextContainer container, int /*long*/ rectCount) { + return OS.objc_msgSend(this.id, OS.sel_rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount_, charRange, selCharRange, container != null ? container.id : 0, rectCount); +} + +public void removeTemporaryAttribute(NSString attrName, NSRange charRange) { + OS.objc_msgSend(this.id, OS.sel_removeTemporaryAttribute_forCharacterRange_, attrName != null ? attrName.id : 0, charRange); +} + +public void setBackgroundLayoutEnabled(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundLayoutEnabled_, flag); +} + +public void setLineFragmentRect(NSRect fragmentRect, NSRange glyphRange, NSRect usedRect) { + OS.objc_msgSend(this.id, OS.sel_setLineFragmentRect_forGlyphRange_usedRect_, fragmentRect, glyphRange, usedRect); +} + +public void setTextStorage(NSTextStorage textStorage) { + OS.objc_msgSend(this.id, OS.sel_setTextStorage_, textStorage != null ? textStorage.id : 0); +} + +public NSTypesetter typesetter() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_typesetter); + return result != 0 ? new NSTypesetter(result) : null; +} + +public NSRect usedRectForTextContainer(NSTextContainer container) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_usedRectForTextContainer_, container != null ? container.id : 0); + return result; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenu.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenu.java new file mode 100644 index 0000000000..1611c73d36 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenu.java @@ -0,0 +1,95 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMenu extends NSObject { + +public NSMenu() { + super(); +} + +public NSMenu(int /*long*/ id) { + super(id); +} + +public NSMenu(id id) { + super(id); +} + +public void addItem(NSMenuItem newItem) { + OS.objc_msgSend(this.id, OS.sel_addItem_, newItem != null ? newItem.id : 0); +} + +public NSMenuItem addItemWithTitle(NSString aString, int /*long*/ aSelector, NSString charCode) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_addItemWithTitle_action_keyEquivalent_, aString != null ? aString.id : 0, aSelector, charCode != null ? charCode.id : 0); + return result != 0 ? new NSMenuItem(result) : null; +} + +public void cancelTracking() { + OS.objc_msgSend(this.id, OS.sel_cancelTracking); +} + +public int /*long*/ indexOfItemWithTarget(id target, int /*long*/ actionSelector) { + return OS.objc_msgSend(this.id, OS.sel_indexOfItemWithTarget_andAction_, target != null ? target.id : 0, actionSelector); +} + +public NSMenu initWithTitle(NSString aTitle) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithTitle_, aTitle != null ? aTitle.id : 0); + return result == this.id ? this : (result != 0 ? new NSMenu(result) : null); +} + +public void insertItem(NSMenuItem newItem, int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_insertItem_atIndex_, newItem != null ? newItem.id : 0, index); +} + +public NSArray itemArray() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemArray); + return result != 0 ? new NSArray(result) : null; +} + +public NSMenuItem itemAtIndex(int /*long*/ index) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtIndex_, index); + return result != 0 ? new NSMenuItem(result) : null; +} + +public int /*long*/ numberOfItems() { + return OS.objc_msgSend(this.id, OS.sel_numberOfItems); +} + +public static void popUpContextMenu(NSMenu menu, NSEvent event, NSView view) { + OS.objc_msgSend(OS.class_NSMenu, OS.sel_popUpContextMenu_withEvent_forView_, menu != null ? menu.id : 0, event != null ? event.id : 0, view != null ? view.id : 0); +} + +public void removeItem(NSMenuItem item) { + OS.objc_msgSend(this.id, OS.sel_removeItem_, item != null ? item.id : 0); +} + +public void removeItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); +} + +public void setAutoenablesItems(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAutoenablesItems_, flag); +} + +public void setDelegate(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); +} + +public void setSubmenu(NSMenu aMenu, NSMenuItem anItem) { + OS.objc_msgSend(this.id, OS.sel_setSubmenu_forItem_, aMenu != null ? aMenu.id : 0, anItem != null ? anItem.id : 0); +} + +public void setTitle(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java new file mode 100644 index 0000000000..17fbdc7964 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java @@ -0,0 +1,108 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMenuItem extends NSObject { + +public NSMenuItem() { + super(); +} + +public NSMenuItem(int /*long*/ id) { + super(id); +} + +public NSMenuItem(id id) { + super(id); +} + +public NSMenuItem initWithTitle(NSString aString, int /*long*/ aSelector, NSString charCode) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithTitle_action_keyEquivalent_, aString != null ? aString.id : 0, aSelector, charCode != null ? charCode.id : 0); + return result == this.id ? this : (result != 0 ? new NSMenuItem(result) : null); +} + +public boolean isHidden() { + return OS.objc_msgSend_bool(this.id, OS.sel_isHidden); +} + +public NSString keyEquivalent() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_keyEquivalent); + return result != 0 ? new NSString(result) : null; +} + +public int /*long*/ keyEquivalentModifierMask() { + return OS.objc_msgSend(this.id, OS.sel_keyEquivalentModifierMask); +} + +public static NSMenuItem separatorItem() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMenuItem, OS.sel_separatorItem); + return result != 0 ? new NSMenuItem(result) : null; +} + +public void setAction(int /*long*/ aSelector) { + OS.objc_msgSend(this.id, OS.sel_setAction_, aSelector); +} + +public void setEnabled(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setEnabled_, flag); +} + +public void setHidden(boolean hidden) { + OS.objc_msgSend(this.id, OS.sel_setHidden_, hidden); +} + +public void setImage(NSImage menuImage) { + OS.objc_msgSend(this.id, OS.sel_setImage_, menuImage != null ? menuImage.id : 0); +} + +public void setKeyEquivalent(NSString aKeyEquivalent) { + OS.objc_msgSend(this.id, OS.sel_setKeyEquivalent_, aKeyEquivalent != null ? aKeyEquivalent.id : 0); +} + +public void setKeyEquivalentModifierMask(int /*long*/ mask) { + OS.objc_msgSend(this.id, OS.sel_setKeyEquivalentModifierMask_, mask); +} + +public void setMenu(NSMenu menu) { + OS.objc_msgSend(this.id, OS.sel_setMenu_, menu != null ? menu.id : 0); +} + +public void setState(int /*long*/ state) { + OS.objc_msgSend(this.id, OS.sel_setState_, state); +} + +public void setSubmenu(NSMenu submenu) { + OS.objc_msgSend(this.id, OS.sel_setSubmenu_, submenu != null ? submenu.id : 0); +} + +public void setTarget(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setTarget_, anObject != null ? anObject.id : 0); +} + +public void setTitle(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); +} + +public int /*long*/ state() { + return OS.objc_msgSend(this.id, OS.sel_state); +} + +public NSMenu submenu() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_submenu); + return result != 0 ? new NSMenu(result) : null; +} + +public NSString title() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_title); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java new file mode 100644 index 0000000000..c040b3b012 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java @@ -0,0 +1,71 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableArray extends NSArray { + +public NSMutableArray() { + super(); +} + +public NSMutableArray(int /*long*/ id) { + super(id); +} + +public NSMutableArray(id id) { + super(id); +} + +public void addObject(id anObject) { + OS.objc_msgSend(this.id, OS.sel_addObject_, anObject != null ? anObject.id : 0); +} + +public void addObjectsFromArray(NSArray otherArray) { + OS.objc_msgSend(this.id, OS.sel_addObjectsFromArray_, otherArray != null ? otherArray.id : 0); +} + +public static NSMutableArray arrayWithCapacity(int /*long*/ numItems) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithCapacity_, numItems); + return result != 0 ? new NSMutableArray(result) : null; +} + +public NSMutableArray initWithCapacity(int /*long*/ numItems) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithCapacity_, numItems); + return result == this.id ? this : (result != 0 ? new NSMutableArray(result) : null); +} + +public void removeLastObject() { + OS.objc_msgSend(this.id, OS.sel_removeLastObject); +} + +public void removeObject(id anObject) { + OS.objc_msgSend(this.id, OS.sel_removeObject_, anObject != null ? anObject.id : 0); +} + +public void removeObjectAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_removeObjectAtIndex_, index); +} + +public void removeObjectIdenticalTo(id anObject) { + OS.objc_msgSend(this.id, OS.sel_removeObjectIdenticalTo_, anObject != null ? anObject.id : 0); +} + +public static NSArray array() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_array); + return result != 0 ? new NSArray(result) : null; +} + +public static NSArray arrayWithObject(id anObject) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithObject_, anObject != null ? anObject.id : 0); + return result != 0 ? new NSMutableArray(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java new file mode 100644 index 0000000000..cc2d342816 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableAttributedString extends NSAttributedString { + +public NSMutableAttributedString() { + super(); +} + +public NSMutableAttributedString(int /*long*/ id) { + super(id); +} + +public NSMutableAttributedString(id id) { + super(id); +} + +public void appendAttributedString(NSAttributedString attrString) { + OS.objc_msgSend(this.id, OS.sel_appendAttributedString_, attrString != null ? attrString.id : 0); +} + +public NSMutableString mutableString() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mutableString); + return result != 0 ? new NSMutableString(result) : null; +} + +public void replaceCharactersInRange(NSRange range, NSString str) { + OS.objc_msgSend(this.id, OS.sel_replaceCharactersInRange_withString_, range, str != null ? str.id : 0); +} + +public void addAttribute(NSString name, id value, NSRange range) { + OS.objc_msgSend(this.id, OS.sel_addAttribute_value_range_, name != null ? name.id : 0, value != null ? value.id : 0, range); +} + +public void beginEditing() { + OS.objc_msgSend(this.id, OS.sel_beginEditing); +} + +public void endEditing() { + OS.objc_msgSend(this.id, OS.sel_endEditing); +} + +public void removeAttribute(NSString name, NSRange range) { + OS.objc_msgSend(this.id, OS.sel_removeAttribute_range_, name != null ? name.id : 0, range); +} + +public void setAttributedString(NSAttributedString attrString) { + OS.objc_msgSend(this.id, OS.sel_setAttributedString_, attrString != null ? attrString.id : 0); +} + +public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableAttributedString, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0); + return result != 0 ? new NSAttributedString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableDictionary.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableDictionary.java new file mode 100644 index 0000000000..77980256df --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableDictionary.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableDictionary extends NSDictionary { + +public NSMutableDictionary() { + super(); +} + +public NSMutableDictionary(int /*long*/ id) { + super(id); +} + +public NSMutableDictionary(id id) { + super(id); +} + +public static NSMutableDictionary dictionaryWithCapacity(int /*long*/ numItems) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableDictionary, OS.sel_dictionaryWithCapacity_, numItems); + return result != 0 ? new NSMutableDictionary(result) : null; +} + +public NSMutableDictionary initWithCapacity(int /*long*/ numItems) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithCapacity_, numItems); + return result == this.id ? this : (result != 0 ? new NSMutableDictionary(result) : null); +} + +public void removeObjectForKey(id aKey) { + OS.objc_msgSend(this.id, OS.sel_removeObjectForKey_, aKey != null ? aKey.id : 0); +} + +public void setDictionary(NSDictionary otherDictionary) { + OS.objc_msgSend(this.id, OS.sel_setDictionary_, otherDictionary != null ? otherDictionary.id : 0); +} + +public void setObject(id anObject, id aKey) { + OS.objc_msgSend(this.id, OS.sel_setObject_forKey_, anObject != null ? anObject.id : 0, aKey != null ? aKey.id : 0); +} + +public void setValue(id value, NSString key) { + OS.objc_msgSend(this.id, OS.sel_setValue_forKey_, value != null ? value.id : 0, key != null ? key.id : 0); +} + +public static NSDictionary dictionaryWithObject(id object, id key) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableDictionary, OS.sel_dictionaryWithObject_forKey_, object != null ? object.id : 0, key != null ? key.id : 0); + return result != 0 ? new NSMutableDictionary(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableIndexSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableIndexSet.java new file mode 100644 index 0000000000..60f803747f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableIndexSet.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableIndexSet extends NSIndexSet { + +public NSMutableIndexSet() { + super(); +} + +public NSMutableIndexSet(int /*long*/ id) { + super(id); +} + +public NSMutableIndexSet(id id) { + super(id); +} + +public void addIndex(int /*long*/ value) { + OS.objc_msgSend(this.id, OS.sel_addIndex_, value); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableParagraphStyle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableParagraphStyle.java new file mode 100644 index 0000000000..8cd4eec71e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableParagraphStyle.java @@ -0,0 +1,55 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableParagraphStyle extends NSParagraphStyle { + +public NSMutableParagraphStyle() { + super(); +} + +public NSMutableParagraphStyle(int /*long*/ id) { + super(id); +} + +public NSMutableParagraphStyle(id id) { + super(id); +} + +public void addTabStop(NSTextTab anObject) { + OS.objc_msgSend(this.id, OS.sel_addTabStop_, anObject != null ? anObject.id : 0); +} + +public void setAlignment(int /*long*/ alignment) { + OS.objc_msgSend(this.id, OS.sel_setAlignment_, alignment); +} + +public void setDefaultTabInterval(float /*double*/ aFloat) { + OS.objc_msgSend(this.id, OS.sel_setDefaultTabInterval_, aFloat); +} + +public void setFirstLineHeadIndent(float /*double*/ aFloat) { + OS.objc_msgSend(this.id, OS.sel_setFirstLineHeadIndent_, aFloat); +} + +public void setLineBreakMode(int /*long*/ mode) { + OS.objc_msgSend(this.id, OS.sel_setLineBreakMode_, mode); +} + +public void setLineSpacing(float /*double*/ aFloat) { + OS.objc_msgSend(this.id, OS.sel_setLineSpacing_, aFloat); +} + +public void setTabStops(NSArray array) { + OS.objc_msgSend(this.id, OS.sel_setTabStops_, array != null ? array.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableSet.java new file mode 100644 index 0000000000..19f89ec4ae --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableSet.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableSet extends NSSet { + +public NSMutableSet() { + super(); +} + +public NSMutableSet(int /*long*/ id) { + super(id); +} + +public NSMutableSet(id id) { + super(id); +} + +public void addObjectsFromArray(NSArray array) { + OS.objc_msgSend(this.id, OS.sel_addObjectsFromArray_, array != null ? array.id : 0); +} + +public static NSSet set() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableSet, OS.sel_set); + return result != 0 ? new NSMutableSet(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java new file mode 100644 index 0000000000..9f3e67e33e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java @@ -0,0 +1,46 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableString extends NSString { + +public NSMutableString() { + super(); +} + +public NSMutableString(int /*long*/ id) { + super(id); +} + +public NSMutableString(id id) { + super(id); +} + +public void appendString(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_appendString_, aString != null ? aString.id : 0); +} + +public static NSString stringWithCharacters(char[] characters, int /*long*/ length) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableString, OS.sel_stringWithCharacters_length_, characters, length); + return result != 0 ? new NSMutableString(result) : null; +} + +public static NSString stringWithFormat(NSString stringWithFormat) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableString, OS.sel_stringWithFormat_, stringWithFormat != null ? stringWithFormat.id : 0); + return result != 0 ? new NSString(result) : null; +} + +public static NSString stringWithUTF8String(int /*long*/ nullTerminatedCString) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableString, OS.sel_stringWithUTF8String_, nullTerminatedCString); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java new file mode 100644 index 0000000000..36ca289d66 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableURLRequest extends NSURLRequest { + +public NSMutableURLRequest() { + super(); +} + +public NSMutableURLRequest(int /*long*/ id) { + super(id); +} + +public NSMutableURLRequest(id id) { + super(id); +} + +public void setCachePolicy(int /*long*/ policy) { + OS.objc_msgSend(this.id, OS.sel_setCachePolicy_, policy); +} + +public void setURL(NSURL URL) { + OS.objc_msgSend(this.id, OS.sel_setURL_, URL != null ? URL.id : 0); +} + +public static NSURLRequest requestWithURL(NSURL URL) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableURLRequest, OS.sel_requestWithURL_, URL != null ? URL.id : 0); + return result != 0 ? new NSMutableURLRequest(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotification.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotification.java new file mode 100644 index 0000000000..e1c32d7dc8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotification.java @@ -0,0 +1,37 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSNotification extends NSObject { + +public NSNotification() { + super(); +} + +public NSNotification(int /*long*/ id) { + super(id); +} + +public NSNotification(id id) { + super(id); +} + +public id object() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_object); + return result != 0 ? new id(result) : null; +} + +public NSDictionary userInfo() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); + return result != 0 ? new NSDictionary(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotificationCenter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotificationCenter.java new file mode 100644 index 0000000000..611da6eb16 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotificationCenter.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSNotificationCenter extends NSObject { + +public NSNotificationCenter() { + super(); +} + +public NSNotificationCenter(int /*long*/ id) { + super(id); +} + +public NSNotificationCenter(id id) { + super(id); +} + +public void addObserver(id observer, int /*long*/ aSelector, NSString aName, id anObject) { + OS.objc_msgSend(this.id, OS.sel_addObserver_selector_name_object_, observer != null ? observer.id : 0, aSelector, aName != null ? aName.id : 0, anObject != null ? anObject.id : 0); +} + +public static NSNotificationCenter defaultCenter() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNotificationCenter, OS.sel_defaultCenter); + return result != 0 ? new NSNotificationCenter(result) : null; +} + +public void removeObserver(id observer) { + OS.objc_msgSend(this.id, OS.sel_removeObserver_, observer != null ? observer.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumber.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumber.java new file mode 100644 index 0000000000..461a374356 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumber.java @@ -0,0 +1,87 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSNumber extends NSValue { + +public NSNumber() { + super(); +} + +public NSNumber(int /*long*/ id) { + super(id); +} + +public NSNumber(id id) { + super(id); +} + +public boolean boolValue() { + return OS.objc_msgSend_bool(this.id, OS.sel_boolValue); +} + +public double doubleValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_doubleValue); +} + +public float floatValue() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_floatValue); +} + +public int intValue() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_intValue); +} + +public int /*long*/ integerValue() { + return OS.objc_msgSend(this.id, OS.sel_integerValue); +} + +public static NSNumber numberWithBool(boolean value) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithBool_, value); + return result != 0 ? new NSNumber(result) : null; +} + +public static NSNumber numberWithDouble(double value) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithDouble_, value); + return result != 0 ? new NSNumber(result) : null; +} + +public static NSNumber numberWithInt(int value) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithInt_, value); + return result != 0 ? new NSNumber(result) : null; +} + +public static NSNumber numberWithInteger(int /*long*/ value) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithInteger_, value); + return result != 0 ? new NSNumber(result) : null; +} + +public static NSValue valueWithPoint(NSPoint point) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithPoint_, point); + return result != 0 ? new NSValue(result) : null; +} + +public static NSValue valueWithRange(NSRange range) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithRange_, range); + return result != 0 ? new NSValue(result) : null; +} + +public static NSValue valueWithRect(NSRect rect) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithRect_, rect); + return result != 0 ? new NSValue(result) : null; +} + +public static NSValue valueWithSize(NSSize size) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithSize_, size); + return result != 0 ? new NSValue(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumberFormatter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumberFormatter.java new file mode 100644 index 0000000000..b5dfc05a2f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumberFormatter.java @@ -0,0 +1,94 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSNumberFormatter extends NSFormatter { + +public NSNumberFormatter() { + super(); +} + +public NSNumberFormatter(int /*long*/ id) { + super(id); +} + +public NSNumberFormatter(id id) { + super(id); +} + +public boolean allowsFloats() { + return OS.objc_msgSend_bool(this.id, OS.sel_allowsFloats); +} + +public boolean alwaysShowsDecimalSeparator() { + return OS.objc_msgSend_bool(this.id, OS.sel_alwaysShowsDecimalSeparator); +} + +public NSString decimalSeparator() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_decimalSeparator); + return result != 0 ? new NSString(result) : null; +} + +public NSNumber maximum() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_maximum); + return result != 0 ? new NSNumber(result) : null; +} + +public int /*long*/ maximumFractionDigits() { + return OS.objc_msgSend(this.id, OS.sel_maximumFractionDigits); +} + +public int /*long*/ maximumIntegerDigits() { + return OS.objc_msgSend(this.id, OS.sel_maximumIntegerDigits); +} + +public NSNumber minimum() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_minimum); + return result != 0 ? new NSNumber(result) : null; +} + +public void setAllowsFloats(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAllowsFloats_, flag); +} + +public void setMaximum(NSNumber number) { + OS.objc_msgSend(this.id, OS.sel_setMaximum_, number != null ? number.id : 0); +} + +public void setMaximumFractionDigits(int /*long*/ number) { + OS.objc_msgSend(this.id, OS.sel_setMaximumFractionDigits_, number); +} + +public void setMaximumIntegerDigits(int /*long*/ number) { + OS.objc_msgSend(this.id, OS.sel_setMaximumIntegerDigits_, number); +} + +public void setMinimum(NSNumber number) { + OS.objc_msgSend(this.id, OS.sel_setMinimum_, number != null ? number.id : 0); +} + +public void setMinimumFractionDigits(int /*long*/ number) { + OS.objc_msgSend(this.id, OS.sel_setMinimumFractionDigits_, number); +} + +public void setMinimumIntegerDigits(int /*long*/ number) { + OS.objc_msgSend(this.id, OS.sel_setMinimumIntegerDigits_, number); +} + +public void setNumberStyle(int /*long*/ style) { + OS.objc_msgSend(this.id, OS.sel_setNumberStyle_, style); +} + +public void setPartialStringValidationEnabled(boolean b) { + OS.objc_msgSend(this.id, OS.sel_setPartialStringValidationEnabled_, b); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java new file mode 100644 index 0000000000..94d0fbd786 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java @@ -0,0 +1,161 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSObject extends id { + +public NSObject() { + super(); +} + +public NSObject(int /*long*/ id) { + super(id); +} + +public NSObject(id id) { + super(id); +} + +public NSObject alloc() { + this.id = OS.objc_msgSend(objc_getClass(), OS.sel_alloc); + return this; +} + +public id accessibilityAttributeValue(NSString attribute, id parameter) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_accessibilityAttributeValue_forParameter_, attribute != null ? attribute.id : 0, parameter != null ? parameter.id : 0); + return result != 0 ? new id(result) : null; +} + +public boolean accessibilitySetOverrideValue(id value, NSString attribute) { + return OS.objc_msgSend_bool(this.id, OS.sel_accessibilitySetOverrideValue_forAttribute_, value != null ? value.id : 0, attribute != null ? attribute.id : 0); +} + +public void draggedImage(NSImage image, NSPoint screenPoint, int /*long*/ operation) { + OS.objc_msgSend(this.id, OS.sel_draggedImage_endedAt_operation_, image != null ? image.id : 0, screenPoint, operation); +} + +public NSWindow draggingDestinationWindow() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_draggingDestinationWindow); + return result != 0 ? new NSWindow(result) : null; +} + +public NSPoint draggingLocation() { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_draggingLocation); + return result; +} + +public NSPasteboard draggingPasteboard() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_draggingPasteboard); + return result != 0 ? new NSPasteboard(result) : null; +} + +public int /*long*/ draggingSourceOperationMask() { + return OS.objc_msgSend(this.id, OS.sel_draggingSourceOperationMask); +} + +public NSObject autorelease() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_autorelease); + return result == this.id ? this : (result != 0 ? new NSObject(result) : null); +} + +public void cancelAuthenticationChallenge(NSURLAuthenticationChallenge challenge) { + OS.objc_msgSend(this.id, OS.sel_cancelAuthenticationChallenge_, challenge != null ? challenge.id : 0); +} + +public NSString className() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_className); + return result != 0 ? new NSString(result) : null; +} + +public boolean conformsToProtocol(Protocol aProtocol) { + return OS.objc_msgSend_bool(this.id, OS.sel_conformsToProtocol_, aProtocol != null ? aProtocol.id : 0); +} + +public id copy() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_copy); + return result != 0 ? new id(result) : null; +} + +public NSString description() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_description); + return result != 0 ? new NSString(result) : null; +} + +public NSObject init() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_init); + return result == this.id ? this : (result != 0 ? new NSObject(result) : null); +} + +public boolean isEqual(id object) { + return OS.objc_msgSend_bool(this.id, OS.sel_isEqual_, object != null ? object.id : 0); +} + +public boolean isEqualTo(id object) { + return OS.objc_msgSend_bool(this.id, OS.sel_isEqualTo_, object != null ? object.id : 0); +} + +public boolean isKindOfClass(int /*long*/ aClass) { + return OS.objc_msgSend_bool(this.id, OS.sel_isKindOfClass_, aClass); +} + +public id mutableCopy() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mutableCopy); + return result != 0 ? new id(result) : null; +} + +public void performSelectorOnMainThread(int /*long*/ aSelector, id arg, boolean wait) { + OS.objc_msgSend(this.id, OS.sel_performSelectorOnMainThread_withObject_waitUntilDone_, aSelector, arg != null ? arg.id : 0, wait); +} + +public void release() { + OS.objc_msgSend(this.id, OS.sel_release); +} + +public boolean respondsToSelector(int /*long*/ aSelector) { + return OS.objc_msgSend_bool(this.id, OS.sel_respondsToSelector_, aSelector); +} + +public id retain() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_retain); + return result != 0 ? new id(result) : null; +} + +public int /*long*/ retainCount() { + return OS.objc_msgSend(this.id, OS.sel_retainCount); +} + +public void setValue(id value, NSString key) { + OS.objc_msgSend(this.id, OS.sel_setValue_forKey_, value != null ? value.id : 0, key != null ? key.id : 0); +} + +public int /*long*/ superclass() { + return OS.objc_msgSend(this.id, OS.sel_superclass); +} + +public void useCredential(NSURLCredential credential, NSURLAuthenticationChallenge challenge) { + OS.objc_msgSend(this.id, OS.sel_useCredential_forAuthenticationChallenge_, credential != null ? credential.id : 0, challenge != null ? challenge.id : 0); +} + +public id valueForKey(NSString key) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_valueForKey_, key != null ? key.id : 0); + return result != 0 ? new id(result) : null; +} + +public void addEventListener(NSString type, id listener, boolean useCapture) { + OS.objc_msgSend(this.id, OS.sel_addEventListener_listener_useCapture_, type != null ? type.id : 0, listener != null ? listener.id : 0, useCapture); +} + +public void handleEvent(DOMEvent evt) { + OS.objc_msgSend(this.id, OS.sel_handleEvent_, evt != null ? evt.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java new file mode 100644 index 0000000000..fd688df582 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSOpenGLContext extends NSObject { + +public NSOpenGLContext() { + super(); +} + +public NSOpenGLContext(int /*long*/ id) { + super(id); +} + +public NSOpenGLContext(id id) { + super(id); +} + +public static void clearCurrentContext() { + OS.objc_msgSend(OS.class_NSOpenGLContext, OS.sel_clearCurrentContext); +} + +public void clearDrawable() { + OS.objc_msgSend(this.id, OS.sel_clearDrawable); +} + +public static NSOpenGLContext currentContext() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenGLContext, OS.sel_currentContext); + return result != 0 ? new NSOpenGLContext(result) : null; +} + +public void flushBuffer() { + OS.objc_msgSend(this.id, OS.sel_flushBuffer); +} + +public NSOpenGLContext initWithFormat(NSOpenGLPixelFormat format, NSOpenGLContext share) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFormat_shareContext_, format != null ? format.id : 0, share != null ? share.id : 0); + return result == this.id ? this : (result != 0 ? new NSOpenGLContext(result) : null); +} + +public void makeCurrentContext() { + OS.objc_msgSend(this.id, OS.sel_makeCurrentContext); +} + +public void setView(NSView view) { + OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); +} + +public void update() { + OS.objc_msgSend(this.id, OS.sel_update); +} + +public NSView view() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_view); + return result != 0 ? new NSView(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java new file mode 100644 index 0000000000..e3f786d166 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSOpenGLPixelFormat extends NSObject { + +public NSOpenGLPixelFormat() { + super(); +} + +public NSOpenGLPixelFormat(int /*long*/ id) { + super(id); +} + +public NSOpenGLPixelFormat(id id) { + super(id); +} + +public void getValues(int[] /*long[]*/ vals, int attrib, int screen) { + OS.objc_msgSend(this.id, OS.sel_getValues_forAttribute_forVirtualScreen_, vals, attrib, screen); +} + +public id initWithAttributes(int[] attribs) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithAttributes_, attribs); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java new file mode 100644 index 0000000000..a53b6d24c9 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSOpenPanel extends NSSavePanel { + +public NSOpenPanel() { + super(); +} + +public NSOpenPanel(int /*long*/ id) { + super(id); +} + +public NSOpenPanel(id id) { + super(id); +} + +public NSArray filenames() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_filenames); + return result != 0 ? new NSArray(result) : null; +} + +public static NSOpenPanel openPanel() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_openPanel); + return result != 0 ? new NSOpenPanel(result) : null; +} + +public void setAllowsMultipleSelection(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAllowsMultipleSelection_, flag); +} + +public void setCanChooseDirectories(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setCanChooseDirectories_, flag); +} + +public void setCanChooseFiles(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setCanChooseFiles_, flag); +} + +public static NSSavePanel savePanel() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_savePanel); + return result != 0 ? new NSSavePanel(result) : null; +} + +public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { + return (float)OS.objc_msgSend_fpret(OS.class_NSOpenPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java new file mode 100644 index 0000000000..cbc470421a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java @@ -0,0 +1,103 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSOutlineView extends NSTableView { + +public NSOutlineView() { + super(); +} + +public NSOutlineView(int /*long*/ id) { + super(id); +} + +public NSOutlineView(id id) { + super(id); +} + +public void collapseItem(id item) { + OS.objc_msgSend(this.id, OS.sel_collapseItem_, item != null ? item.id : 0); +} + +public void collapseItem(id item, boolean collapseChildren) { + OS.objc_msgSend(this.id, OS.sel_collapseItem_collapseChildren_, item != null ? item.id : 0, collapseChildren); +} + +public void expandItem(id item) { + OS.objc_msgSend(this.id, OS.sel_expandItem_, item != null ? item.id : 0); +} + +public void expandItem(id item, boolean expandChildren) { + OS.objc_msgSend(this.id, OS.sel_expandItem_expandChildren_, item != null ? item.id : 0, expandChildren); +} + +public NSRect frameOfOutlineCellAtRow(int /*long*/ row) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_frameOfOutlineCellAtRow_, row); + return result; +} + +public float /*double*/ indentationPerLevel() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_indentationPerLevel); +} + +public boolean isItemExpanded(id item) { + return OS.objc_msgSend_bool(this.id, OS.sel_isItemExpanded_, item != null ? item.id : 0); +} + +public id itemAtRow(int /*long*/ row) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtRow_, row); + return result != 0 ? new id(result) : null; +} + +public int /*long*/ levelForItem(id item) { + return OS.objc_msgSend(this.id, OS.sel_levelForItem_, item != null ? item.id : 0); +} + +public NSTableColumn outlineTableColumn() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_outlineTableColumn); + return result != 0 ? new NSTableColumn(result) : null; +} + +public void reloadItem(id item, boolean reloadChildren) { + OS.objc_msgSend(this.id, OS.sel_reloadItem_reloadChildren_, item != null ? item.id : 0, reloadChildren); +} + +public int /*long*/ rowForItem(id item) { + return OS.objc_msgSend(this.id, OS.sel_rowForItem_, item != null ? item.id : 0); +} + +public void setAutoresizesOutlineColumn(boolean resize) { + OS.objc_msgSend(this.id, OS.sel_setAutoresizesOutlineColumn_, resize); +} + +public void setAutosaveExpandedItems(boolean save) { + OS.objc_msgSend(this.id, OS.sel_setAutosaveExpandedItems_, save); +} + +public void setDropItem(id item, int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_setDropItem_dropChildIndex_, item != null ? item.id : 0, index); +} + +public void setOutlineTableColumn(NSTableColumn outlineTableColumn) { + OS.objc_msgSend(this.id, OS.sel_setOutlineTableColumn_, outlineTableColumn != null ? outlineTableColumn.id : 0); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSOutlineView, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSOutlineView, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java new file mode 100644 index 0000000000..a7ad52d83e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java @@ -0,0 +1,39 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPanel extends NSWindow { + +public NSPanel() { + super(); +} + +public NSPanel(int /*long*/ id) { + super(id); +} + +public NSPanel(id id) { + super(id); +} + +public void setWorksWhenModal(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setWorksWhenModal_, flag); +} + +public boolean worksWhenModal() { + return OS.objc_msgSend_bool(this.id, OS.sel_worksWhenModal); +} + +public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { + return (float)OS.objc_msgSend_fpret(OS.class_NSPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSParagraphStyle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSParagraphStyle.java new file mode 100644 index 0000000000..9ee0c1d55b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSParagraphStyle.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSParagraphStyle extends NSObject { + +public NSParagraphStyle() { + super(); +} + +public NSParagraphStyle(int /*long*/ id) { + super(id); +} + +public NSParagraphStyle(id id) { + super(id); +} + +public int /*long*/ alignment() { + return OS.objc_msgSend(this.id, OS.sel_alignment); +} + +public NSArray tabStops() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_tabStops); + return result != 0 ? new NSArray(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPasteboard.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPasteboard.java new file mode 100644 index 0000000000..593edace35 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPasteboard.java @@ -0,0 +1,82 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPasteboard extends NSObject { + +public NSPasteboard() { + super(); +} + +public NSPasteboard(int /*long*/ id) { + super(id); +} + +public NSPasteboard(id id) { + super(id); +} + +public int /*long*/ addTypes(NSArray newTypes, id newOwner) { + return OS.objc_msgSend(this.id, OS.sel_addTypes_owner_, newTypes != null ? newTypes.id : 0, newOwner != null ? newOwner.id : 0); +} + +public NSString availableTypeFromArray(NSArray types) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableTypeFromArray_, types != null ? types.id : 0); + return result != 0 ? new NSString(result) : null; +} + +public NSData dataForType(NSString dataType) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dataForType_, dataType != null ? dataType.id : 0); + return result != 0 ? new NSData(result) : null; +} + +public int /*long*/ declareTypes(NSArray newTypes, id newOwner) { + return OS.objc_msgSend(this.id, OS.sel_declareTypes_owner_, newTypes != null ? newTypes.id : 0, newOwner != null ? newOwner.id : 0); +} + +public static NSPasteboard generalPasteboard() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPasteboard, OS.sel_generalPasteboard); + return result != 0 ? new NSPasteboard(result) : null; +} + +public static NSPasteboard pasteboardWithName(NSString name) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPasteboard, OS.sel_pasteboardWithName_, name != null ? name.id : 0); + return result != 0 ? new NSPasteboard(result) : null; +} + +public id propertyListForType(NSString dataType) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_propertyListForType_, dataType != null ? dataType.id : 0); + return result != 0 ? new id(result) : null; +} + +public boolean setData(NSData data, NSString dataType) { + return OS.objc_msgSend_bool(this.id, OS.sel_setData_forType_, data != null ? data.id : 0, dataType != null ? dataType.id : 0); +} + +public boolean setPropertyList(id plist, NSString dataType) { + return OS.objc_msgSend_bool(this.id, OS.sel_setPropertyList_forType_, plist != null ? plist.id : 0, dataType != null ? dataType.id : 0); +} + +public boolean setString(NSString string, NSString dataType) { + return OS.objc_msgSend_bool(this.id, OS.sel_setString_forType_, string != null ? string.id : 0, dataType != null ? dataType.id : 0); +} + +public NSString stringForType(NSString dataType) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringForType_, dataType != null ? dataType.id : 0); + return result != 0 ? new NSString(result) : null; +} + +public NSArray types() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_types); + return result != 0 ? new NSArray(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPoint.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPoint.java new file mode 100755 index 0000000000..e07dfd350a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPoint.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + + +public class NSPoint { + public float /*double*/ x; + public float /*double*/ y; + public static final int sizeof = OS.NSPoint_sizeof(); + + public String toString() { + return "NSPoint{" + x + "," + y + "}"; + } +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPopUpButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPopUpButton.java new file mode 100644 index 0000000000..c74656f185 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPopUpButton.java @@ -0,0 +1,92 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPopUpButton extends NSButton { + +public NSPopUpButton() { + super(); +} + +public NSPopUpButton(int /*long*/ id) { + super(id); +} + +public NSPopUpButton(id id) { + super(id); +} + +public int /*long*/ indexOfSelectedItem() { + return OS.objc_msgSend(this.id, OS.sel_indexOfSelectedItem); +} + +public NSPopUpButton initWithFrame(NSRect buttonFrame, boolean flag) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFrame_pullsDown_, buttonFrame, flag); + return result == this.id ? this : (result != 0 ? new NSPopUpButton(result) : null); +} + +public NSMenuItem itemAtIndex(int /*long*/ index) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtIndex_, index); + return result != 0 ? new NSMenuItem(result) : null; +} + +public NSString itemTitleAtIndex(int /*long*/ index) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemTitleAtIndex_, index); + return result != 0 ? new NSString(result) : null; +} + +public NSMenu menu() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_menu); + return result != 0 ? new NSMenu(result) : null; +} + +public int /*long*/ numberOfItems() { + return OS.objc_msgSend(this.id, OS.sel_numberOfItems); +} + +public void removeAllItems() { + OS.objc_msgSend(this.id, OS.sel_removeAllItems); +} + +public void removeItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); +} + +public void selectItem(NSMenuItem item) { + OS.objc_msgSend(this.id, OS.sel_selectItem_, item != null ? item.id : 0); +} + +public void selectItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_selectItemAtIndex_, index); +} + +public void setAutoenablesItems(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAutoenablesItems_, flag); +} + +public void setPullsDown(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setPullsDown_, flag); +} + +public NSString titleOfSelectedItem() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_titleOfSelectedItem); + return result != 0 ? new NSString(result) : null; +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSPopUpButton, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSPopUpButton, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintInfo.java new file mode 100644 index 0000000000..41a58a9f09 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintInfo.java @@ -0,0 +1,89 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPrintInfo extends NSObject { + +public NSPrintInfo() { + super(); +} + +public NSPrintInfo(int /*long*/ id) { + super(id); +} + +public NSPrintInfo(id id) { + super(id); +} + +public static NSPrinter defaultPrinter() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintInfo, OS.sel_defaultPrinter); + return result != 0 ? new NSPrinter(result) : null; +} + +public NSMutableDictionary dictionary() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dictionary); + return result != 0 ? new NSMutableDictionary(result) : null; +} + +public NSRect imageablePageBounds() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_imageablePageBounds); + return result; +} + +public NSPrintInfo initWithDictionary(NSDictionary attributes) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithDictionary_, attributes != null ? attributes.id : 0); + return result == this.id ? this : (result != 0 ? new NSPrintInfo(result) : null); +} + +public NSString jobDisposition() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_jobDisposition); + return result != 0 ? new NSString(result) : null; +} + +public int /*long*/ orientation() { + return OS.objc_msgSend(this.id, OS.sel_orientation); +} + +public NSSize paperSize() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_paperSize); + return result; +} + +public NSPrinter printer() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_printer); + return result != 0 ? new NSPrinter(result) : null; +} + +public void setJobDisposition(NSString disposition) { + OS.objc_msgSend(this.id, OS.sel_setJobDisposition_, disposition != null ? disposition.id : 0); +} + +public void setOrientation(int /*long*/ orientation) { + OS.objc_msgSend(this.id, OS.sel_setOrientation_, orientation); +} + +public void setPrinter(NSPrinter printer) { + OS.objc_msgSend(this.id, OS.sel_setPrinter_, printer != null ? printer.id : 0); +} + +public void setUpPrintOperationDefaultValues() { + OS.objc_msgSend(this.id, OS.sel_setUpPrintOperationDefaultValues); +} + +public static NSPrintInfo sharedPrintInfo() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintInfo, OS.sel_sharedPrintInfo); + return result != 0 ? new NSPrintInfo(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java new file mode 100644 index 0000000000..7468f1ac09 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java @@ -0,0 +1,74 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPrintOperation extends NSObject { + +public NSPrintOperation() { + super(); +} + +public NSPrintOperation(int /*long*/ id) { + super(id); +} + +public NSPrintOperation(id id) { + super(id); +} + +public void cleanUpOperation() { + OS.objc_msgSend(this.id, OS.sel_cleanUpOperation); +} + +public NSGraphicsContext context() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_context); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public NSGraphicsContext createContext() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_createContext); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public boolean deliverResult() { + return OS.objc_msgSend_bool(this.id, OS.sel_deliverResult); +} + +public void destroyContext() { + OS.objc_msgSend(this.id, OS.sel_destroyContext); +} + +public static NSPrintOperation printOperationWithView(NSView view, NSPrintInfo printInfo) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintOperation, OS.sel_printOperationWithView_printInfo_, view != null ? view.id : 0, printInfo != null ? printInfo.id : 0); + return result != 0 ? new NSPrintOperation(result) : null; +} + +public boolean runOperation() { + return OS.objc_msgSend_bool(this.id, OS.sel_runOperation); +} + +public static void setCurrentOperation(NSPrintOperation operation) { + OS.objc_msgSend(OS.class_NSPrintOperation, OS.sel_setCurrentOperation_, operation != null ? operation.id : 0); +} + +public void setJobTitle(NSString jobTitle) { + OS.objc_msgSend(this.id, OS.sel_setJobTitle_, jobTitle != null ? jobTitle.id : 0); +} + +public void setShowsPrintPanel(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setShowsPrintPanel_, flag); +} + +public void setShowsProgressPanel(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setShowsProgressPanel_, flag); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java new file mode 100644 index 0000000000..46440aec83 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPrintPanel extends NSObject { + +public NSPrintPanel() { + super(); +} + +public NSPrintPanel(int /*long*/ id) { + super(id); +} + +public NSPrintPanel(id id) { + super(id); +} + +public void beginSheetWithPrintInfo(NSPrintInfo printInfo, NSWindow docWindow, id delegate, int /*long*/ didEndSelector, int /*long*/ contextInfo) { + OS.objc_msgSend(this.id, OS.sel_beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo_, printInfo != null ? printInfo.id : 0, docWindow != null ? docWindow.id : 0, delegate != null ? delegate.id : 0, didEndSelector, contextInfo); +} + +public int /*long*/ options() { + return OS.objc_msgSend(this.id, OS.sel_options); +} + +public static NSPrintPanel printPanel() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintPanel, OS.sel_printPanel); + return result != 0 ? new NSPrintPanel(result) : null; +} + +public int /*long*/ runModalWithPrintInfo(NSPrintInfo printInfo) { + return OS.objc_msgSend(this.id, OS.sel_runModalWithPrintInfo_, printInfo != null ? printInfo.id : 0); +} + +public void setOptions(int /*long*/ options) { + OS.objc_msgSend(this.id, OS.sel_setOptions_, options); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java new file mode 100644 index 0000000000..16be33739e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSPrinter extends NSObject { + +public NSPrinter() { + super(); +} + +public NSPrinter(int /*long*/ id) { + super(id); +} + +public NSPrinter(id id) { + super(id); +} + +public NSString name() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_name); + return result != 0 ? new NSString(result) : null; +} + +public static NSArray printerNames() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerNames); + return result != 0 ? new NSArray(result) : null; +} + +public static NSPrinter printerWithName(NSString name) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerWithName_, name != null ? name.id : 0); + return result != 0 ? new NSPrinter(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSProgressIndicator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSProgressIndicator.java new file mode 100644 index 0000000000..7f1fd6bf0e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSProgressIndicator.java @@ -0,0 +1,79 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSProgressIndicator extends NSView { + +public NSProgressIndicator() { + super(); +} + +public NSProgressIndicator(int /*long*/ id) { + super(id); +} + +public NSProgressIndicator(id id) { + super(id); +} + +public int /*long*/ controlSize() { + return OS.objc_msgSend(this.id, OS.sel_controlSize); +} + +public double doubleValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_doubleValue); +} + +public double maxValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_maxValue); +} + +public double minValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_minValue); +} + +public void setControlSize(int /*long*/ size) { + OS.objc_msgSend(this.id, OS.sel_setControlSize_, size); +} + +public void setDoubleValue(double doubleValue) { + OS.objc_msgSend(this.id, OS.sel_setDoubleValue_, doubleValue); +} + +public void setIndeterminate(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setIndeterminate_, flag); +} + +public void setMaxValue(double newMaximum) { + OS.objc_msgSend(this.id, OS.sel_setMaxValue_, newMaximum); +} + +public void setMinValue(double newMinimum) { + OS.objc_msgSend(this.id, OS.sel_setMinValue_, newMinimum); +} + +public void setUsesThreadedAnimation(boolean threadedAnimation) { + OS.objc_msgSend(this.id, OS.sel_setUsesThreadedAnimation_, threadedAnimation); +} + +public void sizeToFit() { + OS.objc_msgSend(this.id, OS.sel_sizeToFit); +} + +public void startAnimation(id sender) { + OS.objc_msgSend(this.id, OS.sel_startAnimation_, sender != null ? sender.id : 0); +} + +public void stopAnimation(id sender) { + OS.objc_msgSend(this.id, OS.sel_stopAnimation_, sender != null ? sender.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRange.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRange.java new file mode 100644 index 0000000000..e6758c29c3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRange.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSRange { + public int /*long*/ location; + public int /*long*/ length; + public static int sizeof = OS.NSRange_sizeof(); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java new file mode 100755 index 0000000000..31a378b732 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2008, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + + +public class NSRect { + /** @field accessor=origin.x */ + public float /*double*/ x; + /** @field accessor=origin.y */ + public float /*double*/ y; + /** @field accessor=size.width */ + public float /*double*/ width; + /** @field accessor=size.height */ + public float /*double*/ height; + public static final int sizeof = OS.NSRect_sizeof(); + + public String toString() { + return "NSRect{" + x + "," + y + "," + width + "," + height + "}"; + } +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.java new file mode 100644 index 0000000000..cbc51fe8c3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.java @@ -0,0 +1,147 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSResponder extends NSObject { + +public NSResponder() { + super(); +} + +public NSResponder(int /*long*/ id) { + super(id); +} + +public NSResponder(id id) { + super(id); +} + +public boolean acceptsFirstResponder() { + return OS.objc_msgSend_bool(this.id, OS.sel_acceptsFirstResponder); +} + +public boolean becomeFirstResponder() { + return OS.objc_msgSend_bool(this.id, OS.sel_becomeFirstResponder); +} + +public void cursorUpdate(NSEvent event) { + OS.objc_msgSend(this.id, OS.sel_cursorUpdate_, event != null ? event.id : 0); +} + +public void doCommandBySelector(int /*long*/ aSelector) { + OS.objc_msgSend(this.id, OS.sel_doCommandBySelector_, aSelector); +} + +public void flagsChanged(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_flagsChanged_, theEvent != null ? theEvent.id : 0); +} + +public void helpRequested(NSEvent eventPtr) { + OS.objc_msgSend(this.id, OS.sel_helpRequested_, eventPtr != null ? eventPtr.id : 0); +} + +public void insertText(id insertString) { + OS.objc_msgSend(this.id, OS.sel_insertText_, insertString != null ? insertString.id : 0); +} + +public void interpretKeyEvents(NSArray eventArray) { + OS.objc_msgSend(this.id, OS.sel_interpretKeyEvents_, eventArray != null ? eventArray.id : 0); +} + +public void keyDown(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_keyDown_, theEvent != null ? theEvent.id : 0); +} + +public void keyUp(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_keyUp_, theEvent != null ? theEvent.id : 0); +} + +public void mouseDown(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_mouseDown_, theEvent != null ? theEvent.id : 0); +} + +public void mouseDragged(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_mouseDragged_, theEvent != null ? theEvent.id : 0); +} + +public void mouseEntered(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_mouseEntered_, theEvent != null ? theEvent.id : 0); +} + +public void mouseExited(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_mouseExited_, theEvent != null ? theEvent.id : 0); +} + +public void mouseMoved(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_mouseMoved_, theEvent != null ? theEvent.id : 0); +} + +public void mouseUp(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_mouseUp_, theEvent != null ? theEvent.id : 0); +} + +public void moveToBeginningOfParagraph(id sender) { + OS.objc_msgSend(this.id, OS.sel_moveToBeginningOfParagraph_, sender != null ? sender.id : 0); +} + +public void moveToEndOfParagraph(id sender) { + OS.objc_msgSend(this.id, OS.sel_moveToEndOfParagraph_, sender != null ? sender.id : 0); +} + +public void moveUp(id sender) { + OS.objc_msgSend(this.id, OS.sel_moveUp_, sender != null ? sender.id : 0); +} + +public void noResponderFor(int /*long*/ eventSelector) { + OS.objc_msgSend(this.id, OS.sel_noResponderFor_, eventSelector); +} + +public void otherMouseDown(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_otherMouseDown_, theEvent != null ? theEvent.id : 0); +} + +public void otherMouseDragged(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_otherMouseDragged_, theEvent != null ? theEvent.id : 0); +} + +public void otherMouseUp(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_otherMouseUp_, theEvent != null ? theEvent.id : 0); +} + +public void pageDown(id sender) { + OS.objc_msgSend(this.id, OS.sel_pageDown_, sender != null ? sender.id : 0); +} + +public void pageUp(id sender) { + OS.objc_msgSend(this.id, OS.sel_pageUp_, sender != null ? sender.id : 0); +} + +public boolean resignFirstResponder() { + return OS.objc_msgSend_bool(this.id, OS.sel_resignFirstResponder); +} + +public void rightMouseDown(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_rightMouseDown_, theEvent != null ? theEvent.id : 0); +} + +public void rightMouseDragged(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_rightMouseDragged_, theEvent != null ? theEvent.id : 0); +} + +public void rightMouseUp(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_rightMouseUp_, theEvent != null ? theEvent.id : 0); +} + +public void scrollWheel(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_scrollWheel_, theEvent != null ? theEvent.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRunLoop.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRunLoop.java new file mode 100644 index 0000000000..20b95c118e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRunLoop.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSRunLoop extends NSObject { + +public NSRunLoop() { + super(); +} + +public NSRunLoop(int /*long*/ id) { + super(id); +} + +public NSRunLoop(id id) { + super(id); +} + +public void addTimer(NSTimer timer, NSString mode) { + OS.objc_msgSend(this.id, OS.sel_addTimer_forMode_, timer != null ? timer.id : 0, mode != null ? mode.id : 0); +} + +public static NSRunLoop currentRunLoop() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSRunLoop, OS.sel_currentRunLoop); + return result != 0 ? new NSRunLoop(result) : null; +} + +public static NSRunLoop mainRunLoop() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSRunLoop, OS.sel_mainRunLoop); + return result != 0 ? new NSRunLoop(result) : null; +} + +public boolean runMode(NSString mode, NSDate limitDate) { + return OS.objc_msgSend_bool(this.id, OS.sel_runMode_beforeDate_, mode != null ? mode.id : 0, limitDate != null ? limitDate.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSavePanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSavePanel.java new file mode 100644 index 0000000000..e455c2975a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSavePanel.java @@ -0,0 +1,73 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSavePanel extends NSPanel { + +public NSSavePanel() { + super(); +} + +public NSSavePanel(int /*long*/ id) { + super(id); +} + +public NSSavePanel(id id) { + super(id); +} + +public NSString filename() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_filename); + return result != 0 ? new NSString(result) : null; +} + +public int /*long*/ runModal() { + return OS.objc_msgSend(this.id, OS.sel_runModal); +} + +public int /*long*/ runModalForDirectory(NSString path, NSString name) { + return OS.objc_msgSend(this.id, OS.sel_runModalForDirectory_file_, path != null ? path.id : 0, name != null ? name.id : 0); +} + +public static NSSavePanel savePanel() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSSavePanel, OS.sel_savePanel); + return result != 0 ? new NSSavePanel(result) : null; +} + +public void setAccessoryView(NSView view) { + OS.objc_msgSend(this.id, OS.sel_setAccessoryView_, view != null ? view.id : 0); +} + +public void setCanCreateDirectories(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setCanCreateDirectories_, flag); +} + +public void setDirectory(NSString path) { + OS.objc_msgSend(this.id, OS.sel_setDirectory_, path != null ? path.id : 0); +} + +public void setMessage(NSString message) { + OS.objc_msgSend(this.id, OS.sel_setMessage_, message != null ? message.id : 0); +} + +public void setTitle(NSString title) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, title != null ? title.id : 0); +} + +public void validateVisibleColumns() { + OS.objc_msgSend(this.id, OS.sel_validateVisibleColumns); +} + +public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { + return (float)OS.objc_msgSend_fpret(OS.class_NSSavePanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java new file mode 100644 index 0000000000..f6bf26b2f4 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSScreen extends NSObject { + +public NSScreen() { + super(); +} + +public NSScreen(int /*long*/ id) { + super(id); +} + +public NSScreen(id id) { + super(id); +} + +public int depth() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_depth); +} + +public NSDictionary deviceDescription() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_deviceDescription); + return result != 0 ? new NSDictionary(result) : null; +} + +public NSRect frame() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_frame); + return result; +} + +public static NSScreen mainScreen() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSScreen, OS.sel_mainScreen); + return result != 0 ? new NSScreen(result) : null; +} + +public static NSArray screens() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSScreen, OS.sel_screens); + return result != 0 ? new NSArray(result) : null; +} + +public NSRect visibleFrame() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_visibleFrame); + return result; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.java new file mode 100644 index 0000000000..91969389e3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.java @@ -0,0 +1,97 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSScrollView extends NSView { + +public NSScrollView() { + super(); +} + +public NSScrollView(int /*long*/ id) { + super(id); +} + +public NSScrollView(id id) { + super(id); +} + +public NSSize contentSize() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_contentSize); + return result; +} + +public static NSSize contentSizeForFrameSize(NSSize fSize, boolean hFlag, boolean vFlag, int /*long*/ aType) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, OS.class_NSScrollView, OS.sel_contentSizeForFrameSize_hasHorizontalScroller_hasVerticalScroller_borderType_, fSize, hFlag, vFlag, aType); + return result; +} + +public NSClipView contentView() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); + return result != 0 ? new NSClipView(result) : null; +} + +public NSView documentView() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_documentView); + return result != 0 ? new NSView(result) : null; +} + +public NSRect documentVisibleRect() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_documentVisibleRect); + return result; +} + +public static NSSize frameSizeForContentSize(NSSize cSize, boolean hFlag, boolean vFlag, int /*long*/ aType) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, OS.class_NSScrollView, OS.sel_frameSizeForContentSize_hasHorizontalScroller_hasVerticalScroller_borderType_, cSize, hFlag, vFlag, aType); + return result; +} + +public void reflectScrolledClipView(NSClipView cView) { + OS.objc_msgSend(this.id, OS.sel_reflectScrolledClipView_, cView != null ? cView.id : 0); +} + +public void setAutohidesScrollers(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAutohidesScrollers_, flag); +} + +public void setBorderType(int /*long*/ aType) { + OS.objc_msgSend(this.id, OS.sel_setBorderType_, aType); +} + +public void setDocumentView(NSView aView) { + OS.objc_msgSend(this.id, OS.sel_setDocumentView_, aView != null ? aView.id : 0); +} + +public void setDrawsBackground(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); +} + +public void setHasHorizontalScroller(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setHasHorizontalScroller_, flag); +} + +public void setHasVerticalScroller(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setHasVerticalScroller_, flag); +} + +public void setHorizontalScroller(NSScroller anObject) { + OS.objc_msgSend(this.id, OS.sel_setHorizontalScroller_, anObject != null ? anObject.id : 0); +} + +public void setVerticalScroller(NSScroller anObject) { + OS.objc_msgSend(this.id, OS.sel_setVerticalScroller_, anObject != null ? anObject.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.java new file mode 100644 index 0000000000..95c8694dd7 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSScroller extends NSControl { + +public NSScroller() { + super(); +} + +public NSScroller(int /*long*/ id) { + super(id); +} + +public NSScroller(id id) { + super(id); +} + +public int /*long*/ controlSize() { + return OS.objc_msgSend(this.id, OS.sel_controlSize); +} + +public int /*long*/ hitPart() { + return OS.objc_msgSend(this.id, OS.sel_hitPart); +} + +public static float /*double*/ scrollerWidth() { + return (float)OS.objc_msgSend_fpret(OS.class_NSScroller, OS.sel_scrollerWidth); +} + +public static float /*double*/ scrollerWidthForControlSize(int /*long*/ controlSize) { + return (float)OS.objc_msgSend_fpret(OS.class_NSScroller, OS.sel_scrollerWidthForControlSize_, controlSize); +} + +public void setControlSize(int /*long*/ controlSize) { + OS.objc_msgSend(this.id, OS.sel_setControlSize_, controlSize); +} + +public void setFloatValue(float aFloat, float /*double*/ proportion) { + OS.objc_msgSend(this.id, OS.sel_setFloatValue_knobProportion_, aFloat, proportion); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSScroller, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSScroller, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchField.java new file mode 100644 index 0000000000..d13e0df24e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchField.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSearchField extends NSTextField { + +public NSSearchField() { + super(); +} + +public NSSearchField(int /*long*/ id) { + super(id); +} + +public NSSearchField(id id) { + super(id); +} + +public NSArray recentSearches() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_recentSearches); + return result != 0 ? new NSArray(result) : null; +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSSearchField, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSSearchField, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java new file mode 100644 index 0000000000..8829bf0eb3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSearchFieldCell extends NSTextFieldCell { + +public NSSearchFieldCell() { + super(); +} + +public NSSearchFieldCell(int /*long*/ id) { + super(id); +} + +public NSSearchFieldCell(id id) { + super(id); +} + +public NSButtonCell cancelButtonCell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cancelButtonCell); + return result != 0 ? new NSButtonCell(result) : null; +} + +public NSButtonCell searchButtonCell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_searchButtonCell); + return result != 0 ? new NSButtonCell(result) : null; +} + +public NSRect searchTextRectForBounds(NSRect rect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_searchTextRectForBounds_, rect); + return result; +} + +public void setCancelButtonCell(NSButtonCell cell) { + OS.objc_msgSend(this.id, OS.sel_setCancelButtonCell_, cell != null ? cell.id : 0); +} + +public void setSearchButtonCell(NSButtonCell cell) { + OS.objc_msgSend(this.id, OS.sel_setSearchButtonCell_, cell != null ? cell.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSecureTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSecureTextField.java new file mode 100644 index 0000000000..58fe71687f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSecureTextField.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSecureTextField extends NSTextField { + +public NSSecureTextField() { + super(); +} + +public NSSecureTextField(int /*long*/ id) { + super(id); +} + +public NSSecureTextField(id id) { + super(id); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSSecureTextField, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSSecureTextField, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSegmentedCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSegmentedCell.java new file mode 100644 index 0000000000..26a7d166e3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSegmentedCell.java @@ -0,0 +1,75 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSegmentedCell extends NSActionCell { + +public NSSegmentedCell() { + super(); +} + +public NSSegmentedCell(int /*long*/ id) { + super(id); +} + +public NSSegmentedCell(id id) { + super(id); +} + +public void setEnabled(boolean enabled, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setEnabled_forSegment_, enabled, segment); +} + +public void setImage(NSImage image, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setImage_forSegment_, image != null ? image.id : 0, segment); +} + +public void setLabel(NSString label, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setLabel_forSegment_, label != null ? label.id : 0, segment); +} + +public void setMenu(NSMenu menu, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setMenu_forSegment_, menu != null ? menu.id : 0, segment); +} + +public void setSegmentCount(int /*long*/ count) { + OS.objc_msgSend(this.id, OS.sel_setSegmentCount_, count); +} + +public void setSegmentStyle(int /*long*/ segmentStyle) { + OS.objc_msgSend(this.id, OS.sel_setSegmentStyle_, segmentStyle); +} + +public void setSelected(boolean selected, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setSelected_forSegment_, selected, segment); +} + +public void setSelectedSegment(int /*long*/ selectedSegment) { + OS.objc_msgSend(this.id, OS.sel_setSelectedSegment_, selectedSegment); +} + +public void setTag(int /*long*/ tag, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setTag_forSegment_, tag, segment); +} + +public void setToolTip(NSString toolTip, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setToolTip_forSegment_, toolTip != null ? toolTip.id : 0, segment); +} + +public void setTrackingMode(int /*long*/ trackingMode) { + OS.objc_msgSend(this.id, OS.sel_setTrackingMode_, trackingMode); +} + +public void setWidth(float /*double*/ width, int /*long*/ segment) { + OS.objc_msgSend(this.id, OS.sel_setWidth_forSegment_, width, segment); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSet.java new file mode 100644 index 0000000000..ed6afccfe8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSet.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSet extends NSObject { + +public NSSet() { + super(); +} + +public NSSet(int /*long*/ id) { + super(id); +} + +public NSSet(id id) { + super(id); +} + +public int /*long*/ count() { + return OS.objc_msgSend(this.id, OS.sel_count); +} + +public NSEnumerator objectEnumerator() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectEnumerator); + return result != 0 ? new NSEnumerator(result) : null; +} + +public static NSSet set() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSSet, OS.sel_set); + return result != 0 ? new NSSet(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSize.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSize.java new file mode 100755 index 0000000000..9be69e93fc --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSize.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.swt.internal.cocoa; + + +public class NSSize { + public float /*double*/ width; + public float /*double*/ height; + public static final int sizeof = OS.NSSize_sizeof(); + + public String toString() { + return "NSSize{" + width + "," + height + "}"; + } +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSlider.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSlider.java new file mode 100644 index 0000000000..b69a139b2f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSlider.java @@ -0,0 +1,55 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSSlider extends NSControl { + +public NSSlider() { + super(); +} + +public NSSlider(int /*long*/ id) { + super(id); +} + +public NSSlider(id id) { + super(id); +} + +public float /*double*/ knobThickness() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_knobThickness); +} + +public double maxValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_maxValue); +} + +public double minValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_minValue); +} + +public void setMaxValue(double aDouble) { + OS.objc_msgSend(this.id, OS.sel_setMaxValue_, aDouble); +} + +public void setMinValue(double aDouble) { + OS.objc_msgSend(this.id, OS.sel_setMinValue_, aDouble); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSSlider, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSSlider, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusBar.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusBar.java new file mode 100644 index 0000000000..c457ccf275 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusBar.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSStatusBar extends NSObject { + +public NSStatusBar() { + super(); +} + +public NSStatusBar(int /*long*/ id) { + super(id); +} + +public NSStatusBar(id id) { + super(id); +} + +public void removeStatusItem(NSStatusItem item) { + OS.objc_msgSend(this.id, OS.sel_removeStatusItem_, item != null ? item.id : 0); +} + +public NSStatusItem statusItemWithLength(float /*double*/ length) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_statusItemWithLength_, length); + return result != 0 ? new NSStatusItem(result) : null; +} + +public static NSStatusBar systemStatusBar() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSStatusBar, OS.sel_systemStatusBar); + return result != 0 ? new NSStatusBar(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusItem.java new file mode 100644 index 0000000000..0b5f65cbb1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusItem.java @@ -0,0 +1,47 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSStatusItem extends NSObject { + +public NSStatusItem() { + super(); +} + +public NSStatusItem(int /*long*/ id) { + super(id); +} + +public NSStatusItem(id id) { + super(id); +} + +public void drawStatusBarBackgroundInRect(NSRect rect, boolean highlight) { + OS.objc_msgSend(this.id, OS.sel_drawStatusBarBackgroundInRect_withHighlight_, rect, highlight); +} + +public void popUpStatusItemMenu(NSMenu menu) { + OS.objc_msgSend(this.id, OS.sel_popUpStatusItemMenu_, menu != null ? menu.id : 0); +} + +public void setHighlightMode(boolean highlightMode) { + OS.objc_msgSend(this.id, OS.sel_setHighlightMode_, highlightMode); +} + +public void setLength(float /*double*/ length) { + OS.objc_msgSend(this.id, OS.sel_setLength_, length); +} + +public void setView(NSView view) { + OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStepper.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStepper.java new file mode 100644 index 0000000000..f3b8d78d39 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStepper.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSStepper extends NSControl { + +public NSStepper() { + super(); +} + +public NSStepper(int /*long*/ id) { + super(id); +} + +public NSStepper(id id) { + super(id); +} + +public double increment() { + return OS.objc_msgSend_fpret(this.id, OS.sel_increment); +} + +public double maxValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_maxValue); +} + +public double minValue() { + return OS.objc_msgSend_fpret(this.id, OS.sel_minValue); +} + +public void setIncrement(double increment) { + OS.objc_msgSend(this.id, OS.sel_setIncrement_, increment); +} + +public void setMaxValue(double maxValue) { + OS.objc_msgSend(this.id, OS.sel_setMaxValue_, maxValue); +} + +public void setMinValue(double minValue) { + OS.objc_msgSend(this.id, OS.sel_setMinValue_, minValue); +} + +public void setValueWraps(boolean valueWraps) { + OS.objc_msgSend(this.id, OS.sel_setValueWraps_, valueWraps); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSStepper, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSStepper, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java new file mode 100644 index 0000000000..98eca712af --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java @@ -0,0 +1,136 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSString extends NSObject { + +public NSString() { + super(); +} + +public NSString(int /*long*/ id) { + super(id); +} + +public NSString(id id) { + super(id); +} + +public String getString() { + char[] buffer = new char[(int)/*64*/length()]; + getCharacters(buffer); + return new String(buffer); +} + +public static NSString stringWith(String str) { + char[] buffer = new char[str.length()]; + str.getChars(0, buffer.length, buffer, 0); + return stringWithCharacters(buffer, buffer.length); +} + +public int /*long*/ UTF8String() { + return OS.objc_msgSend(this.id, OS.sel_UTF8String); +} + +public int /*long*/ characterAtIndex(int /*long*/ index) { + return OS.objc_msgSend(this.id, OS.sel_characterAtIndex_, index); +} + +public int /*long*/ compare(NSString string) { + return OS.objc_msgSend(this.id, OS.sel_compare_, string != null ? string.id : 0); +} + +public int /*long*/ fileSystemRepresentation() { + return OS.objc_msgSend(this.id, OS.sel_fileSystemRepresentation); +} + +public void getCharacters(char[] buffer) { + OS.objc_msgSend(this.id, OS.sel_getCharacters_, buffer); +} + +public void getCharacters(char[] buffer, NSRange aRange) { + OS.objc_msgSend(this.id, OS.sel_getCharacters_range_, buffer, aRange); +} + +public NSString initWithCharacters(char[] characters, int /*long*/ length) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithCharacters_length_, characters, length); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public boolean isEqualToString(NSString aString) { + return OS.objc_msgSend_bool(this.id, OS.sel_isEqualToString_, aString != null ? aString.id : 0); +} + +public NSString lastPathComponent() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_lastPathComponent); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public int /*long*/ length() { + return OS.objc_msgSend(this.id, OS.sel_length); +} + +public NSString lowercaseString() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_lowercaseString); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString pathExtension() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pathExtension); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString stringByAddingPercentEscapesUsingEncoding(int /*long*/ enc) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByAddingPercentEscapesUsingEncoding_, enc); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString stringByAppendingPathComponent(NSString str) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByAppendingPathComponent_, str != null ? str.id : 0); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString stringByAppendingString(NSString aString) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByAppendingString_, aString != null ? aString.id : 0); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString stringByDeletingLastPathComponent() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByDeletingLastPathComponent); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString stringByDeletingPathExtension() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByDeletingPathExtension); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public NSString stringByReplacingOccurrencesOfString(NSString target, NSString replacement) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByReplacingOccurrencesOfString_withString_, target != null ? target.id : 0, replacement != null ? replacement.id : 0); + return result == this.id ? this : (result != 0 ? new NSString(result) : null); +} + +public static NSString stringWithCharacters(char[] characters, int /*long*/ length) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSString, OS.sel_stringWithCharacters_length_, characters, length); + return result != 0 ? new NSString(result) : null; +} + +public static NSString stringWithFormat(NSString stringWithFormat) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSString, OS.sel_stringWithFormat_, stringWithFormat != null ? stringWithFormat.id : 0); + return result != 0 ? new NSString(result) : null; +} + +public static NSString stringWithUTF8String(int /*long*/ nullTerminatedCString) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSString, OS.sel_stringWithUTF8String_, nullTerminatedCString); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabView.java new file mode 100644 index 0000000000..2f7a9a22f0 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabView.java @@ -0,0 +1,81 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTabView extends NSView { + +public NSTabView() { + super(); +} + +public NSTabView(int /*long*/ id) { + super(id); +} + +public NSTabView(id id) { + super(id); +} + +public void addTabViewItem(NSTabViewItem tabViewItem) { + OS.objc_msgSend(this.id, OS.sel_addTabViewItem_, tabViewItem != null ? tabViewItem.id : 0); +} + +public NSRect contentRect() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_contentRect); + return result; +} + +public void insertTabViewItem(NSTabViewItem tabViewItem, int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_insertTabViewItem_atIndex_, tabViewItem != null ? tabViewItem.id : 0, index); +} + +public NSSize minimumSize() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_minimumSize); + return result; +} + +public void removeTabViewItem(NSTabViewItem tabViewItem) { + OS.objc_msgSend(this.id, OS.sel_removeTabViewItem_, tabViewItem != null ? tabViewItem.id : 0); +} + +public void selectTabViewItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_selectTabViewItemAtIndex_, index); +} + +public NSTabViewItem selectedTabViewItem() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_selectedTabViewItem); + return result != 0 ? new NSTabViewItem(result) : null; +} + +public void setControlSize(int /*long*/ controlSize) { + OS.objc_msgSend(this.id, OS.sel_setControlSize_, controlSize); +} + +public void setDelegate(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); +} + +public void setFont(NSFont font) { + OS.objc_msgSend(this.id, OS.sel_setFont_, font != null ? font.id : 0); +} + +public void setTabViewType(int /*long*/ tabViewType) { + OS.objc_msgSend(this.id, OS.sel_setTabViewType_, tabViewType); +} + +public NSTabViewItem tabViewItemAtPoint(NSPoint point) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_tabViewItemAtPoint_, point); + return result != 0 ? new NSTabViewItem(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java new file mode 100644 index 0000000000..c24dede666 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTabViewItem extends NSObject { + +public NSTabViewItem() { + super(); +} + +public NSTabViewItem(int /*long*/ id) { + super(id); +} + +public NSTabViewItem(id id) { + super(id); +} + +public id initWithIdentifier(id identifier) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier != null ? identifier.id : 0); + return result != 0 ? new id(result) : null; +} + +public void setLabel(NSString label) { + OS.objc_msgSend(this.id, OS.sel_setLabel_, label != null ? label.id : 0); +} + +public void setView(NSView view) { + OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableColumn.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableColumn.java new file mode 100644 index 0000000000..ef36020bed --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableColumn.java @@ -0,0 +1,78 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTableColumn extends NSObject { + +public NSTableColumn() { + super(); +} + +public NSTableColumn(int /*long*/ id) { + super(id); +} + +public NSTableColumn(id id) { + super(id); +} + +public NSCell dataCell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dataCell); + return result != 0 ? new NSCell(result) : null; +} + +public NSTableHeaderCell headerCell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_headerCell); + return result != 0 ? new NSTableHeaderCell(result) : null; +} + +public NSTableColumn initWithIdentifier(id identifier) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier != null ? identifier.id : 0); + return result == this.id ? this : (result != 0 ? new NSTableColumn(result) : null); +} + +public int /*long*/ resizingMask() { + return OS.objc_msgSend(this.id, OS.sel_resizingMask); +} + +public void setDataCell(NSCell cell) { + OS.objc_msgSend(this.id, OS.sel_setDataCell_, cell != null ? cell.id : 0); +} + +public void setEditable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setEditable_, flag); +} + +public void setHeaderCell(NSCell cell) { + OS.objc_msgSend(this.id, OS.sel_setHeaderCell_, cell != null ? cell.id : 0); +} + +public void setIdentifier(id identifier) { + OS.objc_msgSend(this.id, OS.sel_setIdentifier_, identifier != null ? identifier.id : 0); +} + +public void setMinWidth(float /*double*/ minWidth) { + OS.objc_msgSend(this.id, OS.sel_setMinWidth_, minWidth); +} + +public void setResizingMask(int /*long*/ resizingMask) { + OS.objc_msgSend(this.id, OS.sel_setResizingMask_, resizingMask); +} + +public void setWidth(float /*double*/ width) { + OS.objc_msgSend(this.id, OS.sel_setWidth_, width); +} + +public float /*double*/ width() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_width); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderCell.java new file mode 100644 index 0000000000..1b6b109f4b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderCell.java @@ -0,0 +1,37 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTableHeaderCell extends NSTextFieldCell { + +public NSTableHeaderCell() { + super(); +} + +public NSTableHeaderCell(int /*long*/ id) { + super(id); +} + +public NSTableHeaderCell(id id) { + super(id); +} + +public void drawSortIndicatorWithFrame(NSRect cellFrame, NSView controlView, boolean ascending, int /*long*/ priority) { + OS.objc_msgSend(this.id, OS.sel_drawSortIndicatorWithFrame_inView_ascending_priority_, cellFrame, controlView != null ? controlView.id : 0, ascending, priority); +} + +public NSRect sortIndicatorRectForBounds(NSRect theRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_sortIndicatorRectForBounds_, theRect); + return result; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderView.java new file mode 100644 index 0000000000..b3b5d16d08 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderView.java @@ -0,0 +1,37 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTableHeaderView extends NSView { + +public NSTableHeaderView() { + super(); +} + +public NSTableHeaderView(int /*long*/ id) { + super(id); +} + +public NSTableHeaderView(id id) { + super(id); +} + +public int /*long*/ columnAtPoint(NSPoint point) { + return OS.objc_msgSend(this.id, OS.sel_columnAtPoint_, point); +} + +public NSRect headerRectOfColumn(int /*long*/ column) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_headerRectOfColumn_, column); + return result; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java new file mode 100644 index 0000000000..9a97576e15 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java @@ -0,0 +1,254 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTableView extends NSControl { + +public NSTableView() { + super(); +} + +public NSTableView(int /*long*/ id) { + super(id); +} + +public NSTableView(id id) { + super(id); +} + +public void addTableColumn(NSTableColumn column) { + OS.objc_msgSend(this.id, OS.sel_addTableColumn_, column != null ? column.id : 0); +} + +public boolean allowsColumnReordering() { + return OS.objc_msgSend_bool(this.id, OS.sel_allowsColumnReordering); +} + +public boolean canDragRowsWithIndexes(NSIndexSet rowIndexes, NSPoint mouseDownPoint) { + return OS.objc_msgSend_bool(this.id, OS.sel_canDragRowsWithIndexes_atPoint_, rowIndexes != null ? rowIndexes.id : 0, mouseDownPoint); +} + +public int /*long*/ clickedColumn() { + return OS.objc_msgSend(this.id, OS.sel_clickedColumn); +} + +public int /*long*/ clickedRow() { + return OS.objc_msgSend(this.id, OS.sel_clickedRow); +} + +public int /*long*/ columnAtPoint(NSPoint point) { + return OS.objc_msgSend(this.id, OS.sel_columnAtPoint_, point); +} + +public NSIndexSet columnIndexesInRect(NSRect rect) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_columnIndexesInRect_, rect); + return result != 0 ? new NSIndexSet(result) : null; +} + +public int /*long*/ columnWithIdentifier(id identifier) { + return OS.objc_msgSend(this.id, OS.sel_columnWithIdentifier_, identifier != null ? identifier.id : 0); +} + +public void deselectAll(id sender) { + OS.objc_msgSend(this.id, OS.sel_deselectAll_, sender != null ? sender.id : 0); +} + +public void deselectRow(int /*long*/ row) { + OS.objc_msgSend(this.id, OS.sel_deselectRow_, row); +} + +public NSImage dragImageForRowsWithIndexes(NSIndexSet dragRows, NSArray tableColumns, NSEvent dragEvent, int /*long*/ dragImageOffset) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dragImageForRowsWithIndexes_tableColumns_event_offset_, dragRows != null ? dragRows.id : 0, tableColumns != null ? tableColumns.id : 0, dragEvent != null ? dragEvent.id : 0, dragImageOffset); + return result != 0 ? new NSImage(result) : null; +} + +public NSRect frameOfCellAtColumn(int /*long*/ column, int /*long*/ row) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_frameOfCellAtColumn_row_, column, row); + return result; +} + +public NSTableHeaderView headerView() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_headerView); + return result != 0 ? new NSTableHeaderView(result) : null; +} + +public void highlightSelectionInClipRect(NSRect clipRect) { + OS.objc_msgSend(this.id, OS.sel_highlightSelectionInClipRect_, clipRect); +} + +public NSSize intercellSpacing() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_intercellSpacing); + return result; +} + +public boolean isRowSelected(int /*long*/ row) { + return OS.objc_msgSend_bool(this.id, OS.sel_isRowSelected_, row); +} + +public void moveColumn(int /*long*/ column, int /*long*/ newIndex) { + OS.objc_msgSend(this.id, OS.sel_moveColumn_toColumn_, column, newIndex); +} + +public void noteNumberOfRowsChanged() { + OS.objc_msgSend(this.id, OS.sel_noteNumberOfRowsChanged); +} + +public int /*long*/ numberOfColumns() { + return OS.objc_msgSend(this.id, OS.sel_numberOfColumns); +} + +public int /*long*/ numberOfRows() { + return OS.objc_msgSend(this.id, OS.sel_numberOfRows); +} + +public int /*long*/ numberOfSelectedRows() { + return OS.objc_msgSend(this.id, OS.sel_numberOfSelectedRows); +} + +public NSRect rectOfColumn(int /*long*/ column) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_rectOfColumn_, column); + return result; +} + +public NSRect rectOfRow(int /*long*/ row) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_rectOfRow_, row); + return result; +} + +public void reloadData() { + OS.objc_msgSend(this.id, OS.sel_reloadData); +} + +public void removeTableColumn(NSTableColumn column) { + OS.objc_msgSend(this.id, OS.sel_removeTableColumn_, column != null ? column.id : 0); +} + +public int /*long*/ rowAtPoint(NSPoint point) { + return OS.objc_msgSend(this.id, OS.sel_rowAtPoint_, point); +} + +public float /*double*/ rowHeight() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_rowHeight); +} + +public NSRange rowsInRect(NSRect rect) { + NSRange result = new NSRange(); + OS.objc_msgSend_stret(result, this.id, OS.sel_rowsInRect_, rect); + return result; +} + +public void scrollColumnToVisible(int /*long*/ column) { + OS.objc_msgSend(this.id, OS.sel_scrollColumnToVisible_, column); +} + +public void scrollRowToVisible(int /*long*/ row) { + OS.objc_msgSend(this.id, OS.sel_scrollRowToVisible_, row); +} + +public void selectAll(id sender) { + OS.objc_msgSend(this.id, OS.sel_selectAll_, sender != null ? sender.id : 0); +} + +public void selectRowIndexes(NSIndexSet indexes, boolean extend) { + OS.objc_msgSend(this.id, OS.sel_selectRowIndexes_byExtendingSelection_, indexes != null ? indexes.id : 0, extend); +} + +public int /*long*/ selectedRow() { + return OS.objc_msgSend(this.id, OS.sel_selectedRow); +} + +public NSIndexSet selectedRowIndexes() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_selectedRowIndexes); + return result != 0 ? new NSIndexSet(result) : null; +} + +public void setAllowsColumnReordering(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAllowsColumnReordering_, flag); +} + +public void setAllowsMultipleSelection(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAllowsMultipleSelection_, flag); +} + +public void setBackgroundColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); +} + +public void setColumnAutoresizingStyle(int /*long*/ style) { + OS.objc_msgSend(this.id, OS.sel_setColumnAutoresizingStyle_, style); +} + +public void setDataSource(id aSource) { + OS.objc_msgSend(this.id, OS.sel_setDataSource_, aSource != null ? aSource.id : 0); +} + +public void setDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, delegate != null ? delegate.id : 0); +} + +public void setDoubleAction(int /*long*/ aSelector) { + OS.objc_msgSend(this.id, OS.sel_setDoubleAction_, aSelector); +} + +public void setDropRow(int /*long*/ row, int /*long*/ op) { + OS.objc_msgSend(this.id, OS.sel_setDropRow_dropOperation_, row, op); +} + +public void setHeaderView(NSTableHeaderView headerView) { + OS.objc_msgSend(this.id, OS.sel_setHeaderView_, headerView != null ? headerView.id : 0); +} + +public void setHighlightedTableColumn(NSTableColumn tc) { + OS.objc_msgSend(this.id, OS.sel_setHighlightedTableColumn_, tc != null ? tc.id : 0); +} + +public void setIndicatorImage(NSImage anImage, NSTableColumn tc) { + OS.objc_msgSend(this.id, OS.sel_setIndicatorImage_inTableColumn_, anImage != null ? anImage.id : 0, tc != null ? tc.id : 0); +} + +public void setIntercellSpacing(NSSize aSize) { + OS.objc_msgSend(this.id, OS.sel_setIntercellSpacing_, aSize); +} + +public void setRowHeight(float /*double*/ rowHeight) { + OS.objc_msgSend(this.id, OS.sel_setRowHeight_, rowHeight); +} + +public void setUsesAlternatingRowBackgroundColors(boolean useAlternatingRowColors) { + OS.objc_msgSend(this.id, OS.sel_setUsesAlternatingRowBackgroundColors_, useAlternatingRowColors); +} + +public NSArray tableColumns() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_tableColumns); + return result != 0 ? new NSArray(result) : null; +} + +public void tile() { + OS.objc_msgSend(this.id, OS.sel_tile); +} + +public boolean usesAlternatingRowBackgroundColors() { + return OS.objc_msgSend_bool(this.id, OS.sel_usesAlternatingRowBackgroundColors); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSTableView, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSTableView, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java new file mode 100644 index 0000000000..d995f8fbf2 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java @@ -0,0 +1,128 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSText extends NSView { + +public NSText() { + super(); +} + +public NSText(int /*long*/ id) { + super(id); +} + +public NSText(id id) { + super(id); +} + +public void copy(id sender) { + OS.objc_msgSend(this.id, OS.sel_copy_, sender != null ? sender.id : 0); +} + +public void cut(id sender) { + OS.objc_msgSend(this.id, OS.sel_cut_, sender != null ? sender.id : 0); +} + +public id delegate() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_delegate); + return result != 0 ? new id(result) : null; +} + +public NSFont font() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); + return result != 0 ? new NSFont(result) : null; +} + +public void paste(id sender) { + OS.objc_msgSend(this.id, OS.sel_paste_, sender != null ? sender.id : 0); +} + +public void replaceCharactersInRange(NSRange range, NSString aString) { + OS.objc_msgSend(this.id, OS.sel_replaceCharactersInRange_withString_, range, aString != null ? aString.id : 0); +} + +public void scrollRangeToVisible(NSRange range) { + OS.objc_msgSend(this.id, OS.sel_scrollRangeToVisible_, range); +} + +public void selectAll(id sender) { + OS.objc_msgSend(this.id, OS.sel_selectAll_, sender != null ? sender.id : 0); +} + +public NSRange selectedRange() { + NSRange result = new NSRange(); + OS.objc_msgSend_stret(result, this.id, OS.sel_selectedRange); + return result; +} + +public void setAlignment(int /*long*/ mode) { + OS.objc_msgSend(this.id, OS.sel_setAlignment_, mode); +} + +public void setBackgroundColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); +} + +public void setDelegate(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); +} + +public void setDrawsBackground(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); +} + +public void setEditable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setEditable_, flag); +} + +public void setFont(NSFont obj) { + OS.objc_msgSend(this.id, OS.sel_setFont_, obj != null ? obj.id : 0); +} + +public void setHorizontallyResizable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setHorizontallyResizable_, flag); +} + +public void setMaxSize(NSSize newMaxSize) { + OS.objc_msgSend(this.id, OS.sel_setMaxSize_, newMaxSize); +} + +public void setMinSize(NSSize newMinSize) { + OS.objc_msgSend(this.id, OS.sel_setMinSize_, newMinSize); +} + +public void setSelectable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setSelectable_, flag); +} + +public void setSelectedRange(NSRange range) { + OS.objc_msgSend(this.id, OS.sel_setSelectedRange_, range); +} + +public void setString(NSString string) { + OS.objc_msgSend(this.id, OS.sel_setString_, string != null ? string.id : 0); +} + +public void setTextColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); +} + +public void sizeToFit() { + OS.objc_msgSend(this.id, OS.sel_sizeToFit); +} + +public NSString string() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_string); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextAttachment.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextAttachment.java new file mode 100644 index 0000000000..5f06a09173 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextAttachment.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextAttachment extends NSObject { + +public NSTextAttachment() { + super(); +} + +public NSTextAttachment(int /*long*/ id) { + super(id); +} + +public NSTextAttachment(id id) { + super(id); +} + +public id initWithFileWrapper(NSFileWrapper fileWrapper) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFileWrapper_, fileWrapper != null ? fileWrapper.id : 0); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextContainer.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextContainer.java new file mode 100644 index 0000000000..eefef39e8a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextContainer.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextContainer extends NSObject { + +public NSTextContainer() { + super(); +} + +public NSTextContainer(int /*long*/ id) { + super(id); +} + +public NSTextContainer(id id) { + super(id); +} + +public NSSize containerSize() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_containerSize); + return result; +} + +public NSTextContainer initWithContainerSize(NSSize size) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContainerSize_, size); + return result == this.id ? this : (result != 0 ? new NSTextContainer(result) : null); +} + +public void setContainerSize(NSSize size) { + OS.objc_msgSend(this.id, OS.sel_setContainerSize_, size); +} + +public void setLineFragmentPadding(float /*double*/ pad) { + OS.objc_msgSend(this.id, OS.sel_setLineFragmentPadding_, pad); +} + +public void setWidthTracksTextView(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setWidthTracksTextView_, flag); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextField.java new file mode 100644 index 0000000000..e2507f4ad3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextField.java @@ -0,0 +1,67 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextField extends NSControl { + +public NSTextField() { + super(); +} + +public NSTextField(int /*long*/ id) { + super(id); +} + +public NSTextField(id id) { + super(id); +} + +public void selectText(id sender) { + OS.objc_msgSend(this.id, OS.sel_selectText_, sender != null ? sender.id : 0); +} + +public void setBackgroundColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); +} + +public void setBordered(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setBordered_, flag); +} + +public void setDelegate(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); +} + +public void setDrawsBackground(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); +} + +public void setEditable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setEditable_, flag); +} + +public void setSelectable(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setSelectable_, flag); +} + +public void setTextColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); +} + +public static int /*long*/ cellClass() { + return OS.objc_msgSend(OS.class_NSTextField, OS.sel_cellClass); +} + +public static void setCellClass(int /*long*/ factoryId) { + OS.objc_msgSend(OS.class_NSTextField, OS.sel_setCellClass_, factoryId); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextFieldCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextFieldCell.java new file mode 100644 index 0000000000..98e6bef1ab --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextFieldCell.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextFieldCell extends NSActionCell { + +public NSTextFieldCell() { + super(); +} + +public NSTextFieldCell(int /*long*/ id) { + super(id); +} + +public NSTextFieldCell(id id) { + super(id); +} + +public void setPlaceholderString(NSString string) { + OS.objc_msgSend(this.id, OS.sel_setPlaceholderString_, string != null ? string.id : 0); +} + +public void setTextColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); +} + +public NSColor textColor() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textColor); + return result != 0 ? new NSColor(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextStorage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextStorage.java new file mode 100644 index 0000000000..22a0c54090 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextStorage.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextStorage extends NSMutableAttributedString { + +public NSTextStorage() { + super(); +} + +public NSTextStorage(int /*long*/ id) { + super(id); +} + +public NSTextStorage(id id) { + super(id); +} + +public void addLayoutManager(NSLayoutManager obj) { + OS.objc_msgSend(this.id, OS.sel_addLayoutManager_, obj != null ? obj.id : 0); +} + +public NSArray paragraphs() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_paragraphs); + return result != 0 ? new NSArray(result) : null; +} + +public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSTextStorage, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0); + return result != 0 ? new NSAttributedString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextTab.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextTab.java new file mode 100644 index 0000000000..5e9521651a --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextTab.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextTab extends NSObject { + +public NSTextTab() { + super(); +} + +public NSTextTab(int /*long*/ id) { + super(id); +} + +public NSTextTab(id id) { + super(id); +} + +public NSTextTab initWithType(int /*long*/ type, float /*double*/ loc) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithType_location_, type, loc); + return result == this.id ? this : (result != 0 ? new NSTextTab(result) : null); +} + +public float /*double*/ location() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_location); +} + +public int /*long*/ tabStopType() { + return OS.objc_msgSend(this.id, OS.sel_tabStopType); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java new file mode 100644 index 0000000000..14ba576818 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java @@ -0,0 +1,85 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTextView extends NSText { + +public NSTextView() { + super(); +} + +public NSTextView(int /*long*/ id) { + super(id); +} + +public NSTextView(id id) { + super(id); +} + +public int /*long*/ characterIndexForInsertionAtPoint(NSPoint point) { + return OS.objc_msgSend(this.id, OS.sel_characterIndexForInsertionAtPoint_, point); +} + +public NSParagraphStyle defaultParagraphStyle() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_defaultParagraphStyle); + return result != 0 ? new NSParagraphStyle(result) : null; +} + +public boolean dragSelectionWithEvent(NSEvent event, NSSize mouseOffset, boolean slideBack) { + return OS.objc_msgSend_bool(this.id, OS.sel_dragSelectionWithEvent_offset_slideBack_, event != null ? event.id : 0, mouseOffset, slideBack); +} + +public NSLayoutManager layoutManager() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_layoutManager); + return result != 0 ? new NSLayoutManager(result) : null; +} + +public NSDictionary linkTextAttributes() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_linkTextAttributes); + return result != 0 ? new NSDictionary(result) : null; +} + +public NSDictionary markedTextAttributes() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_markedTextAttributes); + return result != 0 ? new NSDictionary(result) : null; +} + +public void setDefaultParagraphStyle(NSParagraphStyle paragraphStyle) { + OS.objc_msgSend(this.id, OS.sel_setDefaultParagraphStyle_, paragraphStyle != null ? paragraphStyle.id : 0); +} + +public void setDisplaysLinkToolTips(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDisplaysLinkToolTips_, flag); +} + +public void setLinkTextAttributes(NSDictionary attributeDictionary) { + OS.objc_msgSend(this.id, OS.sel_setLinkTextAttributes_, attributeDictionary != null ? attributeDictionary.id : 0); +} + +public void setRichText(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setRichText_, flag); +} + +public boolean shouldChangeTextInRange(NSRange affectedCharRange, NSString replacementString) { + return OS.objc_msgSend_bool(this.id, OS.sel_shouldChangeTextInRange_replacementString_, affectedCharRange, replacementString != null ? replacementString.id : 0); +} + +public NSTextContainer textContainer() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textContainer); + return result != 0 ? new NSTextContainer(result) : null; +} + +public NSTextStorage textStorage() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textStorage); + return result != 0 ? new NSTextStorage(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java new file mode 100644 index 0000000000..6947c2bac8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSThread extends NSObject { + +public NSThread() { + super(); +} + +public NSThread(int /*long*/ id) { + super(id); +} + +public NSThread(id id) { + super(id); +} + +public static NSThread currentThread() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSThread, OS.sel_currentThread); + return result != 0 ? new NSThread(result) : null; +} + +public static boolean isMainThread() { + return OS.objc_msgSend_bool(OS.class_NSThread, OS.sel_isMainThread); +} + +public NSMutableDictionary threadDictionary() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_threadDictionary); + return result != 0 ? new NSMutableDictionary(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimeZone.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimeZone.java new file mode 100644 index 0000000000..846438305f --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimeZone.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTimeZone extends NSObject { + +public NSTimeZone() { + super(); +} + +public NSTimeZone(int /*long*/ id) { + super(id); +} + +public NSTimeZone(id id) { + super(id); +} + +public static NSTimeZone defaultTimeZone() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSTimeZone, OS.sel_defaultTimeZone); + return result != 0 ? new NSTimeZone(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimer.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimer.java new file mode 100644 index 0000000000..09f032e3c1 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimer.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTimer extends NSObject { + +public NSTimer() { + super(); +} + +public NSTimer(int /*long*/ id) { + super(id); +} + +public NSTimer(id id) { + super(id); +} + +public void invalidate() { + OS.objc_msgSend(this.id, OS.sel_invalidate); +} + +public static NSTimer scheduledTimerWithTimeInterval(double ti, id aTarget, int /*long*/ aSelector, id userInfo, boolean yesOrNo) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSTimer, OS.sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_, ti, aTarget != null ? aTarget.id : 0, aSelector, userInfo != null ? userInfo.id : 0, yesOrNo); + return result != 0 ? new NSTimer(result) : null; +} + +public void setFireDate(NSDate date) { + OS.objc_msgSend(this.id, OS.sel_setFireDate_, date != null ? date.id : 0); +} + +public id userInfo() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbar.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbar.java new file mode 100644 index 0000000000..82c8786c51 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbar.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSToolbar extends NSObject { + +public NSToolbar() { + super(); +} + +public NSToolbar(int /*long*/ id) { + super(id); +} + +public NSToolbar(id id) { + super(id); +} + +public NSToolbar initWithIdentifier(NSString identifier) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier != null ? identifier.id : 0); + return result == this.id ? this : (result != 0 ? new NSToolbar(result) : null); +} + +public void insertItemWithItemIdentifier(NSString itemIdentifier, int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_insertItemWithItemIdentifier_atIndex_, itemIdentifier != null ? itemIdentifier.id : 0, index); +} + +public void removeItemAtIndex(int /*long*/ index) { + OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); +} + +public void setAllowsUserCustomization(boolean allowCustomization) { + OS.objc_msgSend(this.id, OS.sel_setAllowsUserCustomization_, allowCustomization); +} + +public void setDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, delegate != null ? delegate.id : 0); +} + +public void setDisplayMode(int /*long*/ displayMode) { + OS.objc_msgSend(this.id, OS.sel_setDisplayMode_, displayMode); +} + +public void setVisible(boolean shown) { + OS.objc_msgSend(this.id, OS.sel_setVisible_, shown); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbarItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbarItem.java new file mode 100644 index 0000000000..ea08b1a961 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbarItem.java @@ -0,0 +1,77 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSToolbarItem extends NSObject { + +public NSToolbarItem() { + super(); +} + +public NSToolbarItem(int /*long*/ id) { + super(id); +} + +public NSToolbarItem(id id) { + super(id); +} + +public NSToolbarItem initWithItemIdentifier(NSString itemIdentifier) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithItemIdentifier_, itemIdentifier != null ? itemIdentifier.id : 0); + return result == this.id ? this : (result != 0 ? new NSToolbarItem(result) : null); +} + +public NSString itemIdentifier() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemIdentifier); + return result != 0 ? new NSString(result) : null; +} + +public void setAction(int /*long*/ action) { + OS.objc_msgSend(this.id, OS.sel_setAction_, action); +} + +public void setEnabled(boolean enabled) { + OS.objc_msgSend(this.id, OS.sel_setEnabled_, enabled); +} + +public void setImage(NSImage image) { + OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); +} + +public void setLabel(NSString label) { + OS.objc_msgSend(this.id, OS.sel_setLabel_, label != null ? label.id : 0); +} + +public void setMaxSize(NSSize size) { + OS.objc_msgSend(this.id, OS.sel_setMaxSize_, size); +} + +public void setMinSize(NSSize size) { + OS.objc_msgSend(this.id, OS.sel_setMinSize_, size); +} + +public void setPaletteLabel(NSString paletteLabel) { + OS.objc_msgSend(this.id, OS.sel_setPaletteLabel_, paletteLabel != null ? paletteLabel.id : 0); +} + +public void setTarget(id target) { + OS.objc_msgSend(this.id, OS.sel_setTarget_, target != null ? target.id : 0); +} + +public void setToolTip(NSString toolTip) { + OS.objc_msgSend(this.id, OS.sel_setToolTip_, toolTip != null ? toolTip.id : 0); +} + +public void setView(NSView view) { + OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTrackingArea.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTrackingArea.java new file mode 100644 index 0000000000..648cd5ad37 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTrackingArea.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTrackingArea extends NSObject { + +public NSTrackingArea() { + super(); +} + +public NSTrackingArea(int /*long*/ id) { + super(id); +} + +public NSTrackingArea(id id) { + super(id); +} + +public NSTrackingArea initWithRect(NSRect rect, int /*long*/ options, id owner, NSDictionary userInfo) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithRect_options_owner_userInfo_, rect, options, owner != null ? owner.id : 0, userInfo != null ? userInfo.id : 0); + return result == this.id ? this : (result != 0 ? new NSTrackingArea(result) : null); +} + +public id owner() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_owner); + return result != 0 ? new id(result) : null; +} + +public NSDictionary userInfo() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); + return result != 0 ? new NSDictionary(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTypesetter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTypesetter.java new file mode 100644 index 0000000000..082e4873f7 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTypesetter.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSTypesetter extends NSObject { + +public NSTypesetter() { + super(); +} + +public NSTypesetter(int /*long*/ id) { + super(id); +} + +public NSTypesetter(id id) { + super(id); +} + +public float /*double*/ baselineOffsetInLayoutManager(NSLayoutManager layoutMgr, int /*long*/ glyphIndex) { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_baselineOffsetInLayoutManager_glyphIndex_, layoutMgr != null ? layoutMgr.id : 0, glyphIndex); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java new file mode 100644 index 0000000000..1345b4bb37 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java @@ -0,0 +1,55 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSURL extends NSObject { + +public NSURL() { + super(); +} + +public NSURL(int /*long*/ id) { + super(id); +} + +public NSURL(id id) { + super(id); +} + +public static NSURL URLFromPasteboard(NSPasteboard pasteBoard) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSURL, OS.sel_URLFromPasteboard_, pasteBoard != null ? pasteBoard.id : 0); + return result != 0 ? new NSURL(result) : null; +} + +public void writeToPasteboard(NSPasteboard pasteBoard) { + OS.objc_msgSend(this.id, OS.sel_writeToPasteboard_, pasteBoard != null ? pasteBoard.id : 0); +} + +public static NSURL URLWithString(NSString URLString) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSURL, OS.sel_URLWithString_, URLString != null ? URLString.id : 0); + return result != 0 ? new NSURL(result) : null; +} + +public NSString absoluteString() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_absoluteString); + return result != 0 ? new NSString(result) : null; +} + +public static NSURL fileURLWithPath(NSString path) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSURL, OS.sel_fileURLWithPath_, path != null ? path.id : 0); + return result != 0 ? new NSURL(result) : null; +} + +public boolean isFileURL() { + return OS.objc_msgSend_bool(this.id, OS.sel_isFileURL); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLAuthenticationChallenge.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLAuthenticationChallenge.java new file mode 100644 index 0000000000..319225e932 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLAuthenticationChallenge.java @@ -0,0 +1,46 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSURLAuthenticationChallenge extends NSObject { + +public NSURLAuthenticationChallenge() { + super(); +} + +public NSURLAuthenticationChallenge(int /*long*/ id) { + super(id); +} + +public NSURLAuthenticationChallenge(id id) { + super(id); +} + +public int /*long*/ previousFailureCount() { + return OS.objc_msgSend(this.id, OS.sel_previousFailureCount); +} + +public NSURLCredential proposedCredential() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_proposedCredential); + return result != 0 ? new NSURLCredential(result) : null; +} + +public NSURLProtectionSpace protectionSpace() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_protectionSpace); + return result != 0 ? new NSURLProtectionSpace(result) : null; +} + +public id sender() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_sender); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLCredential.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLCredential.java new file mode 100644 index 0000000000..b6413be7ee --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLCredential.java @@ -0,0 +1,46 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSURLCredential extends NSObject { + +public NSURLCredential() { + super(); +} + +public NSURLCredential(int /*long*/ id) { + super(id); +} + +public NSURLCredential(id id) { + super(id); +} + +public static NSURLCredential credentialWithUser(NSString user, NSString password, int /*long*/ persistence) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSURLCredential, OS.sel_credentialWithUser_password_persistence_, user != null ? user.id : 0, password != null ? password.id : 0, persistence); + return result != 0 ? new NSURLCredential(result) : null; +} + +public boolean hasPassword() { + return OS.objc_msgSend_bool(this.id, OS.sel_hasPassword); +} + +public NSString password() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_password); + return result != 0 ? new NSString(result) : null; +} + +public NSString user() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_user); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLDownload.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLDownload.java new file mode 100644 index 0000000000..1ac5514edf --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLDownload.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSURLDownload extends NSObject { + +public NSURLDownload() { + super(); +} + +public NSURLDownload(int /*long*/ id) { + super(id); +} + +public NSURLDownload(id id) { + super(id); +} + +public void cancel() { + OS.objc_msgSend(this.id, OS.sel_cancel); +} + +public void setDestination(NSString path, boolean allowOverwrite) { + OS.objc_msgSend(this.id, OS.sel_setDestination_allowOverwrite_, path != null ? path.id : 0, allowOverwrite); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLProtectionSpace.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLProtectionSpace.java new file mode 100644 index 0000000000..548a70902b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLProtectionSpace.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSURLProtectionSpace extends NSObject { + +public NSURLProtectionSpace() { + super(); +} + +public NSURLProtectionSpace(int /*long*/ id) { + super(id); +} + +public NSURLProtectionSpace(id id) { + super(id); +} + +public NSString host() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_host); + return result != 0 ? new NSString(result) : null; +} + +public int /*long*/ port() { + return OS.objc_msgSend(this.id, OS.sel_port); +} + +public NSString realm() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_realm); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLRequest.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLRequest.java new file mode 100644 index 0000000000..b0d1e99a12 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLRequest.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSURLRequest extends NSObject { + +public NSURLRequest() { + super(); +} + +public NSURLRequest(int /*long*/ id) { + super(id); +} + +public NSURLRequest(id id) { + super(id); +} + +public NSURL URL() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_URL); + return result != 0 ? new NSURL(result) : null; +} + +public NSURLRequest initWithURL(NSURL URL) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithURL_, URL != null ? URL.id : 0); + return result == this.id ? this : (result != 0 ? new NSURLRequest(result) : null); +} + +public static NSURLRequest requestWithURL(NSURL URL) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSURLRequest, OS.sel_requestWithURL_, URL != null ? URL.id : 0); + return result != 0 ? new NSURLRequest(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSValue.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSValue.java new file mode 100644 index 0000000000..9e11593bbb --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSValue.java @@ -0,0 +1,75 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSValue extends NSObject { + +public NSValue() { + super(); +} + +public NSValue(int /*long*/ id) { + super(id); +} + +public NSValue(id id) { + super(id); +} + +public int /*long*/ objCType() { + return OS.objc_msgSend(this.id, OS.sel_objCType); +} + +public NSPoint pointValue() { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_pointValue); + return result; +} + +public NSRange rangeValue() { + NSRange result = new NSRange(); + OS.objc_msgSend_stret(result, this.id, OS.sel_rangeValue); + return result; +} + +public NSRect rectValue() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_rectValue); + return result; +} + +public NSSize sizeValue() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_sizeValue); + return result; +} + +public static NSValue valueWithPoint(NSPoint point) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithPoint_, point); + return result != 0 ? new NSValue(result) : null; +} + +public static NSValue valueWithRange(NSRange range) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithRange_, range); + return result != 0 ? new NSValue(result) : null; +} + +public static NSValue valueWithRect(NSRect rect) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithRect_, rect); + return result != 0 ? new NSValue(result) : null; +} + +public static NSValue valueWithSize(NSSize size) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithSize_, size); + return result != 0 ? new NSValue(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java new file mode 100644 index 0000000000..cdc963a7c6 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java @@ -0,0 +1,316 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSView extends NSResponder { + +public NSView() { + super(); +} + +public NSView(int /*long*/ id) { + super(id); +} + +public NSView(id id) { + super(id); +} + +public boolean acceptsFirstMouse(NSEvent theEvent) { + return OS.objc_msgSend_bool(this.id, OS.sel_acceptsFirstMouse_, theEvent != null ? theEvent.id : 0); +} + +public void addSubview(NSView aView) { + OS.objc_msgSend(this.id, OS.sel_addSubview_, aView != null ? aView.id : 0); +} + +public void addSubview(NSView aView, int /*long*/ place, NSView otherView) { + OS.objc_msgSend(this.id, OS.sel_addSubview_positioned_relativeTo_, aView != null ? aView.id : 0, place, otherView != null ? otherView.id : 0); +} + +public int /*long*/ addToolTipRect(NSRect aRect, id anObject, int /*long*/ data) { + return OS.objc_msgSend(this.id, OS.sel_addToolTipRect_owner_userData_, aRect, anObject != null ? anObject.id : 0, data); +} + +public void beginDocument() { + OS.objc_msgSend(this.id, OS.sel_beginDocument); +} + +public void beginPageInRect(NSRect aRect, NSPoint location) { + OS.objc_msgSend(this.id, OS.sel_beginPageInRect_atPlacement_, aRect, location); +} + +public NSRect bounds() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_bounds); + return result; +} + +public boolean canBecomeKeyView() { + return OS.objc_msgSend_bool(this.id, OS.sel_canBecomeKeyView); +} + +public NSPoint convertPoint_fromView_(NSPoint aPoint, NSView aView) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertPoint_fromView_, aPoint, aView != null ? aView.id : 0); + return result; +} + +public NSPoint convertPoint_toView_(NSPoint aPoint, NSView aView) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertPoint_toView_, aPoint, aView != null ? aView.id : 0); + return result; +} + +public NSPoint convertPointFromBase(NSPoint aPoint) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertPointFromBase_, aPoint); + return result; +} + +public NSPoint convertPointToBase(NSPoint aPoint) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertPointToBase_, aPoint); + return result; +} + +public NSRect convertRect_fromView_(NSRect aRect, NSView aView) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertRect_fromView_, aRect, aView != null ? aView.id : 0); + return result; +} + +public NSRect convertRect_toView_(NSRect aRect, NSView aView) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertRect_toView_, aRect, aView != null ? aView.id : 0); + return result; +} + +public NSRect convertRectFromBase(NSRect aRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertRectFromBase_, aRect); + return result; +} + +public NSRect convertRectToBase(NSRect aRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertRectToBase_, aRect); + return result; +} + +public NSSize convertSize_fromView_(NSSize aSize, NSView aView) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertSize_fromView_, aSize, aView != null ? aView.id : 0); + return result; +} + +public NSSize convertSize_toView_(NSSize aSize, NSView aView) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertSize_toView_, aSize, aView != null ? aView.id : 0); + return result; +} + +public NSSize convertSizeFromBase(NSSize aSize) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertSizeFromBase_, aSize); + return result; +} + +public NSSize convertSizeToBase(NSSize aSize) { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertSizeToBase_, aSize); + return result; +} + +public void discardCursorRects() { + OS.objc_msgSend(this.id, OS.sel_discardCursorRects); +} + +public void display() { + OS.objc_msgSend(this.id, OS.sel_display); +} + +public void displayIfNeeded() { + OS.objc_msgSend(this.id, OS.sel_displayIfNeeded); +} + +public void displayRectIgnoringOpacity(NSRect aRect, NSGraphicsContext context) { + OS.objc_msgSend(this.id, OS.sel_displayRectIgnoringOpacity_inContext_, aRect, context != null ? context.id : 0); +} + +public void dragImage(NSImage anImage, NSPoint viewLocation, NSSize initialOffset, NSEvent event, NSPasteboard pboard, id sourceObj, boolean slideFlag) { + OS.objc_msgSend(this.id, OS.sel_dragImage_at_offset_event_pasteboard_source_slideBack_, anImage != null ? anImage.id : 0, viewLocation, initialOffset, event != null ? event.id : 0, pboard != null ? pboard.id : 0, sourceObj != null ? sourceObj.id : 0, slideFlag); +} + +public void drawRect(NSRect rect) { + OS.objc_msgSend(this.id, OS.sel_drawRect_, rect); +} + +public void endDocument() { + OS.objc_msgSend(this.id, OS.sel_endDocument); +} + +public void endPage() { + OS.objc_msgSend(this.id, OS.sel_endPage); +} + +public NSRect frame() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_frame); + return result; +} + +public NSView hitTest(NSPoint aPoint) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_hitTest_, aPoint); + return result == this.id ? this : (result != 0 ? new NSView(result) : null); +} + +public NSView initWithFrame(NSRect frameRect) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFrame_, frameRect); + return result == this.id ? this : (result != 0 ? new NSView(result) : null); +} + +public boolean isFlipped() { + return OS.objc_msgSend_bool(this.id, OS.sel_isFlipped); +} + +public boolean isHidden() { + return OS.objc_msgSend_bool(this.id, OS.sel_isHidden); +} + +public boolean isHiddenOrHasHiddenAncestor() { + return OS.objc_msgSend_bool(this.id, OS.sel_isHiddenOrHasHiddenAncestor); +} + +public boolean isOpaque() { + return OS.objc_msgSend_bool(this.id, OS.sel_isOpaque); +} + +public void lockFocus() { + OS.objc_msgSend(this.id, OS.sel_lockFocus); +} + +public NSMenu menuForEvent(NSEvent event) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_menuForEvent_, event != null ? event.id : 0); + return result != 0 ? new NSMenu(result) : null; +} + +public void registerForDraggedTypes(NSArray newTypes) { + OS.objc_msgSend(this.id, OS.sel_registerForDraggedTypes_, newTypes != null ? newTypes.id : 0); +} + +public void removeFromSuperview() { + OS.objc_msgSend(this.id, OS.sel_removeFromSuperview); +} + +public void removeTrackingArea(NSTrackingArea trackingArea) { + OS.objc_msgSend(this.id, OS.sel_removeTrackingArea_, trackingArea != null ? trackingArea.id : 0); +} + +public void resetCursorRects() { + OS.objc_msgSend(this.id, OS.sel_resetCursorRects); +} + +public void scrollPoint(NSPoint aPoint) { + OS.objc_msgSend(this.id, OS.sel_scrollPoint_, aPoint); +} + +public boolean scrollRectToVisible(NSRect aRect) { + return OS.objc_msgSend_bool(this.id, OS.sel_scrollRectToVisible_, aRect); +} + +public void setAutoresizesSubviews(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAutoresizesSubviews_, flag); +} + +public void setAutoresizingMask(int /*long*/ mask) { + OS.objc_msgSend(this.id, OS.sel_setAutoresizingMask_, mask); +} + +public void setFocusRingType(int /*long*/ focusRingType) { + OS.objc_msgSend(this.id, OS.sel_setFocusRingType_, focusRingType); +} + +public void setFrame(NSRect frameRect) { + OS.objc_msgSend(this.id, OS.sel_setFrame_, frameRect); +} + +public void setFrameOrigin(NSPoint newOrigin) { + OS.objc_msgSend(this.id, OS.sel_setFrameOrigin_, newOrigin); +} + +public void setFrameSize(NSSize newSize) { + OS.objc_msgSend(this.id, OS.sel_setFrameSize_, newSize); +} + +public void setHidden(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setHidden_, flag); +} + +public void setNeedsDisplay(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setNeedsDisplay_, flag); +} + +public void setNeedsDisplayInRect(NSRect invalidRect) { + OS.objc_msgSend(this.id, OS.sel_setNeedsDisplayInRect_, invalidRect); +} + +public void setToolTip(NSString string) { + OS.objc_msgSend(this.id, OS.sel_setToolTip_, string != null ? string.id : 0); +} + +public boolean shouldDelayWindowOrderingForEvent(NSEvent theEvent) { + return OS.objc_msgSend_bool(this.id, OS.sel_shouldDelayWindowOrderingForEvent_, theEvent != null ? theEvent.id : 0); +} + +public NSArray subviews() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_subviews); + return result != 0 ? new NSArray(result) : null; +} + +public NSView superview() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_superview); + return result == this.id ? this : (result != 0 ? new NSView(result) : null); +} + +public NSArray trackingAreas() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_trackingAreas); + return result != 0 ? new NSArray(result) : null; +} + +public void unlockFocus() { + OS.objc_msgSend(this.id, OS.sel_unlockFocus); +} + +public void unregisterDraggedTypes() { + OS.objc_msgSend(this.id, OS.sel_unregisterDraggedTypes); +} + +public void updateTrackingAreas() { + OS.objc_msgSend(this.id, OS.sel_updateTrackingAreas); +} + +public void viewDidMoveToWindow() { + OS.objc_msgSend(this.id, OS.sel_viewDidMoveToWindow); +} + +public NSRect visibleRect() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_visibleRect); + return result; +} + +public NSWindow window() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_window); + return result != 0 ? new NSWindow(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java new file mode 100644 index 0000000000..78a713e179 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java @@ -0,0 +1,334 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSWindow extends NSResponder { + +public NSWindow() { + super(); +} + +public NSWindow(int /*long*/ id) { + super(id); +} + +public NSWindow(id id) { + super(id); +} + +public void addChildWindow(NSWindow childWin, int /*long*/ place) { + OS.objc_msgSend(this.id, OS.sel_addChildWindow_ordered_, childWin != null ? childWin.id : 0, place); +} + +public float /*double*/ alphaValue() { + return (float)OS.objc_msgSend_fpret(this.id, OS.sel_alphaValue); +} + +public boolean areCursorRectsEnabled() { + return OS.objc_msgSend_bool(this.id, OS.sel_areCursorRectsEnabled); +} + +public void becomeKeyWindow() { + OS.objc_msgSend(this.id, OS.sel_becomeKeyWindow); +} + +public boolean canBecomeKeyWindow() { + return OS.objc_msgSend_bool(this.id, OS.sel_canBecomeKeyWindow); +} + +public NSPoint cascadeTopLeftFromPoint(NSPoint topLeftPoint) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_cascadeTopLeftFromPoint_, topLeftPoint); + return result; +} + +public void close() { + OS.objc_msgSend(this.id, OS.sel_close); +} + +public NSRect contentRectForFrameRect(NSRect frameRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_contentRectForFrameRect_, frameRect); + return result; +} + +public NSView contentView() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); + return result != 0 ? new NSView(result) : null; +} + +public NSPoint convertBaseToScreen(NSPoint aPoint) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertBaseToScreen_, aPoint); + return result; +} + +public NSPoint convertScreenToBase(NSPoint aPoint) { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_convertScreenToBase_, aPoint); + return result; +} + +public NSButtonCell defaultButtonCell() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_defaultButtonCell); + return result != 0 ? new NSButtonCell(result) : null; +} + +public void deminiaturize(id sender) { + OS.objc_msgSend(this.id, OS.sel_deminiaturize_, sender != null ? sender.id : 0); +} + +public void disableCursorRects() { + OS.objc_msgSend(this.id, OS.sel_disableCursorRects); +} + +public void display() { + OS.objc_msgSend(this.id, OS.sel_display); +} + +public void enableCursorRects() { + OS.objc_msgSend(this.id, OS.sel_enableCursorRects); +} + +public NSText fieldEditor(boolean createFlag, id anObject) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fieldEditor_forObject_, createFlag, anObject != null ? anObject.id : 0); + return result != 0 ? new NSText(result) : null; +} + +public NSResponder firstResponder() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_firstResponder); + return result != 0 ? new NSResponder(result) : null; +} + +public NSRect frame() { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_frame); + return result; +} + +public NSRect frameRectForContentRect(NSRect contentRect) { + NSRect result = new NSRect(); + OS.objc_msgSend_stret(result, this.id, OS.sel_frameRectForContentRect_, contentRect); + return result; +} + +public NSGraphicsContext graphicsContext() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_graphicsContext); + return result != 0 ? new NSGraphicsContext(result) : null; +} + +public boolean hasShadow() { + return OS.objc_msgSend_bool(this.id, OS.sel_hasShadow); +} + +public NSWindow initWithContentRect(NSRect contentRect, int /*long*/ aStyle, int /*long*/ bufferingType, boolean flag) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContentRect_styleMask_backing_defer_, contentRect, aStyle, bufferingType, flag); + return result == this.id ? this : (result != 0 ? new NSWindow(result) : null); +} + +public NSWindow initWithContentRect(NSRect contentRect, int /*long*/ aStyle, int /*long*/ bufferingType, boolean flag, NSScreen screen) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContentRect_styleMask_backing_defer_screen_, contentRect, aStyle, bufferingType, flag, screen != null ? screen.id : 0); + return result == this.id ? this : (result != 0 ? new NSWindow(result) : null); +} + +public void invalidateShadow() { + OS.objc_msgSend(this.id, OS.sel_invalidateShadow); +} + +public boolean isDocumentEdited() { + return OS.objc_msgSend_bool(this.id, OS.sel_isDocumentEdited); +} + +public boolean isKeyWindow() { + return OS.objc_msgSend_bool(this.id, OS.sel_isKeyWindow); +} + +public boolean isMiniaturized() { + return OS.objc_msgSend_bool(this.id, OS.sel_isMiniaturized); +} + +public boolean isSheet() { + return OS.objc_msgSend_bool(this.id, OS.sel_isSheet); +} + +public boolean isVisible() { + return OS.objc_msgSend_bool(this.id, OS.sel_isVisible); +} + +public boolean isZoomed() { + return OS.objc_msgSend_bool(this.id, OS.sel_isZoomed); +} + +public boolean makeFirstResponder(NSResponder aResponder) { + return OS.objc_msgSend_bool(this.id, OS.sel_makeFirstResponder_, aResponder != null ? aResponder.id : 0); +} + +public void makeKeyAndOrderFront(id sender) { + OS.objc_msgSend(this.id, OS.sel_makeKeyAndOrderFront_, sender != null ? sender.id : 0); +} + +public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { + return (float)OS.objc_msgSend_fpret(OS.class_NSWindow, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +} + +public NSSize minSize() { + NSSize result = new NSSize(); + OS.objc_msgSend_stret(result, this.id, OS.sel_minSize); + return result; +} + +public void miniaturize(id sender) { + OS.objc_msgSend(this.id, OS.sel_miniaturize_, sender != null ? sender.id : 0); +} + +public NSPoint mouseLocationOutsideOfEventStream() { + NSPoint result = new NSPoint(); + OS.objc_msgSend_stret(result, this.id, OS.sel_mouseLocationOutsideOfEventStream); + return result; +} + +public void orderBack(id sender) { + OS.objc_msgSend(this.id, OS.sel_orderBack_, sender != null ? sender.id : 0); +} + +public void orderFront(id sender) { + OS.objc_msgSend(this.id, OS.sel_orderFront_, sender != null ? sender.id : 0); +} + +public void orderFrontRegardless() { + OS.objc_msgSend(this.id, OS.sel_orderFrontRegardless); +} + +public void orderOut(id sender) { + OS.objc_msgSend(this.id, OS.sel_orderOut_, sender != null ? sender.id : 0); +} + +public void orderWindow(int /*long*/ place, int /*long*/ otherWin) { + OS.objc_msgSend(this.id, OS.sel_orderWindow_relativeTo_, place, otherWin); +} + +public NSWindow parentWindow() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_parentWindow); + return result == this.id ? this : (result != 0 ? new NSWindow(result) : null); +} + +public void removeChildWindow(NSWindow childWin) { + OS.objc_msgSend(this.id, OS.sel_removeChildWindow_, childWin != null ? childWin.id : 0); +} + +public NSScreen screen() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_screen); + return result != 0 ? new NSScreen(result) : null; +} + +public void sendEvent(NSEvent theEvent) { + OS.objc_msgSend(this.id, OS.sel_sendEvent_, theEvent != null ? theEvent.id : 0); +} + +public void setAcceptsMouseMovedEvents(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setAcceptsMouseMovedEvents_, flag); +} + +public void setAlphaValue(float /*double*/ windowAlpha) { + OS.objc_msgSend(this.id, OS.sel_setAlphaValue_, windowAlpha); +} + +public void setBackgroundColor(NSColor color) { + OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); +} + +public void setContentView(NSView aView) { + OS.objc_msgSend(this.id, OS.sel_setContentView_, aView != null ? aView.id : 0); +} + +public void setDefaultButtonCell(NSButtonCell defButt) { + OS.objc_msgSend(this.id, OS.sel_setDefaultButtonCell_, defButt != null ? defButt.id : 0); +} + +public void setDelegate(id anObject) { + OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); +} + +public void setDocumentEdited(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setDocumentEdited_, flag); +} + +public void setFrame(NSRect frameRect, boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setFrame_display_, frameRect, flag); +} + +public void setFrame(NSRect frameRect, boolean displayFlag, boolean animateFlag) { + OS.objc_msgSend(this.id, OS.sel_setFrame_display_animate_, frameRect, displayFlag, animateFlag); +} + +public void setHasShadow(boolean hasShadow) { + OS.objc_msgSend(this.id, OS.sel_setHasShadow_, hasShadow); +} + +public void setLevel(int /*long*/ newLevel) { + OS.objc_msgSend(this.id, OS.sel_setLevel_, newLevel); +} + +public void setMinSize(NSSize size) { + OS.objc_msgSend(this.id, OS.sel_setMinSize_, size); +} + +public void setOpaque(boolean isOpaque) { + OS.objc_msgSend(this.id, OS.sel_setOpaque_, isOpaque); +} + +public void setReleasedWhenClosed(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setReleasedWhenClosed_, flag); +} + +public void setShowsResizeIndicator(boolean show) { + OS.objc_msgSend(this.id, OS.sel_setShowsResizeIndicator_, show); +} + +public void setShowsToolbarButton(boolean show) { + OS.objc_msgSend(this.id, OS.sel_setShowsToolbarButton_, show); +} + +public void setTitle(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); +} + +public void setToolbar(NSToolbar toolbar) { + OS.objc_msgSend(this.id, OS.sel_setToolbar_, toolbar != null ? toolbar.id : 0); +} + +public NSButton standardWindowButton(int /*long*/ b) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_standardWindowButton_, b); + return result != 0 ? new NSButton(result) : null; +} + +public int /*long*/ styleMask() { + return OS.objc_msgSend(this.id, OS.sel_styleMask); +} + +public void toggleToolbarShown(id sender) { + OS.objc_msgSend(this.id, OS.sel_toggleToolbarShown_, sender != null ? sender.id : 0); +} + +public NSToolbar toolbar() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_toolbar); + return result != 0 ? new NSToolbar(result) : null; +} + +public int /*long*/ windowNumber() { + return OS.objc_msgSend(this.id, OS.sel_windowNumber); +} + +public void zoom(id sender) { + OS.objc_msgSend(this.id, OS.sel_zoom_, sender != null ? sender.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWorkspace.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWorkspace.java new file mode 100644 index 0000000000..647ca08a06 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWorkspace.java @@ -0,0 +1,67 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class NSWorkspace extends NSObject { + +public NSWorkspace() { + super(); +} + +public NSWorkspace(int /*long*/ id) { + super(id); +} + +public NSWorkspace(id id) { + super(id); +} + +public NSString fullPathForApplication(NSString appName) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fullPathForApplication_, appName != null ? appName.id : 0); + return result != 0 ? new NSString(result) : null; +} + +public boolean getInfoForFile(NSString fullPath, int /*long*/ appName, int /*long*/ type) { + return OS.objc_msgSend_bool(this.id, OS.sel_getInfoForFile_application_type_, fullPath != null ? fullPath.id : 0, appName, type); +} + +public NSImage iconForFile(NSString fullPath) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_iconForFile_, fullPath != null ? fullPath.id : 0); + return result != 0 ? new NSImage(result) : null; +} + +public NSImage iconForFileType(NSString fileType) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_iconForFileType_, fileType != null ? fileType.id : 0); + return result != 0 ? new NSImage(result) : null; +} + +public boolean isFilePackageAtPath(NSString fullPath) { + return OS.objc_msgSend_bool(this.id, OS.sel_isFilePackageAtPath_, fullPath != null ? fullPath.id : 0); +} + +public boolean openFile(NSString fullPath, NSString appName) { + return OS.objc_msgSend_bool(this.id, OS.sel_openFile_withApplication_, fullPath != null ? fullPath.id : 0, appName != null ? appName.id : 0); +} + +public boolean openURL(NSURL url) { + return OS.objc_msgSend_bool(this.id, OS.sel_openURL_, url != null ? url.id : 0); +} + +public boolean openURLs(NSArray urls, NSString bundleIdentifier, int /*long*/ options, NSAppleEventDescriptor descriptor, int /*long*/ identifiers) { + return OS.objc_msgSend_bool(this.id, OS.sel_openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers_, urls != null ? urls.id : 0, bundleIdentifier != null ? bundleIdentifier.id : 0, options, descriptor != null ? descriptor.id : 0, identifiers); +} + +public static NSWorkspace sharedWorkspace() { + int /*long*/ result = OS.objc_msgSend(OS.class_NSWorkspace, OS.sel_sharedWorkspace); + return result != 0 ? new NSWorkspace(result) : null; +} + +} 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 new file mode 100644 index 0000000000..1e2610b252 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java @@ -0,0 +1,3383 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +import org.eclipse.swt.internal.*; + +public class OS extends C { + static { + Library.loadLibrary("swt-pi"); //$NON-NLS-1$ + } + + public static final int VERSION; + static { + int [] response = new int [1]; + OS.Gestalt (OS.gestaltSystemVersion, response); + VERSION = response [0] & 0xffff; + } + + public static final int gestaltSystemVersion = ('s'<<24) + ('y'<<16) + ('s'<<8) + 'v'; + public static final int noErr = 0; + public static final int kProcessTransformToForegroundApplication = 1; + public static final int kAlertCautionIcon = ('c'<<24) + ('a'<<16) + ('u'<<8) + 't'; + public static final int kAlertNoteIcon = ('n'<<24) + ('o'<<16) + ('t'<<8) + 'e'; + public static final int kAlertStopIcon = ('s'<<24) + ('t'<<16) + ('o'<<8) + 'p'; + public static final int shiftKey = 1 << 9; + public static final int kThemeMetricFocusRectOutset = 7; + public static final int kHIThemeOrientationNormal = 0; + public static final int kUIModeNormal = 0; + public static final int kUIModeContentHidden = 2; + public static final int kUIModeAllHidden = 3; + + public static final int /*long*/ sel_sendSearchSelection = sel_registerName("sendSearchSelection"); + public static final int /*long*/ sel_sendCancelSelection = sel_registerName("sendCancelSelection"); + public static final int /*long*/ sel_sendSelection = sel_registerName("sendSelection"); + public static final int /*long*/ sel_sendSelection_ = sel_registerName("sendSelection:"); + public static final int /*long*/ sel_sendDoubleSelection = sel_registerName("sendDoubleSelection"); + public static final int /*long*/ sel_sendVerticalSelection = sel_registerName("sendVerticalSelection"); + public static final int /*long*/ sel_sendHorizontalSelection = sel_registerName("sendHorizontalSelection"); + public static final int /*long*/ sel_timerProc_ = sel_registerName("timerProc:"); + public static final int /*long*/ sel_handleNotification_ = sel_registerName("handleNotification:"); + public static final int /*long*/ sel_callJava = sel_registerName("callJava:index:arg:"); + public static final int /*long*/ sel_quitRequested_ = sel_registerName("quitRequested:"); + public static final int /*long*/ sel_systemSettingsChanged_ = sel_registerName("systemSettingsChanged:"); + public static final int /*long*/ sel_panelDidEnd_returnCode_contextInfo_ = sel_registerName("panelDidEnd:returnCode:contextInfo:"); + public static final int /*long*/ sel_updateOpenGLContext_ = sel_registerName("updateOpenGLContext:"); + + public static final int /*long*/ sel_overwriteExistingFileCheck = sel_registerName("_overwriteExistingFileCheck:"); + + public static final int /*long*/ sel_setMovable_ = OS.sel_registerName("setMovable:"); + + public static final int /*long*/ sel_contextID = OS.sel_registerName("contextID"); + + public static final int /*long*/ sel__drawThemeProgressArea_ = OS.sel_registerName("_drawThemeProgressArea:"); + + public static final int /*long*/ sel__setNeedsToUseHeartBeatWindow_ = OS.sel_registerName("_setNeedsToUseHeartBeatWindow:"); + + public static final int /*long*/ class_WebPanelAuthenticationHandler = OS.objc_getClass("WebPanelAuthenticationHandler"); + public static final int /*long*/ sel_sharedHandler = sel_registerName("sharedHandler"); + public static final int /*long*/ sel_startAuthentication = sel_registerName("startAuthentication:window:"); + + /* These are not generated in order to avoid creating static methods on all classes */ + public static final int /*long*/ sel_isSelectorExcludedFromWebScript_ = sel_registerName("isSelectorExcludedFromWebScript:"); + public static final int /*long*/ sel_webScriptNameForSelector_ = sel_registerName("webScriptNameForSelector:"); + +/** JNI natives */ + +/** @method flags=jni */ +public static final native int /*long*/ NewGlobalRef(Object object); +/** + * @method flags=jni + * @param globalRef cast=(jobject) + */ +public static final native void DeleteGlobalRef(int /*long*/ globalRef); +/** @method flags=no_gen */ +public static final native Object JNIGetObject(int /*long*/ globalRef); + +/** Carbon calls */ + +public static final native int Gestalt(int selector, int[] response); +/** @param psn cast=(ProcessSerialNumber *) */ +public static final native int GetCurrentProcess(int[] psn); +/** @param psn cast=(ProcessSerialNumber *) */ +public static final native int SetFrontProcess(int[] psn); +/** @param psn cast=(ProcessSerialNumber *) */ +public static final native int TransformProcessType(int[] psn, int transformState); +public static final native int CPSSetProcessName(int[] psn, int /*long*/ name); +/** @method flags=dynamic */ +public static final native int SetThemeCursor(int themeCursor); +/** @method flags=dynamic */ +public static final native int GetCurrentButtonState(); +/** @method flags=dynamic */ +public static final native int GetDblTime(); +/** @method flags=dynamic + @param cast=(CGContextRef) */ +public static final native int /*long*/ CGContextCopyPath(int /*long*/ context); +/** @method flags=dynamic */ +public static final native int /*long*/ TISCopyCurrentKeyboardInputSource(); +/** @method flags=dynamic + @param cast=(TISInputSourceRef) + @param cast=(CFStringRef) */ +public static final native int /*long*/ TISGetInputSourceProperty (int /*long*/ inputSource, int /*long*/ propertyKey); +/** @method flags=no_gen */ +public static final native int /*long*/ kTISPropertyUnicodeKeyLayoutData(); +/** + * @method flags=dynamic + * @param inMode cast=(UInt32) + * @param inOptions cast=(UInt32) + */ +public static final native int SetSystemUIMode(int inMode, int inOptions); +/** + * @method flags=dynamic + * @param keyLayoutPtr cast=(const UCKeyboardLayout *) + * @param virtualKeyCode cast=(UInt16) + * @param keyAction cast=(UInt16) + * @param modifierKeyState cast=(UInt32) + * @param keyboardType cast=(UInt32) + * @param keyTranslateOptions cast=(OptionBits) + * @param deadKeyState cast=(UInt32 *) + * @param maxStringLength cast=(UniCharCount) + * @param actualStringLength cast=(UniCharCount *) + * @param unicodeString cast=(UniChar *) + */ +public static final native int UCKeyTranslate (int /*long*/ keyLayoutPtr, short virtualKeyCode, short keyAction, int modifierKeyState, int keyboardType, int keyTranslateOptions, int[] deadKeyState, int maxStringLength, int[] actualStringLength, char[] unicodeString); +/** + * @method flags=dynamic + * @param metric cast=(SInt32 *) +*/ +public static final native void GetThemeMetric(int themeConstant, int[] metric); +/** + * @method flags=dynamic + * @param inContext cast=(CGContextRef) +*/ +public static final native int HIThemeDrawFocusRect(CGRect inRect, boolean inHasFocus, int /*long*/ inContext, int inOrientation); + +public static final int kUCKeyActionDown = 0; +public static final int kUCKeyActionUp = 1; + +public static final int kThemeCopyArrowCursor = 1; +public static final int kThemeNotAllowedCursor = 18; +public static final int kThemeAliasArrowCursor = 2; + +/** @method flags=dynamic + * @param iFile cast=(const FSRef *) + * @param iContext cast=(ATSFontContext) + * @param iFormat cast=(ATSFontFormat) + * @param iReserved cast=(void *) + * @param iOptions cast=(ATSOptionFlags) + * @param oContainer cast=(ATSFontContainerRef *) + */ +public static final native int ATSFontActivateFromFileReference(byte[] iFile, int iContext, int iFormat, int /*long*/ iReserved, int iOptions, int /*long*/ [] oContainer); + +public static final int kATSFontContextLocal = 2; +public static final int kATSOptionFlagsDefault = 0; +public static final int kATSFontFormatUnspecified = 0; + +/** @method flags=dynamic + * @param path cast=(const UInt8 *) + * @param ref cast=(FSRef *) + * @param isDirectory cast=(Boolean *) + */ +public static final native int FSPathMakeRef (int /*long*/ path, byte[] ref, boolean[] isDirectory); + +/** @method flags=dynamic */ +public static final native byte LMGetKbdType(); + +/** @method flags=dynamic */ +public static final native int /*long*/ AcquireRootMenu (); +/** @method flags=dynamic */ +public static final native int CancelMenuTracking (int /*long*/ inRootMenu, boolean inImmediate, int inDismissalReason); + +/** C calls */ + +public static final native int getpid(); + +public static final native void call(int /*long*/ proc, int /*long*/ id, int /*long*/ sel); + +/** @method flags=no_gen */ +public static final native boolean __BIG_ENDIAN__(); +public static final int kCGBitmapByteOrderDefault = 0 << 12; +public static final int kCGBitmapByteOrder16Little = 1 << 12; +public static final int kCGBitmapByteOrder32Little = 2 << 12; +public static final int kCGBitmapByteOrder16Big = 3 << 12; +public static final int kCGBitmapByteOrder32Big = 4 << 12; +public static final int kCGBitmapByteOrder16Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder16Big : kCGBitmapByteOrder16Little; +public static final int kCGBitmapByteOrder32Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder32Big : kCGBitmapByteOrder32Little; + +/** + * @method flags=dynamic + * @param destRect flags=struct + * @param srcRect flags=struct + */ +public static final native void CGContextCopyWindowContentsToRect(int /*long*/ context, CGRect destRect, int /*long*/ contextID, int /*long*/ windowNumber, CGRect srcRect); + +/** QuickDraw calls */ + +/** @method flags=dynamic */ +public static final native int /*long*/ NewRgn(); +/** @method flags=dynamic */ +public static final native void RectRgn(int /*long*/ rgnHandle, short[] rect); +/** @method flags=dynamic */ +public static final native void OpenRgn(); +/** @method flags=dynamic */ +public static final native void OffsetRgn(int /*long*/ rgnHandle, short dh, short dv); +/** @method flags=dynamic */ +public static final native void MoveTo(short h, short v); +/** @method flags=dynamic */ +public static final native void LineTo(short h, short v); +/** @method flags=dynamic */ +public static final native void UnionRgn(int /*long*/ srcRgnA, int /*long*/ srcRgnB, int /*long*/ dstRgn); +/** @method flags=dynamic */ +public static final native void CloseRgn(int /*long*/ dstRgn); +/** @method flags=dynamic */ +public static final native void DisposeRgn(int /*long*/ rgnHandle); +/** + * @method flags=dynamic + * @param pt flags=struct,cast=(Point *) + */ +public static final native boolean PtInRgn(short[] pt, int /*long*/ rgnHandle); +/** @method flags=dynamic */ +public static final native void GetRegionBounds(int /*long*/ rgnHandle, short[] bounds); +/** @method flags=dynamic */ +public static final native void SectRgn(int /*long*/ srcRgnA, int /*long*/ srcRgnB, int /*long*/ dstRgn); +/** @method flags=dynamic */ +public static final native boolean EmptyRgn(int /*long*/ rgnHandle); +/** @method flags=dynamic */ +public static final native void DiffRgn(int /*long*/ srcRgnA, int /*long*/ srcRgnB, int /*long*/ dstRgn); +/** @method flags=dynamic */ +public static final native boolean RectInRgn(short[] rect, int /*long*/ rgnHandle); +/** @method flags=dynamic */ +public static final native int QDRegionToRects(int /*long*/ rgn, int dir, int /*long*/ proc, int /*long*/ userData); +/** @method flags=dynamic */ +public static final native void CopyRgn(int /*long*/ srcRgnHandle, int /*long*/ dstRgnHandle); +/** @method flags=dynamic */ +public static final native void SetRect(short[] r, short left, short top, short right, short bottom); +public static final int kQDParseRegionFromTop = (1 << 0); +public static final int kQDParseRegionFromBottom = (1 << 1); +public static final int kQDParseRegionFromLeft = (1 << 2); +public static final int kQDParseRegionFromRight = (1 << 3); +public static final int kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft; +public static final int kQDRegionToRectsMsgParse = 2; + +/** Custom callbacks */ + +/** @method flags=no_gen */ +public static final native int /*long*/ isFlipped_CALLBACK(); + +/** Custom structure return */ + +/** @method flags=no_gen */ +public static final native void NSIntersectionRect (NSRect result, NSRect aRect, NSRect bRect); +/** + * @method flags=no_gen + * @param display cast=(CGDirectDisplayID) + */ +public static final native void CGDisplayBounds(int display, CGRect rect); + +/** Objective-C runtime */ + +/** + * @param cls cast=(Class) + * @param name cast=(const char *),flags=critical + * @param types cast=(const char *),flags=critical + */ +public static final native boolean class_addIvar(int /*long*/ cls, byte[] name, int /*long*/ size, byte alignment, byte[] types); +/** + * @param cls cast=(Class) + * @param name cast=(SEL) + * @param imp cast=(IMP) + */ +public static final native boolean class_addMethod(int /*long*/ cls, int /*long*/ name, int /*long*/ imp, String types); +/** + * @param cls cast=(Class) + * @param protocol cast=(Protocol *) + */ +public static final native boolean class_addProtocol(int /*long*/ cls, int /*long*/ protocol); +/** + * @param method cast=(Method) + * @param aClass cast=(Class) + * @param aSelector cast=(SEL) + */ +public static final native int /*long*/ class_getClassMethod(int /*long*/ aClass, int /*long*/ aSelector); +/** + * @param cls cast=(Class) + * @param name cast=(SEL) + */ +public static final native int /*long*/ class_getMethodImplementation(int /*long*/ cls, int /*long*/ name); +/** + * @param cls cast=(Class) + * @param name cast=(SEL) + */ +public static final native int /*long*/ class_getInstanceMethod(int /*long*/ cls, int /*long*/ name); +/** @param cls cast=(Class) */ +public static final native int /*long*/ class_getSuperclass(int /*long*/ cls); +/** + * @param method cast=(Method) + * @param imp cast=(IMP) + */ +public static final native int /*long*/ method_setImplementation(int /*long*/ method, int /*long*/ imp); +/** + * @param cls cast=(Class) + * @param extraBytes cast=(size_t) + */ +public static final native int /*long*/ class_createInstance(int /*long*/ cls, int /*long*/ extraBytes); + +/** @method flags=no_gen */ +public static final native String class_getName(int /*long*/ cls); +/** @method flags=dynamic */ +public static final native void instrumentObjcMessageSends(boolean val); +/** @param superclass cast=(Class) */ +public static final native int /*long*/ objc_allocateClassPair(int /*long*/ superclass, String name, int /*long*/ extraBytes); +public static final native int /*long*/ objc_getClass(String className); +public static final native int /*long*/ objc_getMetaClass(String name); +public static final native int /*long*/ objc_getProtocol(String name); +public static final native int /*long*/ objc_lookUpClass(String className); +/** @param cls cast=(Class) */ +public static final native void objc_registerClassPair(int /*long*/ cls); +/** @param obj cast=(id) */ +public static final native int /*long*/ object_getClassName(int /*long*/ obj); +/** @param obj cast=(id) */ +public static final native int /*long*/ object_getClass(int /*long*/ obj); + +/** + * @param obj cast=(id) + * @param name cast=(const char*),flags=critical + * @param outValue cast=(void **),flags=critical + */ +public static final native int /*long*/ object_getInstanceVariable(int /*long*/ obj, byte[] name, int /*long*/ [] outValue); +/** + * @param obj cast=(id) + * @param name cast=(const char*),flags=critical + * @param value cast=(void *),flags=critical + */ +public static final native int /*long*/ object_setInstanceVariable(int /*long*/ obj, byte[] name, int /*long*/ value); +/** + * @param obj cast=(id) + * @param clazz cast=(Class) + */ +public static final native int /*long*/ object_setClass(int /*long*/ obj, int /*long*/ clazz); +public static final native int /*long*/ sel_registerName(String selectorName); +public static final native int objc_super_sizeof(); + + +/** This section is auto generated */ + +/** Custom callbacks */ +/** @method callback_types=id;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_accessibilityHitTest_(int /*long*/ func); +/** @method callback_types=NSAttributedString*;id;SEL;NSRange;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_attributedSubstringFromRange_(int /*long*/ func); +/** @method callback_types=BOOL;id;SEL;NSIndexSet*;NSPoint;,callback_flags=none;none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_canDragRowsWithIndexes_atPoint_(int /*long*/ func); +/** @method callback_types=NSSize;id;SEL;,callback_flags=struct;none;none; */ +public static final native int /*long*/ CALLBACK_cellSize(int /*long*/ func); +/** @method callback_types=NSUInteger;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_characterIndexForPoint_(int /*long*/ func); +/** @method callback_types=BOOL;id;SEL;NSEvent*;NSSize;BOOL;,callback_flags=none;none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_dragSelectionWithEvent_offset_slideBack_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSImage*;NSPoint;,callback_flags=none;none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_draggedImage_beganAt_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSImage*;NSPoint;NSDragOperation;,callback_flags=none;none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_draggedImage_endedAt_operation_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSImage*;NSRect;NSView*;,callback_flags=none;none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_drawImage_withFrame_inView_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSRect;NSView*;,callback_flags=none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_drawInteriorWithFrame_inView_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_drawRect_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSRect;NSView*;,callback_flags=none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_drawWithExpansionFrame_inView_(int /*long*/ func); +/** @method callback_types=NSRect;id;SEL;NSRect;NSView*;,callback_flags=struct;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_expansionFrameWithFrame_inView_(int /*long*/ func); +/** @method callback_types=NSRect;id;SEL;NSRange;,callback_flags=struct;none;none;struct; */ +public static final native int /*long*/ CALLBACK_firstRectForCharacterRange_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_highlightSelectionInClipRect_(int /*long*/ func); +/** @method callback_types=NSView*;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_hitTest_(int /*long*/ func); +/** @method callback_types=NSUInteger;id;SEL;NSEvent*;NSRect;NSView*;,callback_flags=none;none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_hitTestForEvent_inRect_ofView_(int /*long*/ func); +/** @method callback_types=NSRect;id;SEL;NSRect;,callback_flags=struct;none;none;struct; */ +public static final native int /*long*/ CALLBACK_imageRectForBounds_(int /*long*/ func); +/** @method callback_types=NSRange;id;SEL;,callback_flags=struct;none;none; */ +public static final native int /*long*/ CALLBACK_markedRange(int /*long*/ func); +/** @method callback_types=NSRange;id;SEL;,callback_flags=struct;none;none; */ +public static final native int /*long*/ CALLBACK_selectedRange(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_setFrame_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_setFrameOrigin_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSSize;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_setFrameSize_(int /*long*/ func); +/** @method callback_types=void;id;SEL;id;NSRange;,callback_flags=none;none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_setMarkedText_selectedRange_(int /*long*/ func); +/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_setNeedsDisplayInRect_(int /*long*/ func); +/** @method callback_types=BOOL;id;SEL;NSRange;NSString*;,callback_flags=none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_shouldChangeTextInRange_replacementString_(int /*long*/ func); +/** @method callback_types=NSRange;id;SEL;NSTextView*;NSRange;NSRange;,callback_flags=struct;none;none;none;struct;struct; */ +public static final native int /*long*/ CALLBACK_textView_willChangeSelectionFromCharacterRange_toCharacterRange_(int /*long*/ func); +/** @method callback_types=NSRect;id;SEL;NSRect;,callback_flags=struct;none;none;struct; */ +public static final native int /*long*/ CALLBACK_titleRectForBounds_(int /*long*/ func); +/** @method callback_types=NSString*;id;SEL;NSView*;NSToolTipTag;NSPoint;void*;,callback_flags=none;none;none;none;none;struct;none; */ +public static final native int /*long*/ CALLBACK_view_stringForToolTip_point_userData_(int /*long*/ func); +/** @method callback_types=void;id;SEL;WebView*;NSRect;,callback_flags=none;none;none;none;struct; */ +public static final native int /*long*/ CALLBACK_webView_setFrame_(int /*long*/ func); + +/** Classes */ +public static final int /*long*/ class_DOMDocument = objc_getClass("DOMDocument"); +public static final int /*long*/ class_DOMEvent = objc_getClass("DOMEvent"); +public static final int /*long*/ class_DOMKeyboardEvent = objc_getClass("DOMKeyboardEvent"); +public static final int /*long*/ class_DOMMouseEvent = objc_getClass("DOMMouseEvent"); +public static final int /*long*/ class_DOMUIEvent = objc_getClass("DOMUIEvent"); +public static final int /*long*/ class_DOMWheelEvent = objc_getClass("DOMWheelEvent"); +public static final int /*long*/ class_NSActionCell = objc_getClass("NSActionCell"); +public static final int /*long*/ class_NSAffineTransform = objc_getClass("NSAffineTransform"); +public static final int /*long*/ class_NSAlert = objc_getClass("NSAlert"); +public static final int /*long*/ class_NSAppleEventDescriptor = objc_getClass("NSAppleEventDescriptor"); +public static final int /*long*/ class_NSApplication = objc_getClass("NSApplication"); +public static final int /*long*/ class_NSArray = objc_getClass("NSArray"); +public static final int /*long*/ class_NSAttributedString = objc_getClass("NSAttributedString"); +public static final int /*long*/ class_NSAutoreleasePool = objc_getClass("NSAutoreleasePool"); +public static final int /*long*/ class_NSBezierPath = objc_getClass("NSBezierPath"); +public static final int /*long*/ class_NSBitmapImageRep = objc_getClass("NSBitmapImageRep"); +public static final int /*long*/ class_NSBox = objc_getClass("NSBox"); +public static final int /*long*/ class_NSBrowserCell = objc_getClass("NSBrowserCell"); +public static final int /*long*/ class_NSBundle = objc_getClass("NSBundle"); +public static final int /*long*/ class_NSButton = objc_getClass("NSButton"); +public static final int /*long*/ class_NSButtonCell = objc_getClass("NSButtonCell"); +public static final int /*long*/ class_NSCalendarDate = objc_getClass("NSCalendarDate"); +public static final int /*long*/ class_NSCell = objc_getClass("NSCell"); +public static final int /*long*/ class_NSCharacterSet = objc_getClass("NSCharacterSet"); +public static final int /*long*/ class_NSClipView = objc_getClass("NSClipView"); +public static final int /*long*/ class_NSCoder = objc_getClass("NSCoder"); +public static final int /*long*/ class_NSColor = objc_getClass("NSColor"); +public static final int /*long*/ class_NSColorPanel = objc_getClass("NSColorPanel"); +public static final int /*long*/ class_NSColorSpace = objc_getClass("NSColorSpace"); +public static final int /*long*/ class_NSComboBox = objc_getClass("NSComboBox"); +public static final int /*long*/ class_NSComboBoxCell = objc_getClass("NSComboBoxCell"); +public static final int /*long*/ class_NSControl = objc_getClass("NSControl"); +public static final int /*long*/ class_NSCursor = objc_getClass("NSCursor"); +public static final int /*long*/ class_NSData = objc_getClass("NSData"); +public static final int /*long*/ class_NSDate = objc_getClass("NSDate"); +public static final int /*long*/ class_NSDatePicker = objc_getClass("NSDatePicker"); +public static final int /*long*/ class_NSDictionary = objc_getClass("NSDictionary"); +public static final int /*long*/ class_NSDirectoryEnumerator = objc_getClass("NSDirectoryEnumerator"); +public static final int /*long*/ class_NSEnumerator = objc_getClass("NSEnumerator"); +public static final int /*long*/ class_NSError = objc_getClass("NSError"); +public static final int /*long*/ class_NSEvent = objc_getClass("NSEvent"); +public static final int /*long*/ class_NSFileManager = objc_getClass("NSFileManager"); +public static final int /*long*/ class_NSFileWrapper = objc_getClass("NSFileWrapper"); +public static final int /*long*/ class_NSFont = objc_getClass("NSFont"); +public static final int /*long*/ class_NSFontManager = objc_getClass("NSFontManager"); +public static final int /*long*/ class_NSFontPanel = objc_getClass("NSFontPanel"); +public static final int /*long*/ class_NSFormatter = objc_getClass("NSFormatter"); +public static final int /*long*/ class_NSGradient = objc_getClass("NSGradient"); +public static final int /*long*/ class_NSGraphicsContext = objc_getClass("NSGraphicsContext"); +public static final int /*long*/ class_NSHTTPCookie = objc_getClass("NSHTTPCookie"); +public static final int /*long*/ class_NSHTTPCookieStorage = objc_getClass("NSHTTPCookieStorage"); +public static final int /*long*/ class_NSImage = objc_getClass("NSImage"); +public static final int /*long*/ class_NSImageRep = objc_getClass("NSImageRep"); +public static final int /*long*/ class_NSImageView = objc_getClass("NSImageView"); +public static final int /*long*/ class_NSIndexSet = objc_getClass("NSIndexSet"); +public static final int /*long*/ class_NSInputManager = objc_getClass("NSInputManager"); +public static final int /*long*/ class_NSKeyedArchiver = objc_getClass("NSKeyedArchiver"); +public static final int /*long*/ class_NSKeyedUnarchiver = objc_getClass("NSKeyedUnarchiver"); +public static final int /*long*/ class_NSLayoutManager = objc_getClass("NSLayoutManager"); +public static final int /*long*/ class_NSMenu = objc_getClass("NSMenu"); +public static final int /*long*/ class_NSMenuItem = objc_getClass("NSMenuItem"); +public static final int /*long*/ class_NSMutableArray = objc_getClass("NSMutableArray"); +public static final int /*long*/ class_NSMutableAttributedString = objc_getClass("NSMutableAttributedString"); +public static final int /*long*/ class_NSMutableDictionary = objc_getClass("NSMutableDictionary"); +public static final int /*long*/ class_NSMutableIndexSet = objc_getClass("NSMutableIndexSet"); +public static final int /*long*/ class_NSMutableParagraphStyle = objc_getClass("NSMutableParagraphStyle"); +public static final int /*long*/ class_NSMutableSet = objc_getClass("NSMutableSet"); +public static final int /*long*/ class_NSMutableString = objc_getClass("NSMutableString"); +public static final int /*long*/ class_NSMutableURLRequest = objc_getClass("NSMutableURLRequest"); +public static final int /*long*/ class_NSNotification = objc_getClass("NSNotification"); +public static final int /*long*/ class_NSNotificationCenter = objc_getClass("NSNotificationCenter"); +public static final int /*long*/ class_NSNumber = objc_getClass("NSNumber"); +public static final int /*long*/ class_NSNumberFormatter = objc_getClass("NSNumberFormatter"); +public static final int /*long*/ class_NSObject = objc_getClass("NSObject"); +public static final int /*long*/ class_NSOpenGLContext = objc_getClass("NSOpenGLContext"); +public static final int /*long*/ class_NSOpenGLPixelFormat = objc_getClass("NSOpenGLPixelFormat"); +public static final int /*long*/ class_NSOpenPanel = objc_getClass("NSOpenPanel"); +public static final int /*long*/ class_NSOutlineView = objc_getClass("NSOutlineView"); +public static final int /*long*/ class_NSPanel = objc_getClass("NSPanel"); +public static final int /*long*/ class_NSParagraphStyle = objc_getClass("NSParagraphStyle"); +public static final int /*long*/ class_NSPasteboard = objc_getClass("NSPasteboard"); +public static final int /*long*/ class_NSPopUpButton = objc_getClass("NSPopUpButton"); +public static final int /*long*/ class_NSPrintInfo = objc_getClass("NSPrintInfo"); +public static final int /*long*/ class_NSPrintOperation = objc_getClass("NSPrintOperation"); +public static final int /*long*/ class_NSPrintPanel = objc_getClass("NSPrintPanel"); +public static final int /*long*/ class_NSPrinter = objc_getClass("NSPrinter"); +public static final int /*long*/ class_NSProgressIndicator = objc_getClass("NSProgressIndicator"); +public static final int /*long*/ class_NSResponder = objc_getClass("NSResponder"); +public static final int /*long*/ class_NSRunLoop = objc_getClass("NSRunLoop"); +public static final int /*long*/ class_NSSavePanel = objc_getClass("NSSavePanel"); +public static final int /*long*/ class_NSScreen = objc_getClass("NSScreen"); +public static final int /*long*/ class_NSScrollView = objc_getClass("NSScrollView"); +public static final int /*long*/ class_NSScroller = objc_getClass("NSScroller"); +public static final int /*long*/ class_NSSearchField = objc_getClass("NSSearchField"); +public static final int /*long*/ class_NSSearchFieldCell = objc_getClass("NSSearchFieldCell"); +public static final int /*long*/ class_NSSecureTextField = objc_getClass("NSSecureTextField"); +public static final int /*long*/ class_NSSegmentedCell = objc_getClass("NSSegmentedCell"); +public static final int /*long*/ class_NSSet = objc_getClass("NSSet"); +public static final int /*long*/ class_NSSlider = objc_getClass("NSSlider"); +public static final int /*long*/ class_NSStatusBar = objc_getClass("NSStatusBar"); +public static final int /*long*/ class_NSStatusItem = objc_getClass("NSStatusItem"); +public static final int /*long*/ class_NSStepper = objc_getClass("NSStepper"); +public static final int /*long*/ class_NSString = objc_getClass("NSString"); +public static final int /*long*/ class_NSTabView = objc_getClass("NSTabView"); +public static final int /*long*/ class_NSTabViewItem = objc_getClass("NSTabViewItem"); +public static final int /*long*/ class_NSTableColumn = objc_getClass("NSTableColumn"); +public static final int /*long*/ class_NSTableHeaderCell = objc_getClass("NSTableHeaderCell"); +public static final int /*long*/ class_NSTableHeaderView = objc_getClass("NSTableHeaderView"); +public static final int /*long*/ class_NSTableView = objc_getClass("NSTableView"); +public static final int /*long*/ class_NSText = objc_getClass("NSText"); +public static final int /*long*/ class_NSTextAttachment = objc_getClass("NSTextAttachment"); +public static final int /*long*/ class_NSTextContainer = objc_getClass("NSTextContainer"); +public static final int /*long*/ class_NSTextField = objc_getClass("NSTextField"); +public static final int /*long*/ class_NSTextFieldCell = objc_getClass("NSTextFieldCell"); +public static final int /*long*/ class_NSTextStorage = objc_getClass("NSTextStorage"); +public static final int /*long*/ class_NSTextTab = objc_getClass("NSTextTab"); +public static final int /*long*/ class_NSTextView = objc_getClass("NSTextView"); +public static final int /*long*/ class_NSThread = objc_getClass("NSThread"); +public static final int /*long*/ class_NSTimeZone = objc_getClass("NSTimeZone"); +public static final int /*long*/ class_NSTimer = objc_getClass("NSTimer"); +public static final int /*long*/ class_NSToolbar = objc_getClass("NSToolbar"); +public static final int /*long*/ class_NSToolbarItem = objc_getClass("NSToolbarItem"); +public static final int /*long*/ class_NSTrackingArea = objc_getClass("NSTrackingArea"); +public static final int /*long*/ class_NSTypesetter = objc_getClass("NSTypesetter"); +public static final int /*long*/ class_NSURL = objc_getClass("NSURL"); +public static final int /*long*/ class_NSURLAuthenticationChallenge = objc_getClass("NSURLAuthenticationChallenge"); +public static final int /*long*/ class_NSURLCredential = objc_getClass("NSURLCredential"); +public static final int /*long*/ class_NSURLDownload = objc_getClass("NSURLDownload"); +public static final int /*long*/ class_NSURLProtectionSpace = objc_getClass("NSURLProtectionSpace"); +public static final int /*long*/ class_NSURLRequest = objc_getClass("NSURLRequest"); +public static final int /*long*/ class_NSValue = objc_getClass("NSValue"); +public static final int /*long*/ class_NSView = objc_getClass("NSView"); +public static final int /*long*/ class_NSWindow = objc_getClass("NSWindow"); +public static final int /*long*/ class_NSWorkspace = objc_getClass("NSWorkspace"); +public static final int /*long*/ class_WebDataSource = objc_getClass("WebDataSource"); +public static final int /*long*/ class_WebFrame = objc_getClass("WebFrame"); +public static final int /*long*/ class_WebFrameView = objc_getClass("WebFrameView"); +public static final int /*long*/ class_WebPreferences = objc_getClass("WebPreferences"); +public static final int /*long*/ class_WebScriptObject = objc_getClass("WebScriptObject"); +public static final int /*long*/ class_WebUndefined = objc_getClass("WebUndefined"); +public static final int /*long*/ class_WebView = objc_getClass("WebView"); + +/** Protocols */ +public static final int /*long*/ protocol_NSAccessibility = objc_getProtocol("NSAccessibility"); +public static final int /*long*/ protocol_NSAccessibilityAdditions = objc_getProtocol("NSAccessibilityAdditions"); +public static final int /*long*/ protocol_NSApplicationDelegate = objc_getProtocol("NSApplicationDelegate"); +public static final int /*long*/ protocol_NSApplicationNotifications = objc_getProtocol("NSApplicationNotifications"); +public static final int /*long*/ protocol_NSColorPanelResponderMethod = objc_getProtocol("NSColorPanelResponderMethod"); +public static final int /*long*/ protocol_NSComboBoxNotifications = objc_getProtocol("NSComboBoxNotifications"); +public static final int /*long*/ protocol_NSDraggingDestination = objc_getProtocol("NSDraggingDestination"); +public static final int /*long*/ protocol_NSDraggingSource = objc_getProtocol("NSDraggingSource"); +public static final int /*long*/ protocol_NSFontManagerResponderMethod = objc_getProtocol("NSFontManagerResponderMethod"); +public static final int /*long*/ protocol_NSMenuDelegate = objc_getProtocol("NSMenuDelegate"); +public static final int /*long*/ protocol_NSOutlineViewDataSource = objc_getProtocol("NSOutlineViewDataSource"); +public static final int /*long*/ protocol_NSOutlineViewDelegate = objc_getProtocol("NSOutlineViewDelegate"); +public static final int /*long*/ protocol_NSOutlineViewNotifications = objc_getProtocol("NSOutlineViewNotifications"); +public static final int /*long*/ protocol_NSPasteboardOwner = objc_getProtocol("NSPasteboardOwner"); +public static final int /*long*/ protocol_NSSavePanelDelegate = objc_getProtocol("NSSavePanelDelegate"); +public static final int /*long*/ protocol_NSTabViewDelegate = objc_getProtocol("NSTabViewDelegate"); +public static final int /*long*/ protocol_NSTableDataSource = objc_getProtocol("NSTableDataSource"); +public static final int /*long*/ protocol_NSTableViewDelegate = objc_getProtocol("NSTableViewDelegate"); +public static final int /*long*/ protocol_NSTableViewNotifications = objc_getProtocol("NSTableViewNotifications"); +public static final int /*long*/ protocol_NSTextDelegate = objc_getProtocol("NSTextDelegate"); +public static final int /*long*/ protocol_NSTextInput = objc_getProtocol("NSTextInput"); +public static final int /*long*/ protocol_NSTextViewDelegate = objc_getProtocol("NSTextViewDelegate"); +public static final int /*long*/ protocol_NSToolTipOwner = objc_getProtocol("NSToolTipOwner"); +public static final int /*long*/ protocol_NSToolbarDelegate = objc_getProtocol("NSToolbarDelegate"); +public static final int /*long*/ protocol_NSToolbarNotifications = objc_getProtocol("NSToolbarNotifications"); +public static final int /*long*/ protocol_NSURLDownloadDelegate = objc_getProtocol("NSURLDownloadDelegate"); +public static final int /*long*/ protocol_NSWindowDelegate = objc_getProtocol("NSWindowDelegate"); +public static final int /*long*/ protocol_NSWindowNotifications = objc_getProtocol("NSWindowNotifications"); +public static final int /*long*/ protocol_WebDocumentRepresentation = objc_getProtocol("WebDocumentRepresentation"); +public static final int /*long*/ protocol_WebFrameLoadDelegate = objc_getProtocol("WebFrameLoadDelegate"); +public static final int /*long*/ protocol_WebOpenPanelResultListener = objc_getProtocol("WebOpenPanelResultListener"); +public static final int /*long*/ protocol_WebPolicyDecisionListener = objc_getProtocol("WebPolicyDecisionListener"); +public static final int /*long*/ protocol_WebPolicyDelegate = objc_getProtocol("WebPolicyDelegate"); +public static final int /*long*/ protocol_WebResourceLoadDelegate = objc_getProtocol("WebResourceLoadDelegate"); +public static final int /*long*/ protocol_WebUIDelegate = objc_getProtocol("WebUIDelegate"); + +/** Selectors */ +public static final int /*long*/ sel_CGEvent = sel_registerName("CGEvent"); +public static final int /*long*/ sel_DOMDocument = sel_registerName("DOMDocument"); +public static final int /*long*/ sel_IBeamCursor = sel_registerName("IBeamCursor"); +public static final int /*long*/ sel_TIFFRepresentation = sel_registerName("TIFFRepresentation"); +public static final int /*long*/ sel_URL = sel_registerName("URL"); +public static final int /*long*/ sel_URLFromPasteboard_ = sel_registerName("URLFromPasteboard:"); +public static final int /*long*/ sel_URLWithString_ = sel_registerName("URLWithString:"); +public static final int /*long*/ sel_UTF8String = sel_registerName("UTF8String"); +public static final int /*long*/ sel_abortEditing = sel_registerName("abortEditing"); +public static final int /*long*/ sel_absoluteString = sel_registerName("absoluteString"); +public static final int /*long*/ sel_acceptsFirstMouse_ = sel_registerName("acceptsFirstMouse:"); +public static final int /*long*/ sel_acceptsFirstResponder = sel_registerName("acceptsFirstResponder"); +public static final int /*long*/ sel_accessibilityActionDescription_ = sel_registerName("accessibilityActionDescription:"); +public static final int /*long*/ sel_accessibilityActionNames = sel_registerName("accessibilityActionNames"); +public static final int /*long*/ sel_accessibilityAttributeNames = sel_registerName("accessibilityAttributeNames"); +public static final int /*long*/ sel_accessibilityAttributeValue_ = sel_registerName("accessibilityAttributeValue:"); +public static final int /*long*/ sel_accessibilityAttributeValue_forParameter_ = sel_registerName("accessibilityAttributeValue:forParameter:"); +public static final int /*long*/ sel_accessibilityFocusedUIElement = sel_registerName("accessibilityFocusedUIElement"); +public static final int /*long*/ sel_accessibilityHitTest_ = sel_registerName("accessibilityHitTest:"); +public static final int /*long*/ sel_accessibilityIsAttributeSettable_ = sel_registerName("accessibilityIsAttributeSettable:"); +public static final int /*long*/ sel_accessibilityIsIgnored = sel_registerName("accessibilityIsIgnored"); +public static final int /*long*/ sel_accessibilityParameterizedAttributeNames = sel_registerName("accessibilityParameterizedAttributeNames"); +public static final int /*long*/ sel_accessibilityPerformAction_ = sel_registerName("accessibilityPerformAction:"); +public static final int /*long*/ sel_accessibilitySetOverrideValue_forAttribute_ = sel_registerName("accessibilitySetOverrideValue:forAttribute:"); +public static final int /*long*/ sel_accessibilitySetValue_forAttribute_ = sel_registerName("accessibilitySetValue:forAttribute:"); +public static final int /*long*/ sel_action = sel_registerName("action"); +public static final int /*long*/ sel_activateIgnoringOtherApps_ = sel_registerName("activateIgnoringOtherApps:"); +public static final int /*long*/ sel_addAttribute_value_range_ = sel_registerName("addAttribute:value:range:"); +public static final int /*long*/ sel_addButtonWithTitle_ = sel_registerName("addButtonWithTitle:"); +public static final int /*long*/ sel_addChildWindow_ordered_ = sel_registerName("addChildWindow:ordered:"); +public static final int /*long*/ sel_addClip = sel_registerName("addClip"); +public static final int /*long*/ sel_addEventListener_listener_useCapture_ = sel_registerName("addEventListener:listener:useCapture:"); +public static final int /*long*/ sel_addIndex_ = sel_registerName("addIndex:"); +public static final int /*long*/ sel_addItem_ = sel_registerName("addItem:"); +public static final int /*long*/ sel_addItemWithObjectValue_ = sel_registerName("addItemWithObjectValue:"); +public static final int /*long*/ sel_addItemWithTitle_action_keyEquivalent_ = sel_registerName("addItemWithTitle:action:keyEquivalent:"); +public static final int /*long*/ sel_addLayoutManager_ = sel_registerName("addLayoutManager:"); +public static final int /*long*/ sel_addObject_ = sel_registerName("addObject:"); +public static final int /*long*/ sel_addObjectsFromArray_ = sel_registerName("addObjectsFromArray:"); +public static final int /*long*/ sel_addObserver_selector_name_object_ = sel_registerName("addObserver:selector:name:object:"); +public static final int /*long*/ sel_addRepresentation_ = sel_registerName("addRepresentation:"); +public static final int /*long*/ sel_addSubview_ = sel_registerName("addSubview:"); +public static final int /*long*/ sel_addSubview_positioned_relativeTo_ = sel_registerName("addSubview:positioned:relativeTo:"); +public static final int /*long*/ sel_addTabStop_ = sel_registerName("addTabStop:"); +public static final int /*long*/ sel_addTabViewItem_ = sel_registerName("addTabViewItem:"); +public static final int /*long*/ sel_addTableColumn_ = sel_registerName("addTableColumn:"); +public static final int /*long*/ sel_addTemporaryAttribute_value_forCharacterRange_ = sel_registerName("addTemporaryAttribute:value:forCharacterRange:"); +public static final int /*long*/ sel_addTextContainer_ = sel_registerName("addTextContainer:"); +public static final int /*long*/ sel_addTimer_forMode_ = sel_registerName("addTimer:forMode:"); +public static final int /*long*/ sel_addToolTipRect_owner_userData_ = sel_registerName("addToolTipRect:owner:userData:"); +public static final int /*long*/ sel_addTypes_owner_ = sel_registerName("addTypes:owner:"); +public static final int /*long*/ sel_alignment = sel_registerName("alignment"); +public static final int /*long*/ sel_allKeys = sel_registerName("allKeys"); +public static final int /*long*/ sel_alloc = sel_registerName("alloc"); +public static final int /*long*/ sel_allowsColumnReordering = sel_registerName("allowsColumnReordering"); +public static final int /*long*/ sel_allowsFloats = sel_registerName("allowsFloats"); +public static final int /*long*/ sel_alphaComponent = sel_registerName("alphaComponent"); +public static final int /*long*/ sel_alphaValue = sel_registerName("alphaValue"); +public static final int /*long*/ sel_altKey = sel_registerName("altKey"); +public static final int /*long*/ sel_alternateSelectedControlColor = sel_registerName("alternateSelectedControlColor"); +public static final int /*long*/ sel_alternateSelectedControlTextColor = sel_registerName("alternateSelectedControlTextColor"); +public static final int /*long*/ sel_alwaysShowsDecimalSeparator = sel_registerName("alwaysShowsDecimalSeparator"); +public static final int /*long*/ sel_appendAttributedString_ = sel_registerName("appendAttributedString:"); +public static final int /*long*/ sel_appendBezierPath_ = sel_registerName("appendBezierPath:"); +public static final int /*long*/ sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_ = sel_registerName("appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:"); +public static final int /*long*/ sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_clockwise_ = sel_registerName("appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:"); +public static final int /*long*/ sel_appendBezierPathWithGlyphs_count_inFont_ = sel_registerName("appendBezierPathWithGlyphs:count:inFont:"); +public static final int /*long*/ sel_appendBezierPathWithOvalInRect_ = sel_registerName("appendBezierPathWithOvalInRect:"); +public static final int /*long*/ sel_appendBezierPathWithRect_ = sel_registerName("appendBezierPathWithRect:"); +public static final int /*long*/ sel_appendBezierPathWithRoundedRect_xRadius_yRadius_ = sel_registerName("appendBezierPathWithRoundedRect:xRadius:yRadius:"); +public static final int /*long*/ sel_appendString_ = sel_registerName("appendString:"); +public static final int /*long*/ sel_applicationDidBecomeActive_ = sel_registerName("applicationDidBecomeActive:"); +public static final int /*long*/ sel_applicationDidFinishLaunching_ = sel_registerName("applicationDidFinishLaunching:"); +public static final int /*long*/ sel_applicationDidResignActive_ = sel_registerName("applicationDidResignActive:"); +public static final int /*long*/ sel_applicationShouldTerminate_ = sel_registerName("applicationShouldTerminate:"); +public static final int /*long*/ sel_applicationWillFinishLaunching_ = sel_registerName("applicationWillFinishLaunching:"); +public static final int /*long*/ sel_applicationWillTerminate_ = sel_registerName("applicationWillTerminate:"); +public static final int /*long*/ sel_archivedDataWithRootObject_ = sel_registerName("archivedDataWithRootObject:"); +public static final int /*long*/ sel_areCursorRectsEnabled = sel_registerName("areCursorRectsEnabled"); +public static final int /*long*/ sel_array = sel_registerName("array"); +public static final int /*long*/ sel_arrayWithCapacity_ = sel_registerName("arrayWithCapacity:"); +public static final int /*long*/ sel_arrayWithObject_ = sel_registerName("arrayWithObject:"); +public static final int /*long*/ sel_arrowCursor = sel_registerName("arrowCursor"); +public static final int /*long*/ sel_ascender = sel_registerName("ascender"); +public static final int /*long*/ sel_attributedStringValue = sel_registerName("attributedStringValue"); +public static final int /*long*/ sel_attributedStringWithAttachment_ = sel_registerName("attributedStringWithAttachment:"); +public static final int /*long*/ sel_attributedSubstringFromRange_ = sel_registerName("attributedSubstringFromRange:"); +public static final int /*long*/ sel_attributedTitle = sel_registerName("attributedTitle"); +public static final int /*long*/ sel_attributesAtIndex_longestEffectiveRange_inRange_ = sel_registerName("attributesAtIndex:longestEffectiveRange:inRange:"); +public static final int /*long*/ sel_autorelease = sel_registerName("autorelease"); +public static final int /*long*/ sel_availableFontFamilies = sel_registerName("availableFontFamilies"); +public static final int /*long*/ sel_availableFonts = sel_registerName("availableFonts"); +public static final int /*long*/ sel_availableMembersOfFontFamily_ = sel_registerName("availableMembersOfFontFamily:"); +public static final int /*long*/ sel_availableTypeFromArray_ = sel_registerName("availableTypeFromArray:"); +public static final int /*long*/ sel_baselineOffsetInLayoutManager_glyphIndex_ = sel_registerName("baselineOffsetInLayoutManager:glyphIndex:"); +public static final int /*long*/ sel_becomeFirstResponder = sel_registerName("becomeFirstResponder"); +public static final int /*long*/ sel_becomeKeyWindow = sel_registerName("becomeKeyWindow"); +public static final int /*long*/ sel_beginDocument = sel_registerName("beginDocument"); +public static final int /*long*/ sel_beginEditing = sel_registerName("beginEditing"); +public static final int /*long*/ sel_beginPageInRect_atPlacement_ = sel_registerName("beginPageInRect:atPlacement:"); +public static final int /*long*/ sel_beginSheet_modalForWindow_modalDelegate_didEndSelector_contextInfo_ = sel_registerName("beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:"); +public static final int /*long*/ sel_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_ = sel_registerName("beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:"); +public static final int /*long*/ sel_beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo_ = sel_registerName("beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:"); +public static final int /*long*/ sel_bestRepresentationForDevice_ = sel_registerName("bestRepresentationForDevice:"); +public static final int /*long*/ sel_bezierPath = sel_registerName("bezierPath"); +public static final int /*long*/ sel_bezierPathByFlatteningPath = sel_registerName("bezierPathByFlatteningPath"); +public static final int /*long*/ sel_bezierPathWithRect_ = sel_registerName("bezierPathWithRect:"); +public static final int /*long*/ sel_bitmapData = sel_registerName("bitmapData"); +public static final int /*long*/ sel_bitmapFormat = sel_registerName("bitmapFormat"); +public static final int /*long*/ sel_bitsPerPixel = sel_registerName("bitsPerPixel"); +public static final int /*long*/ sel_bitsPerSample = sel_registerName("bitsPerSample"); +public static final int /*long*/ sel_blackColor = sel_registerName("blackColor"); +public static final int /*long*/ sel_blueComponent = sel_registerName("blueComponent"); +public static final int /*long*/ sel_boolValue = sel_registerName("boolValue"); +public static final int /*long*/ sel_borderWidth = sel_registerName("borderWidth"); +public static final int /*long*/ sel_boundingRectForGlyphRange_inTextContainer_ = sel_registerName("boundingRectForGlyphRange:inTextContainer:"); +public static final int /*long*/ sel_bounds = sel_registerName("bounds"); +public static final int /*long*/ sel_bundleIdentifier = sel_registerName("bundleIdentifier"); +public static final int /*long*/ sel_bundlePath = sel_registerName("bundlePath"); +public static final int /*long*/ sel_bundleWithIdentifier_ = sel_registerName("bundleWithIdentifier:"); +public static final int /*long*/ sel_bundleWithPath_ = sel_registerName("bundleWithPath:"); +public static final int /*long*/ sel_button = sel_registerName("button"); +public static final int /*long*/ sel_buttonNumber = sel_registerName("buttonNumber"); +public static final int /*long*/ sel_bytes = sel_registerName("bytes"); +public static final int /*long*/ sel_bytesPerPlane = sel_registerName("bytesPerPlane"); +public static final int /*long*/ sel_bytesPerRow = sel_registerName("bytesPerRow"); +public static final int /*long*/ sel_calendarDate = sel_registerName("calendarDate"); +public static final int /*long*/ sel_canBecomeKeyView = sel_registerName("canBecomeKeyView"); +public static final int /*long*/ sel_canBecomeKeyWindow = sel_registerName("canBecomeKeyWindow"); +public static final int /*long*/ sel_canDragRowsWithIndexes_atPoint_ = sel_registerName("canDragRowsWithIndexes:atPoint:"); +public static final int /*long*/ sel_canGoBack = sel_registerName("canGoBack"); +public static final int /*long*/ sel_canGoForward = sel_registerName("canGoForward"); +public static final int /*long*/ sel_canShowMIMEType_ = sel_registerName("canShowMIMEType:"); +public static final int /*long*/ sel_cancel = sel_registerName("cancel"); +public static final int /*long*/ sel_cancelAuthenticationChallenge_ = sel_registerName("cancelAuthenticationChallenge:"); +public static final int /*long*/ sel_cancelButtonCell = sel_registerName("cancelButtonCell"); +public static final int /*long*/ sel_cancelTracking = sel_registerName("cancelTracking"); +public static final int /*long*/ sel_cascadeTopLeftFromPoint_ = sel_registerName("cascadeTopLeftFromPoint:"); +public static final int /*long*/ sel_cell = sel_registerName("cell"); +public static final int /*long*/ sel_cellClass = sel_registerName("cellClass"); +public static final int /*long*/ sel_cellSize = sel_registerName("cellSize"); +public static final int /*long*/ sel_cellSizeForBounds_ = sel_registerName("cellSizeForBounds:"); +public static final int /*long*/ sel_changeColor_ = sel_registerName("changeColor:"); +public static final int /*long*/ sel_changeFont_ = sel_registerName("changeFont:"); +public static final int /*long*/ sel_charCode = sel_registerName("charCode"); +public static final int /*long*/ sel_characterAtIndex_ = sel_registerName("characterAtIndex:"); +public static final int /*long*/ sel_characterIndexForGlyphAtIndex_ = sel_registerName("characterIndexForGlyphAtIndex:"); +public static final int /*long*/ sel_characterIndexForInsertionAtPoint_ = sel_registerName("characterIndexForInsertionAtPoint:"); +public static final int /*long*/ sel_characterIndexForPoint_ = sel_registerName("characterIndexForPoint:"); +public static final int /*long*/ sel_characterIsMember_ = sel_registerName("characterIsMember:"); +public static final int /*long*/ sel_characters = sel_registerName("characters"); +public static final int /*long*/ sel_charactersIgnoringModifiers = sel_registerName("charactersIgnoringModifiers"); +public static final int /*long*/ sel_chooseFilename_ = sel_registerName("chooseFilename:"); +public static final int /*long*/ sel_className = sel_registerName("className"); +public static final int /*long*/ sel_cleanUpOperation = sel_registerName("cleanUpOperation"); +public static final int /*long*/ sel_clearColor = sel_registerName("clearColor"); +public static final int /*long*/ sel_clearCurrentContext = sel_registerName("clearCurrentContext"); +public static final int /*long*/ sel_clearDrawable = sel_registerName("clearDrawable"); +public static final int /*long*/ sel_clickCount = sel_registerName("clickCount"); +public static final int /*long*/ sel_clickedColumn = sel_registerName("clickedColumn"); +public static final int /*long*/ sel_clickedRow = sel_registerName("clickedRow"); +public static final int /*long*/ sel_clientX = sel_registerName("clientX"); +public static final int /*long*/ sel_clientY = sel_registerName("clientY"); +public static final int /*long*/ sel_close = sel_registerName("close"); +public static final int /*long*/ sel_closePath = sel_registerName("closePath"); +public static final int /*long*/ sel_code = sel_registerName("code"); +public static final int /*long*/ sel_collapseItem_ = sel_registerName("collapseItem:"); +public static final int /*long*/ sel_collapseItem_collapseChildren_ = sel_registerName("collapseItem:collapseChildren:"); +public static final int /*long*/ sel_color = sel_registerName("color"); +public static final int /*long*/ sel_colorAtX_y_ = sel_registerName("colorAtX:y:"); +public static final int /*long*/ sel_colorSpaceName = sel_registerName("colorSpaceName"); +public static final int /*long*/ sel_colorUsingColorSpace_ = sel_registerName("colorUsingColorSpace:"); +public static final int /*long*/ sel_colorUsingColorSpaceName_ = sel_registerName("colorUsingColorSpaceName:"); +public static final int /*long*/ sel_colorWithDeviceRed_green_blue_alpha_ = sel_registerName("colorWithDeviceRed:green:blue:alpha:"); +public static final int /*long*/ sel_colorWithPatternImage_ = sel_registerName("colorWithPatternImage:"); +public static final int /*long*/ sel_columnAtPoint_ = sel_registerName("columnAtPoint:"); +public static final int /*long*/ sel_columnIndexesInRect_ = sel_registerName("columnIndexesInRect:"); +public static final int /*long*/ sel_columnWithIdentifier_ = sel_registerName("columnWithIdentifier:"); +public static final int /*long*/ sel_comboBoxSelectionDidChange_ = sel_registerName("comboBoxSelectionDidChange:"); +public static final int /*long*/ sel_comboBoxWillDismiss_ = sel_registerName("comboBoxWillDismiss:"); +public static final int /*long*/ sel_compare_ = sel_registerName("compare:"); +public static final int /*long*/ sel_concat = sel_registerName("concat"); +public static final int /*long*/ sel_conformsToProtocol_ = sel_registerName("conformsToProtocol:"); +public static final int /*long*/ sel_containerSize = sel_registerName("containerSize"); +public static final int /*long*/ sel_containsIndex_ = sel_registerName("containsIndex:"); +public static final int /*long*/ sel_containsObject_ = sel_registerName("containsObject:"); +public static final int /*long*/ sel_containsPoint_ = sel_registerName("containsPoint:"); +public static final int /*long*/ sel_contentRect = sel_registerName("contentRect"); +public static final int /*long*/ sel_contentRectForFrameRect_ = sel_registerName("contentRectForFrameRect:"); +public static final int /*long*/ sel_contentSize = sel_registerName("contentSize"); +public static final int /*long*/ sel_contentSizeForFrameSize_hasHorizontalScroller_hasVerticalScroller_borderType_ = sel_registerName("contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType:"); +public static final int /*long*/ sel_contentView = sel_registerName("contentView"); +public static final int /*long*/ sel_contentViewMargins = sel_registerName("contentViewMargins"); +public static final int /*long*/ sel_context = sel_registerName("context"); +public static final int /*long*/ sel_controlBackgroundColor = sel_registerName("controlBackgroundColor"); +public static final int /*long*/ sel_controlContentFontOfSize_ = sel_registerName("controlContentFontOfSize:"); +public static final int /*long*/ sel_controlDarkShadowColor = sel_registerName("controlDarkShadowColor"); +public static final int /*long*/ sel_controlHighlightColor = sel_registerName("controlHighlightColor"); +public static final int /*long*/ sel_controlLightHighlightColor = sel_registerName("controlLightHighlightColor"); +public static final int /*long*/ sel_controlPointBounds = sel_registerName("controlPointBounds"); +public static final int /*long*/ sel_controlShadowColor = sel_registerName("controlShadowColor"); +public static final int /*long*/ sel_controlSize = sel_registerName("controlSize"); +public static final int /*long*/ sel_controlTextColor = sel_registerName("controlTextColor"); +public static final int /*long*/ sel_convertBaseToScreen_ = sel_registerName("convertBaseToScreen:"); +public static final int /*long*/ sel_convertFont_toHaveTrait_ = sel_registerName("convertFont:toHaveTrait:"); +public static final int /*long*/ sel_convertPoint_fromView_ = sel_registerName("convertPoint:fromView:"); +public static final int /*long*/ sel_convertPoint_toView_ = sel_registerName("convertPoint:toView:"); +public static final int /*long*/ sel_convertPointFromBase_ = sel_registerName("convertPointFromBase:"); +public static final int /*long*/ sel_convertPointToBase_ = sel_registerName("convertPointToBase:"); +public static final int /*long*/ sel_convertRect_fromView_ = sel_registerName("convertRect:fromView:"); +public static final int /*long*/ sel_convertRect_toView_ = sel_registerName("convertRect:toView:"); +public static final int /*long*/ sel_convertRectFromBase_ = sel_registerName("convertRectFromBase:"); +public static final int /*long*/ sel_convertRectToBase_ = sel_registerName("convertRectToBase:"); +public static final int /*long*/ sel_convertScreenToBase_ = sel_registerName("convertScreenToBase:"); +public static final int /*long*/ sel_convertSize_fromView_ = sel_registerName("convertSize:fromView:"); +public static final int /*long*/ sel_convertSize_toView_ = sel_registerName("convertSize:toView:"); +public static final int /*long*/ sel_convertSizeFromBase_ = sel_registerName("convertSizeFromBase:"); +public static final int /*long*/ sel_convertSizeToBase_ = sel_registerName("convertSizeToBase:"); +public static final int /*long*/ sel_cookies = sel_registerName("cookies"); +public static final int /*long*/ sel_cookiesForURL_ = sel_registerName("cookiesForURL:"); +public static final int /*long*/ sel_cookiesWithResponseHeaderFields_forURL_ = sel_registerName("cookiesWithResponseHeaderFields:forURL:"); +public static final int /*long*/ sel_copiesOnScroll = sel_registerName("copiesOnScroll"); +public static final int /*long*/ sel_copy = sel_registerName("copy"); +public static final int /*long*/ sel_copy_ = sel_registerName("copy:"); +public static final int /*long*/ sel_count = sel_registerName("count"); +public static final int /*long*/ sel_createContext = sel_registerName("createContext"); +public static final int /*long*/ sel_createFileAtPath_contents_attributes_ = sel_registerName("createFileAtPath:contents:attributes:"); +public static final int /*long*/ sel_credentialWithUser_password_persistence_ = sel_registerName("credentialWithUser:password:persistence:"); +public static final int /*long*/ sel_crosshairCursor = sel_registerName("crosshairCursor"); +public static final int /*long*/ sel_ctrlKey = sel_registerName("ctrlKey"); +public static final int /*long*/ sel_currentContext = sel_registerName("currentContext"); +public static final int /*long*/ sel_currentCursor = sel_registerName("currentCursor"); +public static final int /*long*/ sel_currentEditor = sel_registerName("currentEditor"); +public static final int /*long*/ sel_currentEvent = sel_registerName("currentEvent"); +public static final int /*long*/ sel_currentInputManager = sel_registerName("currentInputManager"); +public static final int /*long*/ sel_currentPoint = sel_registerName("currentPoint"); +public static final int /*long*/ sel_currentRunLoop = sel_registerName("currentRunLoop"); +public static final int /*long*/ sel_currentThread = sel_registerName("currentThread"); +public static final int /*long*/ sel_cursorUpdate_ = sel_registerName("cursorUpdate:"); +public static final int /*long*/ sel_curveToPoint_controlPoint1_controlPoint2_ = sel_registerName("curveToPoint:controlPoint1:controlPoint2:"); +public static final int /*long*/ sel_cut_ = sel_registerName("cut:"); +public static final int /*long*/ sel_dataCell = sel_registerName("dataCell"); +public static final int /*long*/ sel_dataForType_ = sel_registerName("dataForType:"); +public static final int /*long*/ sel_dataSource = sel_registerName("dataSource"); +public static final int /*long*/ sel_dataWithBytes_length_ = sel_registerName("dataWithBytes:length:"); +public static final int /*long*/ sel_dateValue = sel_registerName("dateValue"); +public static final int /*long*/ sel_dateWithCalendarFormat_timeZone_ = sel_registerName("dateWithCalendarFormat:timeZone:"); +public static final int /*long*/ sel_dateWithTimeIntervalSinceNow_ = sel_registerName("dateWithTimeIntervalSinceNow:"); +public static final int /*long*/ sel_dateWithYear_month_day_hour_minute_second_timeZone_ = sel_registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); +public static final int /*long*/ sel_dayOfMonth = sel_registerName("dayOfMonth"); +public static final int /*long*/ sel_decimalDigitCharacterSet = sel_registerName("decimalDigitCharacterSet"); +public static final int /*long*/ sel_decimalSeparator = sel_registerName("decimalSeparator"); +public static final int /*long*/ sel_declareTypes_owner_ = sel_registerName("declareTypes:owner:"); +public static final int /*long*/ sel_defaultBaselineOffsetForFont_ = sel_registerName("defaultBaselineOffsetForFont:"); +public static final int /*long*/ sel_defaultButtonCell = sel_registerName("defaultButtonCell"); +public static final int /*long*/ sel_defaultCenter = sel_registerName("defaultCenter"); +public static final int /*long*/ sel_defaultFlatness = sel_registerName("defaultFlatness"); +public static final int /*long*/ sel_defaultLineHeightForFont_ = sel_registerName("defaultLineHeightForFont:"); +public static final int /*long*/ sel_defaultManager = sel_registerName("defaultManager"); +public static final int /*long*/ sel_defaultParagraphStyle = sel_registerName("defaultParagraphStyle"); +public static final int /*long*/ sel_defaultPrinter = sel_registerName("defaultPrinter"); +public static final int /*long*/ sel_defaultTimeZone = sel_registerName("defaultTimeZone"); +public static final int /*long*/ sel_delegate = sel_registerName("delegate"); +public static final int /*long*/ sel_deleteCookie_ = sel_registerName("deleteCookie:"); +public static final int /*long*/ sel_deliverResult = sel_registerName("deliverResult"); +public static final int /*long*/ sel_deltaX = sel_registerName("deltaX"); +public static final int /*long*/ sel_deltaY = sel_registerName("deltaY"); +public static final int /*long*/ sel_deminiaturize_ = sel_registerName("deminiaturize:"); +public static final int /*long*/ sel_depth = sel_registerName("depth"); +public static final int /*long*/ sel_descender = sel_registerName("descender"); +public static final int /*long*/ sel_description = sel_registerName("description"); +public static final int /*long*/ sel_deselectAll_ = sel_registerName("deselectAll:"); +public static final int /*long*/ sel_deselectItemAtIndex_ = sel_registerName("deselectItemAtIndex:"); +public static final int /*long*/ sel_deselectRow_ = sel_registerName("deselectRow:"); +public static final int /*long*/ sel_destroyContext = sel_registerName("destroyContext"); +public static final int /*long*/ sel_detail = sel_registerName("detail"); +public static final int /*long*/ sel_deviceDescription = sel_registerName("deviceDescription"); +public static final int /*long*/ sel_deviceRGBColorSpace = sel_registerName("deviceRGBColorSpace"); +public static final int /*long*/ sel_dictionary = sel_registerName("dictionary"); +public static final int /*long*/ sel_dictionaryWithCapacity_ = sel_registerName("dictionaryWithCapacity:"); +public static final int /*long*/ sel_dictionaryWithObject_forKey_ = sel_registerName("dictionaryWithObject:forKey:"); +public static final int /*long*/ sel_disableCursorRects = sel_registerName("disableCursorRects"); +public static final int /*long*/ sel_disabledControlTextColor = sel_registerName("disabledControlTextColor"); +public static final int /*long*/ sel_discardCursorRects = sel_registerName("discardCursorRects"); +public static final int /*long*/ sel_display = sel_registerName("display"); +public static final int /*long*/ sel_displayIfNeeded = sel_registerName("displayIfNeeded"); +public static final int /*long*/ sel_displayRectIgnoringOpacity_inContext_ = sel_registerName("displayRectIgnoringOpacity:inContext:"); +public static final int /*long*/ sel_distantFuture = sel_registerName("distantFuture"); +public static final int /*long*/ sel_doCommandBySelector_ = sel_registerName("doCommandBySelector:"); +public static final int /*long*/ sel_documentCursor = sel_registerName("documentCursor"); +public static final int /*long*/ sel_documentSource = sel_registerName("documentSource"); +public static final int /*long*/ sel_documentView = sel_registerName("documentView"); +public static final int /*long*/ sel_documentViewShouldHandlePrint = sel_registerName("documentViewShouldHandlePrint"); +public static final int /*long*/ sel_documentVisibleRect = sel_registerName("documentVisibleRect"); +public static final int /*long*/ sel_doubleClickAtIndex_ = sel_registerName("doubleClickAtIndex:"); +public static final int /*long*/ sel_doubleValue = sel_registerName("doubleValue"); +public static final int /*long*/ sel_download = sel_registerName("download"); +public static final int /*long*/ sel_download_decideDestinationWithSuggestedFilename_ = sel_registerName("download:decideDestinationWithSuggestedFilename:"); +public static final int /*long*/ sel_dragImage_at_offset_event_pasteboard_source_slideBack_ = sel_registerName("dragImage:at:offset:event:pasteboard:source:slideBack:"); +public static final int /*long*/ sel_dragImageForRowsWithIndexes_tableColumns_event_offset_ = sel_registerName("dragImageForRowsWithIndexes:tableColumns:event:offset:"); +public static final int /*long*/ sel_dragSelectionWithEvent_offset_slideBack_ = sel_registerName("dragSelectionWithEvent:offset:slideBack:"); +public static final int /*long*/ sel_draggedImage_beganAt_ = sel_registerName("draggedImage:beganAt:"); +public static final int /*long*/ sel_draggedImage_endedAt_operation_ = sel_registerName("draggedImage:endedAt:operation:"); +public static final int /*long*/ sel_draggingDestinationWindow = sel_registerName("draggingDestinationWindow"); +public static final int /*long*/ sel_draggingEnded_ = sel_registerName("draggingEnded:"); +public static final int /*long*/ sel_draggingEntered_ = sel_registerName("draggingEntered:"); +public static final int /*long*/ sel_draggingExited_ = sel_registerName("draggingExited:"); +public static final int /*long*/ sel_draggingLocation = sel_registerName("draggingLocation"); +public static final int /*long*/ sel_draggingPasteboard = sel_registerName("draggingPasteboard"); +public static final int /*long*/ sel_draggingSourceOperationMask = sel_registerName("draggingSourceOperationMask"); +public static final int /*long*/ sel_draggingSourceOperationMaskForLocal_ = sel_registerName("draggingSourceOperationMaskForLocal:"); +public static final int /*long*/ sel_draggingUpdated_ = sel_registerName("draggingUpdated:"); +public static final int /*long*/ sel_drawAtPoint_ = sel_registerName("drawAtPoint:"); +public static final int /*long*/ sel_drawAtPoint_fromRect_operation_fraction_ = sel_registerName("drawAtPoint:fromRect:operation:fraction:"); +public static final int /*long*/ sel_drawBackgroundForGlyphRange_atPoint_ = sel_registerName("drawBackgroundForGlyphRange:atPoint:"); +public static final int /*long*/ sel_drawFromPoint_toPoint_options_ = sel_registerName("drawFromPoint:toPoint:options:"); +public static final int /*long*/ sel_drawGlyphsForGlyphRange_atPoint_ = sel_registerName("drawGlyphsForGlyphRange:atPoint:"); +public static final int /*long*/ sel_drawImage_withFrame_inView_ = sel_registerName("drawImage:withFrame:inView:"); +public static final int /*long*/ sel_drawInRect_ = sel_registerName("drawInRect:"); +public static final int /*long*/ sel_drawInRect_angle_ = sel_registerName("drawInRect:angle:"); +public static final int /*long*/ sel_drawInRect_fromRect_operation_fraction_ = sel_registerName("drawInRect:fromRect:operation:fraction:"); +public static final int /*long*/ sel_drawInteriorWithFrame_inView_ = sel_registerName("drawInteriorWithFrame:inView:"); +public static final int /*long*/ sel_drawRect_ = sel_registerName("drawRect:"); +public static final int /*long*/ sel_drawSortIndicatorWithFrame_inView_ascending_priority_ = sel_registerName("drawSortIndicatorWithFrame:inView:ascending:priority:"); +public static final int /*long*/ sel_drawStatusBarBackgroundInRect_withHighlight_ = sel_registerName("drawStatusBarBackgroundInRect:withHighlight:"); +public static final int /*long*/ sel_drawWithExpansionFrame_inView_ = sel_registerName("drawWithExpansionFrame:inView:"); +public static final int /*long*/ sel_drawingRectForBounds_ = sel_registerName("drawingRectForBounds:"); +public static final int /*long*/ sel_elementAtIndex_associatedPoints_ = sel_registerName("elementAtIndex:associatedPoints:"); +public static final int /*long*/ sel_elementCount = sel_registerName("elementCount"); +public static final int /*long*/ sel_enableCursorRects = sel_registerName("enableCursorRects"); +public static final int /*long*/ sel_enableFreedObjectCheck_ = sel_registerName("enableFreedObjectCheck:"); +public static final int /*long*/ sel_endDocument = sel_registerName("endDocument"); +public static final int /*long*/ sel_endEditing = sel_registerName("endEditing"); +public static final int /*long*/ sel_endPage = sel_registerName("endPage"); +public static final int /*long*/ sel_endSheet_returnCode_ = sel_registerName("endSheet:returnCode:"); +public static final int /*long*/ sel_enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData_ = sel_registerName("enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:"); +public static final int /*long*/ sel_enumeratorAtPath_ = sel_registerName("enumeratorAtPath:"); +public static final int /*long*/ sel_expandItem_ = sel_registerName("expandItem:"); +public static final int /*long*/ sel_expandItem_expandChildren_ = sel_registerName("expandItem:expandChildren:"); +public static final int /*long*/ sel_expansionFrameWithFrame_inView_ = sel_registerName("expansionFrameWithFrame:inView:"); +public static final int /*long*/ sel_familyName = sel_registerName("familyName"); +public static final int /*long*/ sel_fieldEditor_forObject_ = sel_registerName("fieldEditor:forObject:"); +public static final int /*long*/ sel_fileExistsAtPath_isDirectory_ = sel_registerName("fileExistsAtPath:isDirectory:"); +public static final int /*long*/ sel_fileSystemRepresentation = sel_registerName("fileSystemRepresentation"); +public static final int /*long*/ sel_fileURLWithPath_ = sel_registerName("fileURLWithPath:"); +public static final int /*long*/ sel_filename = sel_registerName("filename"); +public static final int /*long*/ sel_filenames = sel_registerName("filenames"); +public static final int /*long*/ sel_fill = sel_registerName("fill"); +public static final int /*long*/ sel_fillRect_ = sel_registerName("fillRect:"); +public static final int /*long*/ sel_finishLaunching = sel_registerName("finishLaunching"); +public static final int /*long*/ sel_firstIndex = sel_registerName("firstIndex"); +public static final int /*long*/ sel_firstRectForCharacterRange_ = sel_registerName("firstRectForCharacterRange:"); +public static final int /*long*/ sel_firstResponder = sel_registerName("firstResponder"); +public static final int /*long*/ sel_flagsChanged_ = sel_registerName("flagsChanged:"); +public static final int /*long*/ sel_floatValue = sel_registerName("floatValue"); +public static final int /*long*/ sel_flushBuffer = sel_registerName("flushBuffer"); +public static final int /*long*/ sel_flushGraphics = sel_registerName("flushGraphics"); +public static final int /*long*/ sel_font = sel_registerName("font"); +public static final int /*long*/ sel_fontName = sel_registerName("fontName"); +public static final int /*long*/ sel_fontWithFamily_traits_weight_size_ = sel_registerName("fontWithFamily:traits:weight:size:"); +public static final int /*long*/ sel_fontWithName_size_ = sel_registerName("fontWithName:size:"); +public static final int /*long*/ sel_frame = sel_registerName("frame"); +public static final int /*long*/ sel_frameOfCellAtColumn_row_ = sel_registerName("frameOfCellAtColumn:row:"); +public static final int /*long*/ sel_frameOfOutlineCellAtRow_ = sel_registerName("frameOfOutlineCellAtRow:"); +public static final int /*long*/ sel_frameRectForContentRect_ = sel_registerName("frameRectForContentRect:"); +public static final int /*long*/ sel_frameSizeForContentSize_hasHorizontalScroller_hasVerticalScroller_borderType_ = sel_registerName("frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:"); +public static final int /*long*/ sel_fullPathForApplication_ = sel_registerName("fullPathForApplication:"); +public static final int /*long*/ sel_generalPasteboard = sel_registerName("generalPasteboard"); +public static final int /*long*/ sel_getBitmapDataPlanes_ = sel_registerName("getBitmapDataPlanes:"); +public static final int /*long*/ sel_getBytes_ = sel_registerName("getBytes:"); +public static final int /*long*/ sel_getBytes_length_ = sel_registerName("getBytes:length:"); +public static final int /*long*/ sel_getCharacters_ = sel_registerName("getCharacters:"); +public static final int /*long*/ sel_getCharacters_range_ = sel_registerName("getCharacters:range:"); +public static final int /*long*/ sel_getComponents_ = sel_registerName("getComponents:"); +public static final int /*long*/ sel_getGlyphs_range_ = sel_registerName("getGlyphs:range:"); +public static final int /*long*/ sel_getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels_ = sel_registerName("getGlyphsInRange:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:"); +public static final int /*long*/ sel_getIndexes_maxCount_inIndexRange_ = sel_registerName("getIndexes:maxCount:inIndexRange:"); +public static final int /*long*/ sel_getInfoForFile_application_type_ = sel_registerName("getInfoForFile:application:type:"); +public static final int /*long*/ sel_getValues_forAttribute_forVirtualScreen_ = sel_registerName("getValues:forAttribute:forVirtualScreen:"); +public static final int /*long*/ sel_glyphIndexForCharacterAtIndex_ = sel_registerName("glyphIndexForCharacterAtIndex:"); +public static final int /*long*/ sel_glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph_ = sel_registerName("glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:"); +public static final int /*long*/ sel_glyphRangeForCharacterRange_actualCharacterRange_ = sel_registerName("glyphRangeForCharacterRange:actualCharacterRange:"); +public static final int /*long*/ sel_glyphRangeForTextContainer_ = sel_registerName("glyphRangeForTextContainer:"); +public static final int /*long*/ sel_goBack = sel_registerName("goBack"); +public static final int /*long*/ sel_goForward = sel_registerName("goForward"); +public static final int /*long*/ sel_graphicsContext = sel_registerName("graphicsContext"); +public static final int /*long*/ sel_graphicsContextWithBitmapImageRep_ = sel_registerName("graphicsContextWithBitmapImageRep:"); +public static final int /*long*/ sel_graphicsContextWithGraphicsPort_flipped_ = sel_registerName("graphicsContextWithGraphicsPort:flipped:"); +public static final int /*long*/ sel_graphicsContextWithWindow_ = sel_registerName("graphicsContextWithWindow:"); +public static final int /*long*/ sel_graphicsPort = sel_registerName("graphicsPort"); +public static final int /*long*/ sel_greenComponent = sel_registerName("greenComponent"); +public static final int /*long*/ sel_handleEvent_ = sel_registerName("handleEvent:"); +public static final int /*long*/ sel_handleMouseEvent_ = sel_registerName("handleMouseEvent:"); +public static final int /*long*/ sel_hasAlpha = sel_registerName("hasAlpha"); +public static final int /*long*/ sel_hasMarkedText = sel_registerName("hasMarkedText"); +public static final int /*long*/ sel_hasPassword = sel_registerName("hasPassword"); +public static final int /*long*/ sel_hasShadow = sel_registerName("hasShadow"); +public static final int /*long*/ sel_headerCell = sel_registerName("headerCell"); +public static final int /*long*/ sel_headerRectOfColumn_ = sel_registerName("headerRectOfColumn:"); +public static final int /*long*/ sel_headerView = sel_registerName("headerView"); +public static final int /*long*/ sel_helpRequested_ = sel_registerName("helpRequested:"); +public static final int /*long*/ sel_hide_ = sel_registerName("hide:"); +public static final int /*long*/ sel_hideOtherApplications_ = sel_registerName("hideOtherApplications:"); +public static final int /*long*/ sel_highlightColorInView_ = sel_registerName("highlightColorInView:"); +public static final int /*long*/ sel_highlightColorWithFrame_inView_ = sel_registerName("highlightColorWithFrame:inView:"); +public static final int /*long*/ sel_highlightSelectionInClipRect_ = sel_registerName("highlightSelectionInClipRect:"); +public static final int /*long*/ sel_hitPart = sel_registerName("hitPart"); +public static final int /*long*/ sel_hitTest_ = sel_registerName("hitTest:"); +public static final int /*long*/ sel_hitTestForEvent_inRect_ofView_ = sel_registerName("hitTestForEvent:inRect:ofView:"); +public static final int /*long*/ sel_host = sel_registerName("host"); +public static final int /*long*/ sel_hourOfDay = sel_registerName("hourOfDay"); +public static final int /*long*/ sel_iconForFile_ = sel_registerName("iconForFile:"); +public static final int /*long*/ sel_iconForFileType_ = sel_registerName("iconForFileType:"); +public static final int /*long*/ sel_ignore = sel_registerName("ignore"); +public static final int /*long*/ sel_ignoreModifierKeysWhileDragging = sel_registerName("ignoreModifierKeysWhileDragging"); +public static final int /*long*/ sel_image = sel_registerName("image"); +public static final int /*long*/ sel_imageInterpolation = sel_registerName("imageInterpolation"); +public static final int /*long*/ sel_imageNamed_ = sel_registerName("imageNamed:"); +public static final int /*long*/ sel_imageRectForBounds_ = sel_registerName("imageRectForBounds:"); +public static final int /*long*/ sel_imageRepWithData_ = sel_registerName("imageRepWithData:"); +public static final int /*long*/ sel_imageablePageBounds = sel_registerName("imageablePageBounds"); +public static final int /*long*/ sel_increment = sel_registerName("increment"); +public static final int /*long*/ sel_indentationPerLevel = sel_registerName("indentationPerLevel"); +public static final int /*long*/ sel_indexOfItemWithTarget_andAction_ = sel_registerName("indexOfItemWithTarget:andAction:"); +public static final int /*long*/ sel_indexOfObjectIdenticalTo_ = sel_registerName("indexOfObjectIdenticalTo:"); +public static final int /*long*/ sel_indexOfSelectedItem = sel_registerName("indexOfSelectedItem"); +public static final int /*long*/ sel_infoDictionary = sel_registerName("infoDictionary"); +public static final int /*long*/ sel_init = sel_registerName("init"); +public static final int /*long*/ sel_initByReferencingFile_ = sel_registerName("initByReferencingFile:"); +public static final int /*long*/ sel_initListDescriptor = sel_registerName("initListDescriptor"); +public static final int /*long*/ sel_initWithAttributes_ = sel_registerName("initWithAttributes:"); +public static final int /*long*/ sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel_ = sel_registerName("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:"); +public static final int /*long*/ sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel_ = sel_registerName("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:"); +public static final int /*long*/ sel_initWithCapacity_ = sel_registerName("initWithCapacity:"); +public static final int /*long*/ sel_initWithCharacters_length_ = sel_registerName("initWithCharacters:length:"); +public static final int /*long*/ sel_initWithContainerSize_ = sel_registerName("initWithContainerSize:"); +public static final int /*long*/ sel_initWithContentRect_styleMask_backing_defer_ = sel_registerName("initWithContentRect:styleMask:backing:defer:"); +public static final int /*long*/ sel_initWithContentRect_styleMask_backing_defer_screen_ = sel_registerName("initWithContentRect:styleMask:backing:defer:screen:"); +public static final int /*long*/ sel_initWithContentsOfFile_ = sel_registerName("initWithContentsOfFile:"); +public static final int /*long*/ sel_initWithData_ = sel_registerName("initWithData:"); +public static final int /*long*/ sel_initWithDictionary_ = sel_registerName("initWithDictionary:"); +public static final int /*long*/ sel_initWithFileWrapper_ = sel_registerName("initWithFileWrapper:"); +public static final int /*long*/ sel_initWithFocusedViewRect_ = sel_registerName("initWithFocusedViewRect:"); +public static final int /*long*/ sel_initWithFormat_shareContext_ = sel_registerName("initWithFormat:shareContext:"); +public static final int /*long*/ sel_initWithFrame_ = sel_registerName("initWithFrame:"); +public static final int /*long*/ sel_initWithFrame_frameName_groupName_ = sel_registerName("initWithFrame:frameName:groupName:"); +public static final int /*long*/ sel_initWithFrame_pullsDown_ = sel_registerName("initWithFrame:pullsDown:"); +public static final int /*long*/ sel_initWithIdentifier_ = sel_registerName("initWithIdentifier:"); +public static final int /*long*/ sel_initWithImage_hotSpot_ = sel_registerName("initWithImage:hotSpot:"); +public static final int /*long*/ sel_initWithIndex_ = sel_registerName("initWithIndex:"); +public static final int /*long*/ sel_initWithIndexesInRange_ = sel_registerName("initWithIndexesInRange:"); +public static final int /*long*/ sel_initWithItemIdentifier_ = sel_registerName("initWithItemIdentifier:"); +public static final int /*long*/ sel_initWithRect_options_owner_userInfo_ = sel_registerName("initWithRect:options:owner:userInfo:"); +public static final int /*long*/ sel_initWithSize_ = sel_registerName("initWithSize:"); +public static final int /*long*/ sel_initWithStartingColor_endingColor_ = sel_registerName("initWithStartingColor:endingColor:"); +public static final int /*long*/ sel_initWithString_ = sel_registerName("initWithString:"); +public static final int /*long*/ sel_initWithString_attributes_ = sel_registerName("initWithString:attributes:"); +public static final int /*long*/ sel_initWithTitle_ = sel_registerName("initWithTitle:"); +public static final int /*long*/ sel_initWithTitle_action_keyEquivalent_ = sel_registerName("initWithTitle:action:keyEquivalent:"); +public static final int /*long*/ sel_initWithTransform_ = sel_registerName("initWithTransform:"); +public static final int /*long*/ sel_initWithType_location_ = sel_registerName("initWithType:location:"); +public static final int /*long*/ sel_initWithURL_ = sel_registerName("initWithURL:"); +public static final int /*long*/ sel_insertItem_atIndex_ = sel_registerName("insertItem:atIndex:"); +public static final int /*long*/ sel_insertItemWithItemIdentifier_atIndex_ = sel_registerName("insertItemWithItemIdentifier:atIndex:"); +public static final int /*long*/ sel_insertItemWithObjectValue_atIndex_ = sel_registerName("insertItemWithObjectValue:atIndex:"); +public static final int /*long*/ sel_insertTabViewItem_atIndex_ = sel_registerName("insertTabViewItem:atIndex:"); +public static final int /*long*/ sel_insertText_ = sel_registerName("insertText:"); +public static final int /*long*/ sel_intValue = sel_registerName("intValue"); +public static final int /*long*/ sel_integerValue = sel_registerName("integerValue"); +public static final int /*long*/ sel_intercellSpacing = sel_registerName("intercellSpacing"); +public static final int /*long*/ sel_interpretKeyEvents_ = sel_registerName("interpretKeyEvents:"); +public static final int /*long*/ sel_invalidate = sel_registerName("invalidate"); +public static final int /*long*/ sel_invalidateShadow = sel_registerName("invalidateShadow"); +public static final int /*long*/ sel_invert = sel_registerName("invert"); +public static final int /*long*/ sel_isActive = sel_registerName("isActive"); +public static final int /*long*/ sel_isDocumentEdited = sel_registerName("isDocumentEdited"); +public static final int /*long*/ sel_isDrawingToScreen = sel_registerName("isDrawingToScreen"); +public static final int /*long*/ sel_isEmpty = sel_registerName("isEmpty"); +public static final int /*long*/ sel_isEnabled = sel_registerName("isEnabled"); +public static final int /*long*/ sel_isEqual_ = sel_registerName("isEqual:"); +public static final int /*long*/ sel_isEqualTo_ = sel_registerName("isEqualTo:"); +public static final int /*long*/ sel_isEqualToString_ = sel_registerName("isEqualToString:"); +public static final int /*long*/ sel_isFilePackageAtPath_ = sel_registerName("isFilePackageAtPath:"); +public static final int /*long*/ sel_isFileURL = sel_registerName("isFileURL"); +public static final int /*long*/ sel_isFlipped = sel_registerName("isFlipped"); +public static final int /*long*/ sel_isHidden = sel_registerName("isHidden"); +public static final int /*long*/ sel_isHiddenOrHasHiddenAncestor = sel_registerName("isHiddenOrHasHiddenAncestor"); +public static final int /*long*/ sel_isHighlighted = sel_registerName("isHighlighted"); +public static final int /*long*/ sel_isItemExpanded_ = sel_registerName("isItemExpanded:"); +public static final int /*long*/ sel_isKeyWindow = sel_registerName("isKeyWindow"); +public static final int /*long*/ sel_isKindOfClass_ = sel_registerName("isKindOfClass:"); +public static final int /*long*/ sel_isMainThread = sel_registerName("isMainThread"); +public static final int /*long*/ sel_isMiniaturized = sel_registerName("isMiniaturized"); +public static final int /*long*/ sel_isOpaque = sel_registerName("isOpaque"); +public static final int /*long*/ sel_isPlanar = sel_registerName("isPlanar"); +public static final int /*long*/ sel_isRowSelected_ = sel_registerName("isRowSelected:"); +public static final int /*long*/ sel_isRunning = sel_registerName("isRunning"); +public static final int /*long*/ sel_isSessionOnly = sel_registerName("isSessionOnly"); +public static final int /*long*/ sel_isSheet = sel_registerName("isSheet"); +public static final int /*long*/ sel_isVisible = sel_registerName("isVisible"); +public static final int /*long*/ sel_isZoomed = sel_registerName("isZoomed"); +public static final int /*long*/ sel_itemArray = sel_registerName("itemArray"); +public static final int /*long*/ sel_itemAtIndex_ = sel_registerName("itemAtIndex:"); +public static final int /*long*/ sel_itemAtRow_ = sel_registerName("itemAtRow:"); +public static final int /*long*/ sel_itemIdentifier = sel_registerName("itemIdentifier"); +public static final int /*long*/ sel_itemObjectValueAtIndex_ = sel_registerName("itemObjectValueAtIndex:"); +public static final int /*long*/ sel_itemTitleAtIndex_ = sel_registerName("itemTitleAtIndex:"); +public static final int /*long*/ sel_jobDisposition = sel_registerName("jobDisposition"); +public static final int /*long*/ sel_keyCode = sel_registerName("keyCode"); +public static final int /*long*/ sel_keyDown_ = sel_registerName("keyDown:"); +public static final int /*long*/ sel_keyEquivalent = sel_registerName("keyEquivalent"); +public static final int /*long*/ sel_keyEquivalentModifierMask = sel_registerName("keyEquivalentModifierMask"); +public static final int /*long*/ sel_keyUp_ = sel_registerName("keyUp:"); +public static final int /*long*/ sel_keyWindow = sel_registerName("keyWindow"); +public static final int /*long*/ sel_knobThickness = sel_registerName("knobThickness"); +public static final int /*long*/ sel_lastPathComponent = sel_registerName("lastPathComponent"); +public static final int /*long*/ sel_layoutManager = sel_registerName("layoutManager"); +public static final int /*long*/ sel_leading = sel_registerName("leading"); +public static final int /*long*/ sel_length = sel_registerName("length"); +public static final int /*long*/ sel_levelForItem_ = sel_registerName("levelForItem:"); +public static final int /*long*/ sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_ = sel_registerName("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:"); +public static final int /*long*/ sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_withoutAdditionalLayout_ = sel_registerName("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:"); +public static final int /*long*/ sel_lineToPoint_ = sel_registerName("lineToPoint:"); +public static final int /*long*/ sel_linkTextAttributes = sel_registerName("linkTextAttributes"); +public static final int /*long*/ sel_loadHTMLString_baseURL_ = sel_registerName("loadHTMLString:baseURL:"); +public static final int /*long*/ sel_loadNibFile_externalNameTable_withZone_ = sel_registerName("loadNibFile:externalNameTable:withZone:"); +public static final int /*long*/ sel_loadRequest_ = sel_registerName("loadRequest:"); +public static final int /*long*/ sel_localizedDescription = sel_registerName("localizedDescription"); +public static final int /*long*/ sel_location = sel_registerName("location"); +public static final int /*long*/ sel_locationForGlyphAtIndex_ = sel_registerName("locationForGlyphAtIndex:"); +public static final int /*long*/ sel_locationInWindow = sel_registerName("locationInWindow"); +public static final int /*long*/ sel_lockFocus = sel_registerName("lockFocus"); +public static final int /*long*/ sel_lowercaseString = sel_registerName("lowercaseString"); +public static final int /*long*/ sel_mainBundle = sel_registerName("mainBundle"); +public static final int /*long*/ sel_mainFrame = sel_registerName("mainFrame"); +public static final int /*long*/ sel_mainMenu = sel_registerName("mainMenu"); +public static final int /*long*/ sel_mainRunLoop = sel_registerName("mainRunLoop"); +public static final int /*long*/ sel_mainScreen = sel_registerName("mainScreen"); +public static final int /*long*/ sel_makeCurrentContext = sel_registerName("makeCurrentContext"); +public static final int /*long*/ sel_makeFirstResponder_ = sel_registerName("makeFirstResponder:"); +public static final int /*long*/ sel_makeKeyAndOrderFront_ = sel_registerName("makeKeyAndOrderFront:"); +public static final int /*long*/ sel_markedRange = sel_registerName("markedRange"); +public static final int /*long*/ sel_markedTextAttributes = sel_registerName("markedTextAttributes"); +public static final int /*long*/ sel_maxValue = sel_registerName("maxValue"); +public static final int /*long*/ sel_maximum = sel_registerName("maximum"); +public static final int /*long*/ sel_maximumFractionDigits = sel_registerName("maximumFractionDigits"); +public static final int /*long*/ sel_maximumIntegerDigits = sel_registerName("maximumIntegerDigits"); +public static final int /*long*/ sel_menu = sel_registerName("menu"); +public static final int /*long*/ sel_menu_willHighlightItem_ = sel_registerName("menu:willHighlightItem:"); +public static final int /*long*/ sel_menuDidClose_ = sel_registerName("menuDidClose:"); +public static final int /*long*/ sel_menuForEvent_ = sel_registerName("menuForEvent:"); +public static final int /*long*/ sel_menuNeedsUpdate_ = sel_registerName("menuNeedsUpdate:"); +public static final int /*long*/ sel_menuWillOpen_ = sel_registerName("menuWillOpen:"); +public static final int /*long*/ sel_metaKey = sel_registerName("metaKey"); +public static final int /*long*/ sel_minFrameWidthWithTitle_styleMask_ = sel_registerName("minFrameWidthWithTitle:styleMask:"); +public static final int /*long*/ sel_minSize = sel_registerName("minSize"); +public static final int /*long*/ sel_minValue = sel_registerName("minValue"); +public static final int /*long*/ sel_miniaturize_ = sel_registerName("miniaturize:"); +public static final int /*long*/ sel_minimum = sel_registerName("minimum"); +public static final int /*long*/ sel_minimumSize = sel_registerName("minimumSize"); +public static final int /*long*/ sel_minuteOfHour = sel_registerName("minuteOfHour"); +public static final int /*long*/ sel_modifierFlags = sel_registerName("modifierFlags"); +public static final int /*long*/ sel_monthOfYear = sel_registerName("monthOfYear"); +public static final int /*long*/ sel_mouseDown_ = sel_registerName("mouseDown:"); +public static final int /*long*/ sel_mouseDragged_ = sel_registerName("mouseDragged:"); +public static final int /*long*/ sel_mouseEntered_ = sel_registerName("mouseEntered:"); +public static final int /*long*/ sel_mouseExited_ = sel_registerName("mouseExited:"); +public static final int /*long*/ sel_mouseLocation = sel_registerName("mouseLocation"); +public static final int /*long*/ sel_mouseLocationOutsideOfEventStream = sel_registerName("mouseLocationOutsideOfEventStream"); +public static final int /*long*/ sel_mouseMoved_ = sel_registerName("mouseMoved:"); +public static final int /*long*/ sel_mouseUp_ = sel_registerName("mouseUp:"); +public static final int /*long*/ sel_moveColumn_toColumn_ = sel_registerName("moveColumn:toColumn:"); +public static final int /*long*/ sel_moveToBeginningOfParagraph_ = sel_registerName("moveToBeginningOfParagraph:"); +public static final int /*long*/ sel_moveToEndOfParagraph_ = sel_registerName("moveToEndOfParagraph:"); +public static final int /*long*/ sel_moveToPoint_ = sel_registerName("moveToPoint:"); +public static final int /*long*/ sel_moveUp_ = sel_registerName("moveUp:"); +public static final int /*long*/ sel_mutableCopy = sel_registerName("mutableCopy"); +public static final int /*long*/ sel_mutableString = sel_registerName("mutableString"); +public static final int /*long*/ sel_name = sel_registerName("name"); +public static final int /*long*/ sel_nextEventMatchingMask_untilDate_inMode_dequeue_ = sel_registerName("nextEventMatchingMask:untilDate:inMode:dequeue:"); +public static final int /*long*/ sel_nextObject = sel_registerName("nextObject"); +public static final int /*long*/ sel_nextState = sel_registerName("nextState"); +public static final int /*long*/ sel_nextWordFromIndex_forward_ = sel_registerName("nextWordFromIndex:forward:"); +public static final int /*long*/ sel_noResponderFor_ = sel_registerName("noResponderFor:"); +public static final int /*long*/ sel_noteNumberOfRowsChanged = sel_registerName("noteNumberOfRowsChanged"); +public static final int /*long*/ sel_numberOfColumns = sel_registerName("numberOfColumns"); +public static final int /*long*/ sel_numberOfComponents = sel_registerName("numberOfComponents"); +public static final int /*long*/ sel_numberOfGlyphs = sel_registerName("numberOfGlyphs"); +public static final int /*long*/ sel_numberOfItems = sel_registerName("numberOfItems"); +public static final int /*long*/ sel_numberOfPlanes = sel_registerName("numberOfPlanes"); +public static final int /*long*/ sel_numberOfRows = sel_registerName("numberOfRows"); +public static final int /*long*/ sel_numberOfRowsInTableView_ = sel_registerName("numberOfRowsInTableView:"); +public static final int /*long*/ sel_numberOfSelectedRows = sel_registerName("numberOfSelectedRows"); +public static final int /*long*/ sel_numberOfVisibleItems = sel_registerName("numberOfVisibleItems"); +public static final int /*long*/ sel_numberWithBool_ = sel_registerName("numberWithBool:"); +public static final int /*long*/ sel_numberWithDouble_ = sel_registerName("numberWithDouble:"); +public static final int /*long*/ sel_numberWithInt_ = sel_registerName("numberWithInt:"); +public static final int /*long*/ sel_numberWithInteger_ = sel_registerName("numberWithInteger:"); +public static final int /*long*/ sel_objCType = sel_registerName("objCType"); +public static final int /*long*/ sel_object = sel_registerName("object"); +public static final int /*long*/ sel_objectAtIndex_ = sel_registerName("objectAtIndex:"); +public static final int /*long*/ sel_objectEnumerator = sel_registerName("objectEnumerator"); +public static final int /*long*/ sel_objectForInfoDictionaryKey_ = sel_registerName("objectForInfoDictionaryKey:"); +public static final int /*long*/ sel_objectForKey_ = sel_registerName("objectForKey:"); +public static final int /*long*/ sel_objectValues = sel_registerName("objectValues"); +public static final int /*long*/ sel_openFile_withApplication_ = sel_registerName("openFile:withApplication:"); +public static final int /*long*/ sel_openPanel = sel_registerName("openPanel"); +public static final int /*long*/ sel_openURL_ = sel_registerName("openURL:"); +public static final int /*long*/ sel_openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers_ = sel_registerName("openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:"); +public static final int /*long*/ sel_options = sel_registerName("options"); +public static final int /*long*/ sel_orderBack_ = sel_registerName("orderBack:"); +public static final int /*long*/ sel_orderFront_ = sel_registerName("orderFront:"); +public static final int /*long*/ sel_orderFrontRegardless = sel_registerName("orderFrontRegardless"); +public static final int /*long*/ sel_orderFrontStandardAboutPanel_ = sel_registerName("orderFrontStandardAboutPanel:"); +public static final int /*long*/ sel_orderOut_ = sel_registerName("orderOut:"); +public static final int /*long*/ sel_orderWindow_relativeTo_ = sel_registerName("orderWindow:relativeTo:"); +public static final int /*long*/ sel_orderedWindows = sel_registerName("orderedWindows"); +public static final int /*long*/ sel_orientation = sel_registerName("orientation"); +public static final int /*long*/ sel_otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2_ = sel_registerName("otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:"); +public static final int /*long*/ sel_otherMouseDown_ = sel_registerName("otherMouseDown:"); +public static final int /*long*/ sel_otherMouseDragged_ = sel_registerName("otherMouseDragged:"); +public static final int /*long*/ sel_otherMouseUp_ = sel_registerName("otherMouseUp:"); +public static final int /*long*/ sel_outlineTableColumn = sel_registerName("outlineTableColumn"); +public static final int /*long*/ sel_outlineView_acceptDrop_item_childIndex_ = sel_registerName("outlineView:acceptDrop:item:childIndex:"); +public static final int /*long*/ sel_outlineView_child_ofItem_ = sel_registerName("outlineView:child:ofItem:"); +public static final int /*long*/ sel_outlineView_didClickTableColumn_ = sel_registerName("outlineView:didClickTableColumn:"); +public static final int /*long*/ sel_outlineView_isItemExpandable_ = sel_registerName("outlineView:isItemExpandable:"); +public static final int /*long*/ sel_outlineView_numberOfChildrenOfItem_ = sel_registerName("outlineView:numberOfChildrenOfItem:"); +public static final int /*long*/ sel_outlineView_objectValueForTableColumn_byItem_ = sel_registerName("outlineView:objectValueForTableColumn:byItem:"); +public static final int /*long*/ sel_outlineView_setObjectValue_forTableColumn_byItem_ = sel_registerName("outlineView:setObjectValue:forTableColumn:byItem:"); +public static final int /*long*/ sel_outlineView_shouldCollapseItem_ = sel_registerName("outlineView:shouldCollapseItem:"); +public static final int /*long*/ sel_outlineView_shouldExpandItem_ = sel_registerName("outlineView:shouldExpandItem:"); +public static final int /*long*/ sel_outlineView_validateDrop_proposedItem_proposedChildIndex_ = sel_registerName("outlineView:validateDrop:proposedItem:proposedChildIndex:"); +public static final int /*long*/ sel_outlineView_willDisplayCell_forTableColumn_item_ = sel_registerName("outlineView:willDisplayCell:forTableColumn:item:"); +public static final int /*long*/ sel_outlineView_writeItems_toPasteboard_ = sel_registerName("outlineView:writeItems:toPasteboard:"); +public static final int /*long*/ sel_outlineViewColumnDidMove_ = sel_registerName("outlineViewColumnDidMove:"); +public static final int /*long*/ sel_outlineViewColumnDidResize_ = sel_registerName("outlineViewColumnDidResize:"); +public static final int /*long*/ sel_outlineViewItemDidExpand_ = sel_registerName("outlineViewItemDidExpand:"); +public static final int /*long*/ sel_outlineViewSelectionDidChange_ = sel_registerName("outlineViewSelectionDidChange:"); +public static final int /*long*/ sel_owner = sel_registerName("owner"); +public static final int /*long*/ sel_pageDown_ = sel_registerName("pageDown:"); +public static final int /*long*/ sel_pageTitle = sel_registerName("pageTitle"); +public static final int /*long*/ sel_pageUp_ = sel_registerName("pageUp:"); +public static final int /*long*/ sel_panel_shouldShowFilename_ = sel_registerName("panel:shouldShowFilename:"); +public static final int /*long*/ sel_panelConvertFont_ = sel_registerName("panelConvertFont:"); +public static final int /*long*/ sel_paperSize = sel_registerName("paperSize"); +public static final int /*long*/ sel_paragraphs = sel_registerName("paragraphs"); +public static final int /*long*/ sel_parentWindow = sel_registerName("parentWindow"); +public static final int /*long*/ sel_password = sel_registerName("password"); +public static final int /*long*/ sel_paste_ = sel_registerName("paste:"); +public static final int /*long*/ sel_pasteboard_provideDataForType_ = sel_registerName("pasteboard:provideDataForType:"); +public static final int /*long*/ sel_pasteboardWithName_ = sel_registerName("pasteboardWithName:"); +public static final int /*long*/ sel_pathExtension = sel_registerName("pathExtension"); +public static final int /*long*/ sel_pathForResource_ofType_ = sel_registerName("pathForResource:ofType:"); +public static final int /*long*/ sel_performDragOperation_ = sel_registerName("performDragOperation:"); +public static final int /*long*/ sel_performSelectorOnMainThread_withObject_waitUntilDone_ = sel_registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); +public static final int /*long*/ sel_pixelsHigh = sel_registerName("pixelsHigh"); +public static final int /*long*/ sel_pixelsWide = sel_registerName("pixelsWide"); +public static final int /*long*/ sel_pointSize = sel_registerName("pointSize"); +public static final int /*long*/ sel_pointValue = sel_registerName("pointValue"); +public static final int /*long*/ sel_pointingHandCursor = sel_registerName("pointingHandCursor"); +public static final int /*long*/ sel_pop = sel_registerName("pop"); +public static final int /*long*/ sel_popUpContextMenu_withEvent_forView_ = sel_registerName("popUpContextMenu:withEvent:forView:"); +public static final int /*long*/ sel_popUpStatusItemMenu_ = sel_registerName("popUpStatusItemMenu:"); +public static final int /*long*/ sel_port = sel_registerName("port"); +public static final int /*long*/ sel_postEvent_atStart_ = sel_registerName("postEvent:atStart:"); +public static final int /*long*/ sel_prependTransform_ = sel_registerName("prependTransform:"); +public static final int /*long*/ sel_preventDefault = sel_registerName("preventDefault"); +public static final int /*long*/ sel_previousFailureCount = sel_registerName("previousFailureCount"); +public static final int /*long*/ sel_printDocumentView = sel_registerName("printDocumentView"); +public static final int /*long*/ sel_printOperationWithPrintInfo_ = sel_registerName("printOperationWithPrintInfo:"); +public static final int /*long*/ sel_printOperationWithView_printInfo_ = sel_registerName("printOperationWithView:printInfo:"); +public static final int /*long*/ sel_printPanel = sel_registerName("printPanel"); +public static final int /*long*/ sel_printer = sel_registerName("printer"); +public static final int /*long*/ sel_printerNames = sel_registerName("printerNames"); +public static final int /*long*/ sel_printerWithName_ = sel_registerName("printerWithName:"); +public static final int /*long*/ sel_propertyListForType_ = sel_registerName("propertyListForType:"); +public static final int /*long*/ sel_proposedCredential = sel_registerName("proposedCredential"); +public static final int /*long*/ sel_protectionSpace = sel_registerName("protectionSpace"); +public static final int /*long*/ sel_push = sel_registerName("push"); +public static final int /*long*/ sel_rangeValue = sel_registerName("rangeValue"); +public static final int /*long*/ sel_realm = sel_registerName("realm"); +public static final int /*long*/ sel_recentSearches = sel_registerName("recentSearches"); +public static final int /*long*/ sel_rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount_ = sel_registerName("rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:rectCount:"); +public static final int /*long*/ sel_rectOfColumn_ = sel_registerName("rectOfColumn:"); +public static final int /*long*/ sel_rectOfRow_ = sel_registerName("rectOfRow:"); +public static final int /*long*/ sel_rectValue = sel_registerName("rectValue"); +public static final int /*long*/ sel_redComponent = sel_registerName("redComponent"); +public static final int /*long*/ sel_reflectScrolledClipView_ = sel_registerName("reflectScrolledClipView:"); +public static final int /*long*/ sel_registerForDraggedTypes_ = sel_registerName("registerForDraggedTypes:"); +public static final int /*long*/ sel_release = sel_registerName("release"); +public static final int /*long*/ sel_reload_ = sel_registerName("reload:"); +public static final int /*long*/ sel_reloadData = sel_registerName("reloadData"); +public static final int /*long*/ sel_reloadItem_reloadChildren_ = sel_registerName("reloadItem:reloadChildren:"); +public static final int /*long*/ sel_removeAllItems = sel_registerName("removeAllItems"); +public static final int /*long*/ sel_removeAllPoints = sel_registerName("removeAllPoints"); +public static final int /*long*/ sel_removeAttribute_range_ = sel_registerName("removeAttribute:range:"); +public static final int /*long*/ sel_removeChildWindow_ = sel_registerName("removeChildWindow:"); +public static final int /*long*/ sel_removeFromSuperview = sel_registerName("removeFromSuperview"); +public static final int /*long*/ sel_removeItem_ = sel_registerName("removeItem:"); +public static final int /*long*/ sel_removeItemAtIndex_ = sel_registerName("removeItemAtIndex:"); +public static final int /*long*/ sel_removeItemAtPath_error_ = sel_registerName("removeItemAtPath:error:"); +public static final int /*long*/ sel_removeLastObject = sel_registerName("removeLastObject"); +public static final int /*long*/ sel_removeObject_ = sel_registerName("removeObject:"); +public static final int /*long*/ sel_removeObjectAtIndex_ = sel_registerName("removeObjectAtIndex:"); +public static final int /*long*/ sel_removeObjectForKey_ = sel_registerName("removeObjectForKey:"); +public static final int /*long*/ sel_removeObjectIdenticalTo_ = sel_registerName("removeObjectIdenticalTo:"); +public static final int /*long*/ sel_removeObserver_ = sel_registerName("removeObserver:"); +public static final int /*long*/ sel_removeRepresentation_ = sel_registerName("removeRepresentation:"); +public static final int /*long*/ sel_removeStatusItem_ = sel_registerName("removeStatusItem:"); +public static final int /*long*/ sel_removeTabViewItem_ = sel_registerName("removeTabViewItem:"); +public static final int /*long*/ sel_removeTableColumn_ = sel_registerName("removeTableColumn:"); +public static final int /*long*/ sel_removeTemporaryAttribute_forCharacterRange_ = sel_registerName("removeTemporaryAttribute:forCharacterRange:"); +public static final int /*long*/ sel_removeTrackingArea_ = sel_registerName("removeTrackingArea:"); +public static final int /*long*/ sel_replaceCharactersInRange_withString_ = sel_registerName("replaceCharactersInRange:withString:"); +public static final int /*long*/ sel_representation = sel_registerName("representation"); +public static final int /*long*/ sel_representations = sel_registerName("representations"); +public static final int /*long*/ sel_request = sel_registerName("request"); +public static final int /*long*/ sel_requestWithURL_ = sel_registerName("requestWithURL:"); +public static final int /*long*/ sel_resetCursorRects = sel_registerName("resetCursorRects"); +public static final int /*long*/ sel_resignFirstResponder = sel_registerName("resignFirstResponder"); +public static final int /*long*/ sel_resizeDownCursor = sel_registerName("resizeDownCursor"); +public static final int /*long*/ sel_resizeLeftCursor = sel_registerName("resizeLeftCursor"); +public static final int /*long*/ sel_resizeLeftRightCursor = sel_registerName("resizeLeftRightCursor"); +public static final int /*long*/ sel_resizeRightCursor = sel_registerName("resizeRightCursor"); +public static final int /*long*/ sel_resizeUpCursor = sel_registerName("resizeUpCursor"); +public static final int /*long*/ sel_resizeUpDownCursor = sel_registerName("resizeUpDownCursor"); +public static final int /*long*/ sel_resizingMask = sel_registerName("resizingMask"); +public static final int /*long*/ sel_resourcePath = sel_registerName("resourcePath"); +public static final int /*long*/ sel_respondsToSelector_ = sel_registerName("respondsToSelector:"); +public static final int /*long*/ sel_restoreGraphicsState = sel_registerName("restoreGraphicsState"); +public static final int /*long*/ sel_retain = sel_registerName("retain"); +public static final int /*long*/ sel_retainCount = sel_registerName("retainCount"); +public static final int /*long*/ sel_rightMouseDown_ = sel_registerName("rightMouseDown:"); +public static final int /*long*/ sel_rightMouseDragged_ = sel_registerName("rightMouseDragged:"); +public static final int /*long*/ sel_rightMouseUp_ = sel_registerName("rightMouseUp:"); +public static final int /*long*/ sel_rotateByDegrees_ = sel_registerName("rotateByDegrees:"); +public static final int /*long*/ sel_rowAtPoint_ = sel_registerName("rowAtPoint:"); +public static final int /*long*/ sel_rowForItem_ = sel_registerName("rowForItem:"); +public static final int /*long*/ sel_rowHeight = sel_registerName("rowHeight"); +public static final int /*long*/ sel_rowsInRect_ = sel_registerName("rowsInRect:"); +public static final int /*long*/ sel_run = sel_registerName("run"); +public static final int /*long*/ sel_runModal = sel_registerName("runModal"); +public static final int /*long*/ sel_runModalForDirectory_file_ = sel_registerName("runModalForDirectory:file:"); +public static final int /*long*/ sel_runModalForWindow_ = sel_registerName("runModalForWindow:"); +public static final int /*long*/ sel_runModalWithPrintInfo_ = sel_registerName("runModalWithPrintInfo:"); +public static final int /*long*/ sel_runMode_beforeDate_ = sel_registerName("runMode:beforeDate:"); +public static final int /*long*/ sel_runOperation = sel_registerName("runOperation"); +public static final int /*long*/ sel_samplesPerPixel = sel_registerName("samplesPerPixel"); +public static final int /*long*/ sel_saveGraphicsState = sel_registerName("saveGraphicsState"); +public static final int /*long*/ sel_savePanel = sel_registerName("savePanel"); +public static final int /*long*/ sel_scaleXBy_yBy_ = sel_registerName("scaleXBy:yBy:"); +public static final int /*long*/ sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_ = sel_registerName("scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); +public static final int /*long*/ sel_screen = sel_registerName("screen"); +public static final int /*long*/ sel_screens = sel_registerName("screens"); +public static final int /*long*/ sel_scrollColumnToVisible_ = sel_registerName("scrollColumnToVisible:"); +public static final int /*long*/ sel_scrollPoint_ = sel_registerName("scrollPoint:"); +public static final int /*long*/ sel_scrollRangeToVisible_ = sel_registerName("scrollRangeToVisible:"); +public static final int /*long*/ sel_scrollRectToVisible_ = sel_registerName("scrollRectToVisible:"); +public static final int /*long*/ sel_scrollRowToVisible_ = sel_registerName("scrollRowToVisible:"); +public static final int /*long*/ sel_scrollToPoint_ = sel_registerName("scrollToPoint:"); +public static final int /*long*/ sel_scrollWheel_ = sel_registerName("scrollWheel:"); +public static final int /*long*/ sel_scrollerWidth = sel_registerName("scrollerWidth"); +public static final int /*long*/ sel_scrollerWidthForControlSize_ = sel_registerName("scrollerWidthForControlSize:"); +public static final int /*long*/ sel_searchButtonCell = sel_registerName("searchButtonCell"); +public static final int /*long*/ sel_searchTextRectForBounds_ = sel_registerName("searchTextRectForBounds:"); +public static final int /*long*/ sel_secondOfMinute = sel_registerName("secondOfMinute"); +public static final int /*long*/ sel_secondarySelectedControlColor = sel_registerName("secondarySelectedControlColor"); +public static final int /*long*/ sel_selectAll_ = sel_registerName("selectAll:"); +public static final int /*long*/ sel_selectItem_ = sel_registerName("selectItem:"); +public static final int /*long*/ sel_selectItemAtIndex_ = sel_registerName("selectItemAtIndex:"); +public static final int /*long*/ sel_selectRowIndexes_byExtendingSelection_ = sel_registerName("selectRowIndexes:byExtendingSelection:"); +public static final int /*long*/ sel_selectTabViewItemAtIndex_ = sel_registerName("selectTabViewItemAtIndex:"); +public static final int /*long*/ sel_selectText_ = sel_registerName("selectText:"); +public static final int /*long*/ sel_selectedControlColor = sel_registerName("selectedControlColor"); +public static final int /*long*/ sel_selectedControlTextColor = sel_registerName("selectedControlTextColor"); +public static final int /*long*/ sel_selectedRange = sel_registerName("selectedRange"); +public static final int /*long*/ sel_selectedRow = sel_registerName("selectedRow"); +public static final int /*long*/ sel_selectedRowIndexes = sel_registerName("selectedRowIndexes"); +public static final int /*long*/ sel_selectedTabViewItem = sel_registerName("selectedTabViewItem"); +public static final int /*long*/ sel_selectedTextBackgroundColor = sel_registerName("selectedTextBackgroundColor"); +public static final int /*long*/ sel_selectedTextColor = sel_registerName("selectedTextColor"); +public static final int /*long*/ sel_sendAction_to_ = sel_registerName("sendAction:to:"); +public static final int /*long*/ sel_sendEvent_ = sel_registerName("sendEvent:"); +public static final int /*long*/ sel_sender = sel_registerName("sender"); +public static final int /*long*/ sel_separatorItem = sel_registerName("separatorItem"); +public static final int /*long*/ sel_set = sel_registerName("set"); +public static final int /*long*/ sel_setAcceptsMouseMovedEvents_ = sel_registerName("setAcceptsMouseMovedEvents:"); +public static final int /*long*/ sel_setAccessoryView_ = sel_registerName("setAccessoryView:"); +public static final int /*long*/ sel_setAction_ = sel_registerName("setAction:"); +public static final int /*long*/ sel_setAlertStyle_ = sel_registerName("setAlertStyle:"); +public static final int /*long*/ sel_setAlignment_ = sel_registerName("setAlignment:"); +public static final int /*long*/ sel_setAllowsColumnReordering_ = sel_registerName("setAllowsColumnReordering:"); +public static final int /*long*/ sel_setAllowsFloats_ = sel_registerName("setAllowsFloats:"); +public static final int /*long*/ sel_setAllowsMixedState_ = sel_registerName("setAllowsMixedState:"); +public static final int /*long*/ sel_setAllowsMultipleSelection_ = sel_registerName("setAllowsMultipleSelection:"); +public static final int /*long*/ sel_setAllowsUserCustomization_ = sel_registerName("setAllowsUserCustomization:"); +public static final int /*long*/ sel_setAlpha_ = sel_registerName("setAlpha:"); +public static final int /*long*/ sel_setAlphaValue_ = sel_registerName("setAlphaValue:"); +public static final int /*long*/ sel_setApplicationIconImage_ = sel_registerName("setApplicationIconImage:"); +public static final int /*long*/ sel_setApplicationNameForUserAgent_ = sel_registerName("setApplicationNameForUserAgent:"); +public static final int /*long*/ sel_setAttributedString_ = sel_registerName("setAttributedString:"); +public static final int /*long*/ sel_setAttributedStringValue_ = sel_registerName("setAttributedStringValue:"); +public static final int /*long*/ sel_setAttributedTitle_ = sel_registerName("setAttributedTitle:"); +public static final int /*long*/ sel_setAutoenablesItems_ = sel_registerName("setAutoenablesItems:"); +public static final int /*long*/ sel_setAutohidesScrollers_ = sel_registerName("setAutohidesScrollers:"); +public static final int /*long*/ sel_setAutoresizesOutlineColumn_ = sel_registerName("setAutoresizesOutlineColumn:"); +public static final int /*long*/ sel_setAutoresizesSubviews_ = sel_registerName("setAutoresizesSubviews:"); +public static final int /*long*/ sel_setAutoresizingMask_ = sel_registerName("setAutoresizingMask:"); +public static final int /*long*/ sel_setAutosaveExpandedItems_ = sel_registerName("setAutosaveExpandedItems:"); +public static final int /*long*/ sel_setBackgroundColor_ = sel_registerName("setBackgroundColor:"); +public static final int /*long*/ sel_setBackgroundLayoutEnabled_ = sel_registerName("setBackgroundLayoutEnabled:"); +public static final int /*long*/ sel_setBezelStyle_ = sel_registerName("setBezelStyle:"); +public static final int /*long*/ sel_setBorderType_ = sel_registerName("setBorderType:"); +public static final int /*long*/ sel_setBorderWidth_ = sel_registerName("setBorderWidth:"); +public static final int /*long*/ sel_setBordered_ = sel_registerName("setBordered:"); +public static final int /*long*/ sel_setBoxType_ = sel_registerName("setBoxType:"); +public static final int /*long*/ sel_setButtonType_ = sel_registerName("setButtonType:"); +public static final int /*long*/ sel_setCacheMode_ = sel_registerName("setCacheMode:"); +public static final int /*long*/ sel_setCachePolicy_ = sel_registerName("setCachePolicy:"); +public static final int /*long*/ sel_setCanChooseDirectories_ = sel_registerName("setCanChooseDirectories:"); +public static final int /*long*/ sel_setCanChooseFiles_ = sel_registerName("setCanChooseFiles:"); +public static final int /*long*/ sel_setCanCreateDirectories_ = sel_registerName("setCanCreateDirectories:"); +public static final int /*long*/ sel_setCancelButtonCell_ = sel_registerName("setCancelButtonCell:"); +public static final int /*long*/ sel_setCell_ = sel_registerName("setCell:"); +public static final int /*long*/ sel_setCellClass_ = sel_registerName("setCellClass:"); +public static final int /*long*/ sel_setClip = sel_registerName("setClip"); +public static final int /*long*/ sel_setColor_ = sel_registerName("setColor:"); +public static final int /*long*/ sel_setColumnAutoresizingStyle_ = sel_registerName("setColumnAutoresizingStyle:"); +public static final int /*long*/ sel_setCompositingOperation_ = sel_registerName("setCompositingOperation:"); +public static final int /*long*/ sel_setContainerSize_ = sel_registerName("setContainerSize:"); +public static final int /*long*/ sel_setContentView_ = sel_registerName("setContentView:"); +public static final int /*long*/ sel_setContentViewMargins_ = sel_registerName("setContentViewMargins:"); +public static final int /*long*/ sel_setControlSize_ = sel_registerName("setControlSize:"); +public static final int /*long*/ sel_setCookie_ = sel_registerName("setCookie:"); +public static final int /*long*/ sel_setCopiesOnScroll_ = sel_registerName("setCopiesOnScroll:"); +public static final int /*long*/ sel_setCurrentContext_ = sel_registerName("setCurrentContext:"); +public static final int /*long*/ sel_setCurrentOperation_ = sel_registerName("setCurrentOperation:"); +public static final int /*long*/ sel_setData_forType_ = sel_registerName("setData:forType:"); +public static final int /*long*/ sel_setDataCell_ = sel_registerName("setDataCell:"); +public static final int /*long*/ sel_setDataSource_ = sel_registerName("setDataSource:"); +public static final int /*long*/ sel_setDatePickerElements_ = sel_registerName("setDatePickerElements:"); +public static final int /*long*/ sel_setDatePickerStyle_ = sel_registerName("setDatePickerStyle:"); +public static final int /*long*/ sel_setDateValue_ = sel_registerName("setDateValue:"); +public static final int /*long*/ sel_setDefaultButtonCell_ = sel_registerName("setDefaultButtonCell:"); +public static final int /*long*/ sel_setDefaultFlatness_ = sel_registerName("setDefaultFlatness:"); +public static final int /*long*/ sel_setDefaultParagraphStyle_ = sel_registerName("setDefaultParagraphStyle:"); +public static final int /*long*/ sel_setDefaultTabInterval_ = sel_registerName("setDefaultTabInterval:"); +public static final int /*long*/ sel_setDelegate_ = sel_registerName("setDelegate:"); +public static final int /*long*/ sel_setDestination_allowOverwrite_ = sel_registerName("setDestination:allowOverwrite:"); +public static final int /*long*/ sel_setDictionary_ = sel_registerName("setDictionary:"); +public static final int /*long*/ sel_setDirectory_ = sel_registerName("setDirectory:"); +public static final int /*long*/ sel_setDisplayMode_ = sel_registerName("setDisplayMode:"); +public static final int /*long*/ sel_setDisplaysLinkToolTips_ = sel_registerName("setDisplaysLinkToolTips:"); +public static final int /*long*/ sel_setDocumentCursor_ = sel_registerName("setDocumentCursor:"); +public static final int /*long*/ sel_setDocumentEdited_ = sel_registerName("setDocumentEdited:"); +public static final int /*long*/ sel_setDocumentView_ = sel_registerName("setDocumentView:"); +public static final int /*long*/ sel_setDoubleAction_ = sel_registerName("setDoubleAction:"); +public static final int /*long*/ sel_setDoubleValue_ = sel_registerName("setDoubleValue:"); +public static final int /*long*/ sel_setDownloadDelegate_ = sel_registerName("setDownloadDelegate:"); +public static final int /*long*/ sel_setDrawsBackground_ = sel_registerName("setDrawsBackground:"); +public static final int /*long*/ sel_setDropItem_dropChildIndex_ = sel_registerName("setDropItem:dropChildIndex:"); +public static final int /*long*/ sel_setDropRow_dropOperation_ = sel_registerName("setDropRow:dropOperation:"); +public static final int /*long*/ sel_setEditable_ = sel_registerName("setEditable:"); +public static final int /*long*/ sel_setEnabled_ = sel_registerName("setEnabled:"); +public static final int /*long*/ sel_setEnabled_forSegment_ = sel_registerName("setEnabled:forSegment:"); +public static final int /*long*/ sel_setFill = sel_registerName("setFill"); +public static final int /*long*/ sel_setFillColor_ = sel_registerName("setFillColor:"); +public static final int /*long*/ sel_setFireDate_ = sel_registerName("setFireDate:"); +public static final int /*long*/ sel_setFirstLineHeadIndent_ = sel_registerName("setFirstLineHeadIndent:"); +public static final int /*long*/ sel_setFloatValue_knobProportion_ = sel_registerName("setFloatValue:knobProportion:"); +public static final int /*long*/ sel_setFocusRingType_ = sel_registerName("setFocusRingType:"); +public static final int /*long*/ sel_setFont_ = sel_registerName("setFont:"); +public static final int /*long*/ sel_setFormatter_ = sel_registerName("setFormatter:"); +public static final int /*long*/ sel_setFrame_ = sel_registerName("setFrame:"); +public static final int /*long*/ sel_setFrame_display_ = sel_registerName("setFrame:display:"); +public static final int /*long*/ sel_setFrame_display_animate_ = sel_registerName("setFrame:display:animate:"); +public static final int /*long*/ sel_setFrameLoadDelegate_ = sel_registerName("setFrameLoadDelegate:"); +public static final int /*long*/ sel_setFrameOrigin_ = sel_registerName("setFrameOrigin:"); +public static final int /*long*/ sel_setFrameSize_ = sel_registerName("setFrameSize:"); +public static final int /*long*/ sel_setHasHorizontalScroller_ = sel_registerName("setHasHorizontalScroller:"); +public static final int /*long*/ sel_setHasShadow_ = sel_registerName("setHasShadow:"); +public static final int /*long*/ sel_setHasVerticalScroller_ = sel_registerName("setHasVerticalScroller:"); +public static final int /*long*/ sel_setHeaderCell_ = sel_registerName("setHeaderCell:"); +public static final int /*long*/ sel_setHeaderView_ = sel_registerName("setHeaderView:"); +public static final int /*long*/ sel_setHidden_ = sel_registerName("setHidden:"); +public static final int /*long*/ sel_setHiddenUntilMouseMoves_ = sel_registerName("setHiddenUntilMouseMoves:"); +public static final int /*long*/ sel_setHighlightMode_ = sel_registerName("setHighlightMode:"); +public static final int /*long*/ sel_setHighlighted_ = sel_registerName("setHighlighted:"); +public static final int /*long*/ sel_setHighlightedTableColumn_ = sel_registerName("setHighlightedTableColumn:"); +public static final int /*long*/ sel_setHorizontalScroller_ = sel_registerName("setHorizontalScroller:"); +public static final int /*long*/ sel_setHorizontallyResizable_ = sel_registerName("setHorizontallyResizable:"); +public static final int /*long*/ sel_setIcon_ = sel_registerName("setIcon:"); +public static final int /*long*/ sel_setIdentifier_ = sel_registerName("setIdentifier:"); +public static final int /*long*/ sel_setImage_ = sel_registerName("setImage:"); +public static final int /*long*/ sel_setImage_forSegment_ = sel_registerName("setImage:forSegment:"); +public static final int /*long*/ sel_setImageAlignment_ = sel_registerName("setImageAlignment:"); +public static final int /*long*/ sel_setImageInterpolation_ = sel_registerName("setImageInterpolation:"); +public static final int /*long*/ sel_setImagePosition_ = sel_registerName("setImagePosition:"); +public static final int /*long*/ sel_setImageScaling_ = sel_registerName("setImageScaling:"); +public static final int /*long*/ sel_setIncrement_ = sel_registerName("setIncrement:"); +public static final int /*long*/ sel_setIndeterminate_ = sel_registerName("setIndeterminate:"); +public static final int /*long*/ sel_setIndicatorImage_inTableColumn_ = sel_registerName("setIndicatorImage:inTableColumn:"); +public static final int /*long*/ sel_setIntercellSpacing_ = sel_registerName("setIntercellSpacing:"); +public static final int /*long*/ sel_setJavaEnabled_ = sel_registerName("setJavaEnabled:"); +public static final int /*long*/ sel_setJavaScriptEnabled_ = sel_registerName("setJavaScriptEnabled:"); +public static final int /*long*/ sel_setJobDisposition_ = sel_registerName("setJobDisposition:"); +public static final int /*long*/ sel_setJobTitle_ = sel_registerName("setJobTitle:"); +public static final int /*long*/ sel_setKeyEquivalent_ = sel_registerName("setKeyEquivalent:"); +public static final int /*long*/ sel_setKeyEquivalentModifierMask_ = sel_registerName("setKeyEquivalentModifierMask:"); +public static final int /*long*/ sel_setLabel_ = sel_registerName("setLabel:"); +public static final int /*long*/ sel_setLabel_forSegment_ = sel_registerName("setLabel:forSegment:"); +public static final int /*long*/ sel_setLeaf_ = sel_registerName("setLeaf:"); +public static final int /*long*/ sel_setLength_ = sel_registerName("setLength:"); +public static final int /*long*/ sel_setLevel_ = sel_registerName("setLevel:"); +public static final int /*long*/ sel_setLineBreakMode_ = sel_registerName("setLineBreakMode:"); +public static final int /*long*/ sel_setLineCapStyle_ = sel_registerName("setLineCapStyle:"); +public static final int /*long*/ sel_setLineDash_count_phase_ = sel_registerName("setLineDash:count:phase:"); +public static final int /*long*/ sel_setLineFragmentPadding_ = sel_registerName("setLineFragmentPadding:"); +public static final int /*long*/ sel_setLineFragmentRect_forGlyphRange_usedRect_ = sel_registerName("setLineFragmentRect:forGlyphRange:usedRect:"); +public static final int /*long*/ sel_setLineJoinStyle_ = sel_registerName("setLineJoinStyle:"); +public static final int /*long*/ sel_setLineSpacing_ = sel_registerName("setLineSpacing:"); +public static final int /*long*/ sel_setLineWidth_ = sel_registerName("setLineWidth:"); +public static final int /*long*/ sel_setLinkTextAttributes_ = sel_registerName("setLinkTextAttributes:"); +public static final int /*long*/ sel_setMainMenu_ = sel_registerName("setMainMenu:"); +public static final int /*long*/ sel_setMarkedText_selectedRange_ = sel_registerName("setMarkedText:selectedRange:"); +public static final int /*long*/ sel_setMaxSize_ = sel_registerName("setMaxSize:"); +public static final int /*long*/ sel_setMaxValue_ = sel_registerName("setMaxValue:"); +public static final int /*long*/ sel_setMaximum_ = sel_registerName("setMaximum:"); +public static final int /*long*/ sel_setMaximumFractionDigits_ = sel_registerName("setMaximumFractionDigits:"); +public static final int /*long*/ sel_setMaximumIntegerDigits_ = sel_registerName("setMaximumIntegerDigits:"); +public static final int /*long*/ sel_setMenu_ = sel_registerName("setMenu:"); +public static final int /*long*/ sel_setMenu_forSegment_ = sel_registerName("setMenu:forSegment:"); +public static final int /*long*/ sel_setMessage_ = sel_registerName("setMessage:"); +public static final int /*long*/ sel_setMessageText_ = sel_registerName("setMessageText:"); +public static final int /*long*/ sel_setMinSize_ = sel_registerName("setMinSize:"); +public static final int /*long*/ sel_setMinValue_ = sel_registerName("setMinValue:"); +public static final int /*long*/ sel_setMinWidth_ = sel_registerName("setMinWidth:"); +public static final int /*long*/ sel_setMinimum_ = sel_registerName("setMinimum:"); +public static final int /*long*/ sel_setMinimumFractionDigits_ = sel_registerName("setMinimumFractionDigits:"); +public static final int /*long*/ sel_setMinimumIntegerDigits_ = sel_registerName("setMinimumIntegerDigits:"); +public static final int /*long*/ sel_setMiterLimit_ = sel_registerName("setMiterLimit:"); +public static final int /*long*/ sel_setNeedsDisplay_ = sel_registerName("setNeedsDisplay:"); +public static final int /*long*/ sel_setNeedsDisplayInRect_ = sel_registerName("setNeedsDisplayInRect:"); +public static final int /*long*/ sel_setNumberOfVisibleItems_ = sel_registerName("setNumberOfVisibleItems:"); +public static final int /*long*/ sel_setNumberStyle_ = sel_registerName("setNumberStyle:"); +public static final int /*long*/ sel_setObject_forKey_ = sel_registerName("setObject:forKey:"); +public static final int /*long*/ sel_setObjectValue_ = sel_registerName("setObjectValue:"); +public static final int /*long*/ sel_setOnMouseEntered_ = sel_registerName("setOnMouseEntered:"); +public static final int /*long*/ sel_setOpaque_ = sel_registerName("setOpaque:"); +public static final int /*long*/ sel_setOptions_ = sel_registerName("setOptions:"); +public static final int /*long*/ sel_setOrientation_ = sel_registerName("setOrientation:"); +public static final int /*long*/ sel_setOutlineTableColumn_ = sel_registerName("setOutlineTableColumn:"); +public static final int /*long*/ sel_setPaletteLabel_ = sel_registerName("setPaletteLabel:"); +public static final int /*long*/ sel_setPanelFont_isMultiple_ = sel_registerName("setPanelFont:isMultiple:"); +public static final int /*long*/ sel_setPartialStringValidationEnabled_ = sel_registerName("setPartialStringValidationEnabled:"); +public static final int /*long*/ sel_setPatternPhase_ = sel_registerName("setPatternPhase:"); +public static final int /*long*/ sel_setPlaceholderString_ = sel_registerName("setPlaceholderString:"); +public static final int /*long*/ sel_setPolicyDelegate_ = sel_registerName("setPolicyDelegate:"); +public static final int /*long*/ sel_setPreferences_ = sel_registerName("setPreferences:"); +public static final int /*long*/ sel_setPrinter_ = sel_registerName("setPrinter:"); +public static final int /*long*/ sel_setPropertyList_forType_ = sel_registerName("setPropertyList:forType:"); +public static final int /*long*/ sel_setPullsDown_ = sel_registerName("setPullsDown:"); +public static final int /*long*/ sel_setReleasedWhenClosed_ = sel_registerName("setReleasedWhenClosed:"); +public static final int /*long*/ sel_setResizingMask_ = sel_registerName("setResizingMask:"); +public static final int /*long*/ sel_setResourceLoadDelegate_ = sel_registerName("setResourceLoadDelegate:"); +public static final int /*long*/ sel_setRichText_ = sel_registerName("setRichText:"); +public static final int /*long*/ sel_setRowHeight_ = sel_registerName("setRowHeight:"); +public static final int /*long*/ sel_setScrollable_ = sel_registerName("setScrollable:"); +public static final int /*long*/ sel_setSearchButtonCell_ = sel_registerName("setSearchButtonCell:"); +public static final int /*long*/ sel_setSegmentCount_ = sel_registerName("setSegmentCount:"); +public static final int /*long*/ sel_setSegmentStyle_ = sel_registerName("setSegmentStyle:"); +public static final int /*long*/ sel_setSelectable_ = sel_registerName("setSelectable:"); +public static final int /*long*/ sel_setSelected_forSegment_ = sel_registerName("setSelected:forSegment:"); +public static final int /*long*/ sel_setSelectedRange_ = sel_registerName("setSelectedRange:"); +public static final int /*long*/ sel_setSelectedSegment_ = sel_registerName("setSelectedSegment:"); +public static final int /*long*/ sel_setServicesMenu_ = sel_registerName("setServicesMenu:"); +public static final int /*long*/ sel_setShouldAntialias_ = sel_registerName("setShouldAntialias:"); +public static final int /*long*/ sel_setShowsPrintPanel_ = sel_registerName("setShowsPrintPanel:"); +public static final int /*long*/ sel_setShowsProgressPanel_ = sel_registerName("setShowsProgressPanel:"); +public static final int /*long*/ sel_setShowsResizeIndicator_ = sel_registerName("setShowsResizeIndicator:"); +public static final int /*long*/ sel_setShowsToolbarButton_ = sel_registerName("setShowsToolbarButton:"); +public static final int /*long*/ sel_setSize_ = sel_registerName("setSize:"); +public static final int /*long*/ sel_setState_ = sel_registerName("setState:"); +public static final int /*long*/ sel_setString_ = sel_registerName("setString:"); +public static final int /*long*/ sel_setString_forType_ = sel_registerName("setString:forType:"); +public static final int /*long*/ sel_setStringValue_ = sel_registerName("setStringValue:"); +public static final int /*long*/ sel_setStroke = sel_registerName("setStroke"); +public static final int /*long*/ sel_setSubmenu_ = sel_registerName("setSubmenu:"); +public static final int /*long*/ sel_setSubmenu_forItem_ = sel_registerName("setSubmenu:forItem:"); +public static final int /*long*/ sel_setTabStops_ = sel_registerName("setTabStops:"); +public static final int /*long*/ sel_setTabViewType_ = sel_registerName("setTabViewType:"); +public static final int /*long*/ sel_setTag_forSegment_ = sel_registerName("setTag:forSegment:"); +public static final int /*long*/ sel_setTarget_ = sel_registerName("setTarget:"); +public static final int /*long*/ sel_setTextColor_ = sel_registerName("setTextColor:"); +public static final int /*long*/ sel_setTextStorage_ = sel_registerName("setTextStorage:"); +public static final int /*long*/ sel_setTitle_ = sel_registerName("setTitle:"); +public static final int /*long*/ sel_setTitleFont_ = sel_registerName("setTitleFont:"); +public static final int /*long*/ sel_setTitlePosition_ = sel_registerName("setTitlePosition:"); +public static final int /*long*/ sel_setToolTip_ = sel_registerName("setToolTip:"); +public static final int /*long*/ sel_setToolTip_forSegment_ = sel_registerName("setToolTip:forSegment:"); +public static final int /*long*/ sel_setToolbar_ = sel_registerName("setToolbar:"); +public static final int /*long*/ sel_setTrackingMode_ = sel_registerName("setTrackingMode:"); +public static final int /*long*/ sel_setTransformStruct_ = sel_registerName("setTransformStruct:"); +public static final int /*long*/ sel_setUIDelegate_ = sel_registerName("setUIDelegate:"); +public static final int /*long*/ sel_setURL_ = sel_registerName("setURL:"); +public static final int /*long*/ sel_setUpPrintOperationDefaultValues = sel_registerName("setUpPrintOperationDefaultValues"); +public static final int /*long*/ sel_setUsesAlternatingRowBackgroundColors_ = sel_registerName("setUsesAlternatingRowBackgroundColors:"); +public static final int /*long*/ sel_setUsesThreadedAnimation_ = sel_registerName("setUsesThreadedAnimation:"); +public static final int /*long*/ sel_setValue_forKey_ = sel_registerName("setValue:forKey:"); +public static final int /*long*/ sel_setValueWraps_ = sel_registerName("setValueWraps:"); +public static final int /*long*/ sel_setVerticalScroller_ = sel_registerName("setVerticalScroller:"); +public static final int /*long*/ sel_setView_ = sel_registerName("setView:"); +public static final int /*long*/ sel_setVisible_ = sel_registerName("setVisible:"); +public static final int /*long*/ sel_setWidth_ = sel_registerName("setWidth:"); +public static final int /*long*/ sel_setWidth_forSegment_ = sel_registerName("setWidth:forSegment:"); +public static final int /*long*/ sel_setWidthTracksTextView_ = sel_registerName("setWidthTracksTextView:"); +public static final int /*long*/ sel_setWindingRule_ = sel_registerName("setWindingRule:"); +public static final int /*long*/ sel_setWorksWhenModal_ = sel_registerName("setWorksWhenModal:"); +public static final int /*long*/ sel_setWraps_ = sel_registerName("setWraps:"); +public static final int /*long*/ sel_sharedApplication = sel_registerName("sharedApplication"); +public static final int /*long*/ sel_sharedColorPanel = sel_registerName("sharedColorPanel"); +public static final int /*long*/ sel_sharedFontManager = sel_registerName("sharedFontManager"); +public static final int /*long*/ sel_sharedFontPanel = sel_registerName("sharedFontPanel"); +public static final int /*long*/ sel_sharedHTTPCookieStorage = sel_registerName("sharedHTTPCookieStorage"); +public static final int /*long*/ sel_sharedPrintInfo = sel_registerName("sharedPrintInfo"); +public static final int /*long*/ sel_sharedWorkspace = sel_registerName("sharedWorkspace"); +public static final int /*long*/ sel_shiftKey = sel_registerName("shiftKey"); +public static final int /*long*/ sel_shouldAntialias = sel_registerName("shouldAntialias"); +public static final int /*long*/ sel_shouldChangeTextInRange_replacementString_ = sel_registerName("shouldChangeTextInRange:replacementString:"); +public static final int /*long*/ sel_shouldDelayWindowOrderingForEvent_ = sel_registerName("shouldDelayWindowOrderingForEvent:"); +public static final int /*long*/ sel_size = sel_registerName("size"); +public static final int /*long*/ sel_sizeToFit = sel_registerName("sizeToFit"); +public static final int /*long*/ sel_sizeValue = sel_registerName("sizeValue"); +public static final int /*long*/ sel_skipDescendents = sel_registerName("skipDescendents"); +public static final int /*long*/ sel_smallSystemFontSize = sel_registerName("smallSystemFontSize"); +public static final int /*long*/ sel_sortIndicatorRectForBounds_ = sel_registerName("sortIndicatorRectForBounds:"); +public static final int /*long*/ sel_standardPreferences = sel_registerName("standardPreferences"); +public static final int /*long*/ sel_standardWindowButton_ = sel_registerName("standardWindowButton:"); +public static final int /*long*/ sel_startAnimation_ = sel_registerName("startAnimation:"); +public static final int /*long*/ sel_state = sel_registerName("state"); +public static final int /*long*/ sel_statusItemWithLength_ = sel_registerName("statusItemWithLength:"); +public static final int /*long*/ sel_stop_ = sel_registerName("stop:"); +public static final int /*long*/ sel_stopAnimation_ = sel_registerName("stopAnimation:"); +public static final int /*long*/ sel_stopLoading_ = sel_registerName("stopLoading:"); +public static final int /*long*/ sel_string = sel_registerName("string"); +public static final int /*long*/ sel_stringByAddingPercentEscapesUsingEncoding_ = sel_registerName("stringByAddingPercentEscapesUsingEncoding:"); +public static final int /*long*/ sel_stringByAppendingPathComponent_ = sel_registerName("stringByAppendingPathComponent:"); +public static final int /*long*/ sel_stringByAppendingString_ = sel_registerName("stringByAppendingString:"); +public static final int /*long*/ sel_stringByDeletingLastPathComponent = sel_registerName("stringByDeletingLastPathComponent"); +public static final int /*long*/ sel_stringByDeletingPathExtension = sel_registerName("stringByDeletingPathExtension"); +public static final int /*long*/ sel_stringByEvaluatingJavaScriptFromString_ = sel_registerName("stringByEvaluatingJavaScriptFromString:"); +public static final int /*long*/ sel_stringByReplacingOccurrencesOfString_withString_ = sel_registerName("stringByReplacingOccurrencesOfString:withString:"); +public static final int /*long*/ sel_stringForObjectValue_ = sel_registerName("stringForObjectValue:"); +public static final int /*long*/ sel_stringForType_ = sel_registerName("stringForType:"); +public static final int /*long*/ sel_stringValue = sel_registerName("stringValue"); +public static final int /*long*/ sel_stringWithCharacters_length_ = sel_registerName("stringWithCharacters:length:"); +public static final int /*long*/ sel_stringWithFormat_ = sel_registerName("stringWithFormat:"); +public static final int /*long*/ sel_stringWithUTF8String_ = sel_registerName("stringWithUTF8String:"); +public static final int /*long*/ sel_stroke = sel_registerName("stroke"); +public static final int /*long*/ sel_strokeRect_ = sel_registerName("strokeRect:"); +public static final int /*long*/ sel_styleMask = sel_registerName("styleMask"); +public static final int /*long*/ sel_submenu = sel_registerName("submenu"); +public static final int /*long*/ sel_subviews = sel_registerName("subviews"); +public static final int /*long*/ sel_superclass = sel_registerName("superclass"); +public static final int /*long*/ sel_superview = sel_registerName("superview"); +public static final int /*long*/ sel_systemFontOfSize_ = sel_registerName("systemFontOfSize:"); +public static final int /*long*/ sel_systemFontSize = sel_registerName("systemFontSize"); +public static final int /*long*/ sel_systemFontSizeForControlSize_ = sel_registerName("systemFontSizeForControlSize:"); +public static final int /*long*/ sel_systemStatusBar = sel_registerName("systemStatusBar"); +public static final int /*long*/ sel_systemVersion = sel_registerName("systemVersion"); +public static final int /*long*/ sel_tabStopType = sel_registerName("tabStopType"); +public static final int /*long*/ sel_tabStops = sel_registerName("tabStops"); +public static final int /*long*/ sel_tabView_didSelectTabViewItem_ = sel_registerName("tabView:didSelectTabViewItem:"); +public static final int /*long*/ sel_tabView_shouldSelectTabViewItem_ = sel_registerName("tabView:shouldSelectTabViewItem:"); +public static final int /*long*/ sel_tabView_willSelectTabViewItem_ = sel_registerName("tabView:willSelectTabViewItem:"); +public static final int /*long*/ sel_tabViewItemAtPoint_ = sel_registerName("tabViewItemAtPoint:"); +public static final int /*long*/ sel_tableColumns = sel_registerName("tableColumns"); +public static final int /*long*/ sel_tableView_acceptDrop_row_dropOperation_ = sel_registerName("tableView:acceptDrop:row:dropOperation:"); +public static final int /*long*/ sel_tableView_didClickTableColumn_ = sel_registerName("tableView:didClickTableColumn:"); +public static final int /*long*/ sel_tableView_objectValueForTableColumn_row_ = sel_registerName("tableView:objectValueForTableColumn:row:"); +public static final int /*long*/ sel_tableView_setObjectValue_forTableColumn_row_ = sel_registerName("tableView:setObjectValue:forTableColumn:row:"); +public static final int /*long*/ sel_tableView_shouldEditTableColumn_row_ = sel_registerName("tableView:shouldEditTableColumn:row:"); +public static final int /*long*/ sel_tableView_validateDrop_proposedRow_proposedDropOperation_ = sel_registerName("tableView:validateDrop:proposedRow:proposedDropOperation:"); +public static final int /*long*/ sel_tableView_willDisplayCell_forTableColumn_row_ = sel_registerName("tableView:willDisplayCell:forTableColumn:row:"); +public static final int /*long*/ sel_tableView_writeRowsWithIndexes_toPasteboard_ = sel_registerName("tableView:writeRowsWithIndexes:toPasteboard:"); +public static final int /*long*/ sel_tableViewColumnDidMove_ = sel_registerName("tableViewColumnDidMove:"); +public static final int /*long*/ sel_tableViewColumnDidResize_ = sel_registerName("tableViewColumnDidResize:"); +public static final int /*long*/ sel_tableViewSelectionDidChange_ = sel_registerName("tableViewSelectionDidChange:"); +public static final int /*long*/ sel_target = sel_registerName("target"); +public static final int /*long*/ sel_terminate_ = sel_registerName("terminate:"); +public static final int /*long*/ sel_textBackgroundColor = sel_registerName("textBackgroundColor"); +public static final int /*long*/ sel_textColor = sel_registerName("textColor"); +public static final int /*long*/ sel_textContainer = sel_registerName("textContainer"); +public static final int /*long*/ sel_textDidChange_ = sel_registerName("textDidChange:"); +public static final int /*long*/ sel_textDidEndEditing_ = sel_registerName("textDidEndEditing:"); +public static final int /*long*/ sel_textStorage = sel_registerName("textStorage"); +public static final int /*long*/ sel_textView_clickedOnLink_atIndex_ = sel_registerName("textView:clickedOnLink:atIndex:"); +public static final int /*long*/ sel_textView_willChangeSelectionFromCharacterRange_toCharacterRange_ = sel_registerName("textView:willChangeSelectionFromCharacterRange:toCharacterRange:"); +public static final int /*long*/ sel_textViewDidChangeSelection_ = sel_registerName("textViewDidChangeSelection:"); +public static final int /*long*/ sel_threadDictionary = sel_registerName("threadDictionary"); +public static final int /*long*/ sel_tile = sel_registerName("tile"); +public static final int /*long*/ sel_timeZone = sel_registerName("timeZone"); +public static final int /*long*/ sel_timestamp = sel_registerName("timestamp"); +public static final int /*long*/ sel_title = sel_registerName("title"); +public static final int /*long*/ sel_titleCell = sel_registerName("titleCell"); +public static final int /*long*/ sel_titleFont = sel_registerName("titleFont"); +public static final int /*long*/ sel_titleOfSelectedItem = sel_registerName("titleOfSelectedItem"); +public static final int /*long*/ sel_titleRectForBounds_ = sel_registerName("titleRectForBounds:"); +public static final int /*long*/ sel_toggleToolbarShown_ = sel_registerName("toggleToolbarShown:"); +public static final int /*long*/ sel_toolbar = sel_registerName("toolbar"); +public static final int /*long*/ sel_toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_ = sel_registerName("toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:"); +public static final int /*long*/ sel_toolbarAllowedItemIdentifiers_ = sel_registerName("toolbarAllowedItemIdentifiers:"); +public static final int /*long*/ sel_toolbarDefaultItemIdentifiers_ = sel_registerName("toolbarDefaultItemIdentifiers:"); +public static final int /*long*/ sel_toolbarDidRemoveItem_ = sel_registerName("toolbarDidRemoveItem:"); +public static final int /*long*/ sel_toolbarSelectableItemIdentifiers_ = sel_registerName("toolbarSelectableItemIdentifiers:"); +public static final int /*long*/ sel_toolbarWillAddItem_ = sel_registerName("toolbarWillAddItem:"); +public static final int /*long*/ sel_trackingAreas = sel_registerName("trackingAreas"); +public static final int /*long*/ sel_traitsOfFont_ = sel_registerName("traitsOfFont:"); +public static final int /*long*/ sel_transform = sel_registerName("transform"); +public static final int /*long*/ sel_transformPoint_ = sel_registerName("transformPoint:"); +public static final int /*long*/ sel_transformSize_ = sel_registerName("transformSize:"); +public static final int /*long*/ sel_transformStruct = sel_registerName("transformStruct"); +public static final int /*long*/ sel_transformUsingAffineTransform_ = sel_registerName("transformUsingAffineTransform:"); +public static final int /*long*/ sel_translateXBy_yBy_ = sel_registerName("translateXBy:yBy:"); +public static final int /*long*/ sel_type = sel_registerName("type"); +public static final int /*long*/ sel_types = sel_registerName("types"); +public static final int /*long*/ sel_typesetter = sel_registerName("typesetter"); +public static final int /*long*/ sel_unarchiveObjectWithData_ = sel_registerName("unarchiveObjectWithData:"); +public static final int /*long*/ sel_undefined = sel_registerName("undefined"); +public static final int /*long*/ sel_unhideAllApplications_ = sel_registerName("unhideAllApplications:"); +public static final int /*long*/ sel_unlockFocus = sel_registerName("unlockFocus"); +public static final int /*long*/ sel_unmarkText = sel_registerName("unmarkText"); +public static final int /*long*/ sel_unregisterDraggedTypes = sel_registerName("unregisterDraggedTypes"); +public static final int /*long*/ sel_update = sel_registerName("update"); +public static final int /*long*/ sel_updateTrackingAreas = sel_registerName("updateTrackingAreas"); +public static final int /*long*/ sel_use = sel_registerName("use"); +public static final int /*long*/ sel_useCredential_forAuthenticationChallenge_ = sel_registerName("useCredential:forAuthenticationChallenge:"); +public static final int /*long*/ sel_usedRectForTextContainer_ = sel_registerName("usedRectForTextContainer:"); +public static final int /*long*/ sel_user = sel_registerName("user"); +public static final int /*long*/ sel_userInfo = sel_registerName("userInfo"); +public static final int /*long*/ sel_usesAlternatingRowBackgroundColors = sel_registerName("usesAlternatingRowBackgroundColors"); +public static final int /*long*/ sel_validAttributesForMarkedText = sel_registerName("validAttributesForMarkedText"); +public static final int /*long*/ sel_validateVisibleColumns = sel_registerName("validateVisibleColumns"); +public static final int /*long*/ sel_value = sel_registerName("value"); +public static final int /*long*/ sel_valueForKey_ = sel_registerName("valueForKey:"); +public static final int /*long*/ sel_valueWithPoint_ = sel_registerName("valueWithPoint:"); +public static final int /*long*/ sel_valueWithRange_ = sel_registerName("valueWithRange:"); +public static final int /*long*/ sel_valueWithRect_ = sel_registerName("valueWithRect:"); +public static final int /*long*/ sel_valueWithSize_ = sel_registerName("valueWithSize:"); +public static final int /*long*/ sel_view = sel_registerName("view"); +public static final int /*long*/ sel_view_stringForToolTip_point_userData_ = sel_registerName("view:stringForToolTip:point:userData:"); +public static final int /*long*/ sel_viewDidMoveToWindow = sel_registerName("viewDidMoveToWindow"); +public static final int /*long*/ sel_visibleFrame = sel_registerName("visibleFrame"); +public static final int /*long*/ sel_visibleRect = sel_registerName("visibleRect"); +public static final int /*long*/ sel_wantsPeriodicDraggingUpdates = sel_registerName("wantsPeriodicDraggingUpdates"); +public static final int /*long*/ sel_wantsToHandleMouseEvents = sel_registerName("wantsToHandleMouseEvents"); +public static final int /*long*/ sel_webFrame = sel_registerName("webFrame"); +public static final int /*long*/ sel_webScriptValueAtIndex_ = sel_registerName("webScriptValueAtIndex:"); +public static final int /*long*/ sel_webView_contextMenuItemsForElement_defaultMenuItems_ = sel_registerName("webView:contextMenuItemsForElement:defaultMenuItems:"); +public static final int /*long*/ sel_webView_createWebViewWithRequest_ = sel_registerName("webView:createWebViewWithRequest:"); +public static final int /*long*/ sel_webView_decidePolicyForMIMEType_request_frame_decisionListener_ = sel_registerName("webView:decidePolicyForMIMEType:request:frame:decisionListener:"); +public static final int /*long*/ sel_webView_decidePolicyForNavigationAction_request_frame_decisionListener_ = sel_registerName("webView:decidePolicyForNavigationAction:request:frame:decisionListener:"); +public static final int /*long*/ sel_webView_decidePolicyForNewWindowAction_request_newFrameName_decisionListener_ = sel_registerName("webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListener:"); +public static final int /*long*/ sel_webView_didChangeLocationWithinPageForFrame_ = sel_registerName("webView:didChangeLocationWithinPageForFrame:"); +public static final int /*long*/ sel_webView_didCommitLoadForFrame_ = sel_registerName("webView:didCommitLoadForFrame:"); +public static final int /*long*/ sel_webView_didFailProvisionalLoadWithError_forFrame_ = sel_registerName("webView:didFailProvisionalLoadWithError:forFrame:"); +public static final int /*long*/ sel_webView_didFinishLoadForFrame_ = sel_registerName("webView:didFinishLoadForFrame:"); +public static final int /*long*/ sel_webView_didReceiveTitle_forFrame_ = sel_registerName("webView:didReceiveTitle:forFrame:"); +public static final int /*long*/ sel_webView_didStartProvisionalLoadForFrame_ = sel_registerName("webView:didStartProvisionalLoadForFrame:"); +public static final int /*long*/ sel_webView_identifierForInitialRequest_fromDataSource_ = sel_registerName("webView:identifierForInitialRequest:fromDataSource:"); +public static final int /*long*/ sel_webView_mouseDidMoveOverElement_modifierFlags_ = sel_registerName("webView:mouseDidMoveOverElement:modifierFlags:"); +public static final int /*long*/ sel_webView_printFrameView_ = sel_registerName("webView:printFrameView:"); +public static final int /*long*/ sel_webView_resource_didFailLoadingWithError_fromDataSource_ = sel_registerName("webView:resource:didFailLoadingWithError:fromDataSource:"); +public static final int /*long*/ sel_webView_resource_didFinishLoadingFromDataSource_ = sel_registerName("webView:resource:didFinishLoadingFromDataSource:"); +public static final int /*long*/ sel_webView_resource_didReceiveAuthenticationChallenge_fromDataSource_ = sel_registerName("webView:resource:didReceiveAuthenticationChallenge:fromDataSource:"); +public static final int /*long*/ sel_webView_resource_willSendRequest_redirectResponse_fromDataSource_ = sel_registerName("webView:resource:willSendRequest:redirectResponse:fromDataSource:"); +public static final int /*long*/ sel_webView_runJavaScriptAlertPanelWithMessage_ = sel_registerName("webView:runJavaScriptAlertPanelWithMessage:"); +public static final int /*long*/ sel_webView_runJavaScriptConfirmPanelWithMessage_ = sel_registerName("webView:runJavaScriptConfirmPanelWithMessage:"); +public static final int /*long*/ sel_webView_runOpenPanelForFileButtonWithResultListener_ = sel_registerName("webView:runOpenPanelForFileButtonWithResultListener:"); +public static final int /*long*/ sel_webView_setFrame_ = sel_registerName("webView:setFrame:"); +public static final int /*long*/ sel_webView_setResizable_ = sel_registerName("webView:setResizable:"); +public static final int /*long*/ sel_webView_setStatusBarVisible_ = sel_registerName("webView:setStatusBarVisible:"); +public static final int /*long*/ sel_webView_setStatusText_ = sel_registerName("webView:setStatusText:"); +public static final int /*long*/ sel_webView_setToolbarsVisible_ = sel_registerName("webView:setToolbarsVisible:"); +public static final int /*long*/ sel_webView_unableToImplementPolicyWithError_frame_ = sel_registerName("webView:unableToImplementPolicyWithError:frame:"); +public static final int /*long*/ sel_webView_windowScriptObjectAvailable_ = sel_registerName("webView:windowScriptObjectAvailable:"); +public static final int /*long*/ sel_webViewClose_ = sel_registerName("webViewClose:"); +public static final int /*long*/ sel_webViewFocus_ = sel_registerName("webViewFocus:"); +public static final int /*long*/ sel_webViewShow_ = sel_registerName("webViewShow:"); +public static final int /*long*/ sel_webViewUnfocus_ = sel_registerName("webViewUnfocus:"); +public static final int /*long*/ sel_weightOfFont_ = sel_registerName("weightOfFont:"); +public static final int /*long*/ sel_wheelDelta = sel_registerName("wheelDelta"); +public static final int /*long*/ sel_width = sel_registerName("width"); +public static final int /*long*/ sel_window = sel_registerName("window"); +public static final int /*long*/ sel_windowBackgroundColor = sel_registerName("windowBackgroundColor"); +public static final int /*long*/ sel_windowDidBecomeKey_ = sel_registerName("windowDidBecomeKey:"); +public static final int /*long*/ sel_windowDidMove_ = sel_registerName("windowDidMove:"); +public static final int /*long*/ sel_windowDidResignKey_ = sel_registerName("windowDidResignKey:"); +public static final int /*long*/ sel_windowDidResize_ = sel_registerName("windowDidResize:"); +public static final int /*long*/ sel_windowFrameColor = sel_registerName("windowFrameColor"); +public static final int /*long*/ sel_windowFrameTextColor = sel_registerName("windowFrameTextColor"); +public static final int /*long*/ sel_windowNumber = sel_registerName("windowNumber"); +public static final int /*long*/ sel_windowShouldClose_ = sel_registerName("windowShouldClose:"); +public static final int /*long*/ sel_windowWillClose_ = sel_registerName("windowWillClose:"); +public static final int /*long*/ sel_windows = sel_registerName("windows"); +public static final int /*long*/ sel_worksWhenModal = sel_registerName("worksWhenModal"); +public static final int /*long*/ sel_wraps = sel_registerName("wraps"); +public static final int /*long*/ sel_writeToPasteboard_ = sel_registerName("writeToPasteboard:"); +public static final int /*long*/ sel_yearOfCommonEra = sel_registerName("yearOfCommonEra"); +public static final int /*long*/ sel_zoom_ = sel_registerName("zoom:"); + +/** Constants */ +public static final int NSAlertFirstButtonReturn = 1000; +public static final int NSAlertSecondButtonReturn = 1001; +public static final int NSAlertThirdButtonReturn = 1002; +public static final int NSAlphaFirstBitmapFormat = 1; +public static final int NSAlphaNonpremultipliedBitmapFormat = 2; +public static final int NSAlternateKeyMask = 524288; +public static final int NSApplicationDefined = 15; +public static final int NSAtTop = 2; +public static final int NSBackingStoreBuffered = 2; +public static final int NSBackspaceCharacter = 8; +public static final int NSBevelLineJoinStyle = 2; +public static final int NSBezelBorder = 2; +public static final int NSBoldFontMask = 2; +public static final int NSBorderlessWindowMask = 0; +public static final int NSBottomTabsBezelBorder = 2; +public static final int NSBoxCustom = 4; +public static final int NSBoxSeparator = 2; +public static final int NSButtLineCapStyle = 0; +public static final int NSCancelButton = 0; +public static final int NSCarriageReturnCharacter = 13; +public static final int NSCenterTextAlignment = 2; +public static final int NSClockAndCalendarDatePickerStyle = 1; +public static final int NSClosableWindowMask = 2; +public static final int NSClosePathBezierPathElement = 3; +public static final int NSCommandKeyMask = 1048576; +public static final int NSCompositeClear = 0; +public static final int NSCompositeCopy = 1; +public static final int NSCompositeSourceOver = 2; +public static final int NSCompositeXOR = 10; +public static final int NSControlKeyMask = 262144; +public static final int NSCriticalAlertStyle = 2; +public static final int NSCurveToBezierPathElement = 2; +public static final int NSDeleteCharacter = 127; +public static final int NSDeviceIndependentModifierFlagsMask = -65536; +public static final int NSDragOperationCopy = 1; +public static final int NSDragOperationDelete = 32; +public static final int NSDragOperationEvery = -1; +public static final int NSDragOperationLink = 2; +public static final int NSDragOperationMove = 16; +public static final int NSDragOperationNone = 0; +public static final int NSEnterCharacter = 3; +public static final int NSEvenOddWindingRule = 1; +public static final int NSFileHandlingPanelOKButton = 1; +public static final int NSFlagsChanged = 12; +public static final int NSFocusRingTypeNone = 1; +public static final int NSHelpFunctionKey = 63302; +public static final int NSHelpKeyMask = 4194304; +public static final int NSHourMinuteDatePickerElementFlag = 12; +public static final int NSHourMinuteSecondDatePickerElementFlag = 14; +public static final int NSImageAbove = 5; +public static final int NSImageAlignCenter = 0; +public static final int NSImageAlignLeft = 4; +public static final int NSImageAlignRight = 8; +public static final int NSImageCacheNever = 3; +public static final int NSImageInterpolationDefault = 0; +public static final int NSImageInterpolationHigh = 3; +public static final int NSImageInterpolationLow = 2; +public static final int NSImageInterpolationNone = 1; +public static final int NSImageLeft = 2; +public static final int NSImageOnly = 1; +public static final int NSImageOverlaps = 6; +public static final int NSInformationalAlertStyle = 1; +public static final int NSItalicFontMask = 1; +public static final int NSJustifiedTextAlignment = 3; +public static final int NSKeyDown = 10; +public static final int NSKeyUp = 11; +public static final int NSLandscapeOrientation = 1; +public static final int NSLeftMouseDown = 1; +public static final int NSLeftMouseDownMask = 2; +public static final int NSLeftMouseDragged = 6; +public static final int NSLeftMouseDraggedMask = 64; +public static final int NSLeftMouseUp = 2; +public static final int NSLeftMouseUpMask = 4; +public static final int NSLeftTabStopType = 0; +public static final int NSLeftTextAlignment = 0; +public static final int NSLineBreakByClipping = 2; +public static final int NSLineBreakByWordWrapping = 0; +public static final int NSLineToBezierPathElement = 1; +public static final int NSMiniaturizableWindowMask = 4; +public static final int NSMiterLineJoinStyle = 0; +public static final int NSMixedState = -1; +public static final int NSMomentaryLightButton = 0; +public static final int NSMouseEntered = 8; +public static final int NSMouseExited = 9; +public static final int NSMouseMoved = 5; +public static final int NSMoveToBezierPathElement = 0; +public static final int NSNewlineCharacter = 10; +public static final int NSNoBorder = 0; +public static final int NSNoImage = 0; +public static final int NSNoTitle = 0; +public static final int NSNonZeroWindingRule = 0; +public static final int NSOffState = 0; +public static final int NSOnState = 1; +public static final int NSOpenGLPFAAccumSize = 14; +public static final int NSOpenGLPFAAlphaSize = 11; +public static final int NSOpenGLPFAColorSize = 8; +public static final int NSOpenGLPFADepthSize = 12; +public static final int NSOpenGLPFADoubleBuffer = 5; +public static final int NSOpenGLPFASampleBuffers = 55; +public static final int NSOpenGLPFASamples = 56; +public static final int NSOpenGLPFAStencilSize = 13; +public static final int NSOpenGLPFAStereo = 6; +public static final int NSOtherMouseDown = 25; +public static final int NSOtherMouseDragged = 27; +public static final int NSOtherMouseUp = 26; +public static final int NSOutlineViewDropOnItemIndex = -1; +public static final int NSPageDownFunctionKey = 63277; +public static final int NSPageUpFunctionKey = 63276; +public static final int NSPortraitOrientation = 0; +public static final int NSPrintPanelShowsPageSetupAccessory = 256; +public static final int NSProgressIndicatorPreferredThickness = 14; +public static final int NSPushOnPushOffButton = 1; +public static final int NSRadioButton = 4; +public static final int NSRegularControlSize = 0; +public static final int NSResizableWindowMask = 8; +public static final int NSRightMouseDown = 3; +public static final int NSRightMouseDragged = 7; +public static final int NSRightMouseUp = 4; +public static final int NSRightTextAlignment = 1; +public static final int NSRoundLineCapStyle = 1; +public static final int NSRoundLineJoinStyle = 1; +public static final int NSRoundedBezelStyle = 1; +public static final int NSScaleNone = 2; +public static final int NSScrollWheel = 22; +public static final int NSScrollerDecrementLine = 4; +public static final int NSScrollerDecrementPage = 1; +public static final int NSScrollerIncrementLine = 5; +public static final int NSScrollerIncrementPage = 3; +public static final int NSScrollerKnob = 2; +public static final int NSShadowlessSquareBezelStyle = 6; +public static final int NSShiftKeyMask = 131072; +public static final int NSSmallControlSize = 1; +public static final int NSSquareLineCapStyle = 2; +public static final int NSStatusWindowLevel = 25; +public static final int NSSwitchButton = 3; +public static final int NSSystemDefined = 14; +public static final int NSTabCharacter = 9; +public static final int NSTableColumnNoResizing = 0; +public static final int NSTableColumnUserResizingMask = 2; +public static final int NSTableViewDropAbove = 1; +public static final int NSTableViewDropOn = 0; +public static final int NSTableViewNoColumnAutoresizing = 0; +public static final int NSTextFieldAndStepperDatePickerStyle = 0; +public static final int NSTitledWindowMask = 1; +public static final int NSUnderlineStyleDouble = 9; +public static final int NSUnderlineStyleNone = 0; +public static final int NSUnderlineStyleSingle = 1; +public static final int NSUnderlineStyleThick = 2; +public static final int NSViewHeightSizable = 16; +public static final int NSViewWidthSizable = 2; +public static final int NSWarningAlertStyle = 0; +public static final int NSWindowAbove = 1; +public static final int NSWindowBelow = -1; +public static final int NSYearMonthDatePickerElementFlag = 192; +public static final int NSYearMonthDayDatePickerElementFlag = 224; +public static final int kCFRunLoopBeforeWaiting = 32; +public static final int kCFStringEncodingUTF8 = 134217984; +public static final int kCGBlendModeDifference = 10; +public static final int kCGEventFilterMaskPermitLocalKeyboardEvents = 2; +public static final int kCGEventFilterMaskPermitLocalMouseEvents = 1; +public static final int kCGEventFilterMaskPermitSystemDefinedEvents = 4; +public static final int kCGEventSuppressionStateRemoteMouseDrag = 1; +public static final int kCGEventSuppressionStateSuppressionInterval = 0; +public static final int kCGImageAlphaFirst = 4; +public static final int kCGImageAlphaNoneSkipFirst = 6; +public static final int kCGImageAlphaOnly = 7; +public static final int kCGKeyboardEventKeyboardType = 10; +public static final int kCGLineCapButt = 0; +public static final int kCGLineCapRound = 1; +public static final int kCGLineCapSquare = 2; +public static final int kCGLineJoinBevel = 2; +public static final int kCGLineJoinMiter = 0; +public static final int kCGLineJoinRound = 1; +public static final int kCGPathElementAddCurveToPoint = 3; +public static final int kCGPathElementAddLineToPoint = 1; +public static final int kCGPathElementAddQuadCurveToPoint = 2; +public static final int kCGPathElementCloseSubpath = 4; +public static final int kCGPathElementMoveToPoint = 0; +public static final int kCGPathStroke = 2; +public static final int kCGSessionEventTap = 1; +public static final int NSAllApplicationsDirectory = 100; +public static final int NSAllDomainsMask = 65535; +public static final int NSNotFound = 2147483647; +public static final int NSOrderedSame = 0; +public static final int NSURLCredentialPersistenceForSession = 1; +public static final int NSURLErrorBadURL = -1000; +public static final int NSURLRequestReloadIgnoringLocalCacheData = 1; +public static final int NSUTF8StringEncoding = 4; + +/** Globals */ +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityButtonRole(); +public static final NSString NSAccessibilityButtonRole = new NSString(NSAccessibilityButtonRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityCheckBoxRole(); +public static final NSString NSAccessibilityCheckBoxRole = new NSString(NSAccessibilityCheckBoxRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityChildrenAttribute(); +public static final NSString NSAccessibilityChildrenAttribute = new NSString(NSAccessibilityChildrenAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityColumnRole(); +public static final NSString NSAccessibilityColumnRole = new NSString(NSAccessibilityColumnRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityComboBoxRole(); +public static final NSString NSAccessibilityComboBoxRole = new NSString(NSAccessibilityComboBoxRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityConfirmAction(); +public static final NSString NSAccessibilityConfirmAction = new NSString(NSAccessibilityConfirmAction()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityContentsAttribute(); +public static final NSString NSAccessibilityContentsAttribute = new NSString(NSAccessibilityContentsAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityDescriptionAttribute(); +public static final NSString NSAccessibilityDescriptionAttribute = new NSString(NSAccessibilityDescriptionAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityDialogSubrole(); +public static final NSString NSAccessibilityDialogSubrole = new NSString(NSAccessibilityDialogSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityEnabledAttribute(); +public static final NSString NSAccessibilityEnabledAttribute = new NSString(NSAccessibilityEnabledAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityExpandedAttribute(); +public static final NSString NSAccessibilityExpandedAttribute = new NSString(NSAccessibilityExpandedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityFloatingWindowSubrole(); +public static final NSString NSAccessibilityFloatingWindowSubrole = new NSString(NSAccessibilityFloatingWindowSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityFocusedAttribute(); +public static final NSString NSAccessibilityFocusedAttribute = new NSString(NSAccessibilityFocusedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityFocusedUIElementChangedNotification(); +public static final NSString NSAccessibilityFocusedUIElementChangedNotification = new NSString(NSAccessibilityFocusedUIElementChangedNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityGridRole(); +public static final NSString NSAccessibilityGridRole = new NSString(NSAccessibilityGridRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityGroupRole(); +public static final NSString NSAccessibilityGroupRole = new NSString(NSAccessibilityGroupRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityHelpAttribute(); +public static final NSString NSAccessibilityHelpAttribute = new NSString(NSAccessibilityHelpAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityHelpTagRole(); +public static final NSString NSAccessibilityHelpTagRole = new NSString(NSAccessibilityHelpTagRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityHorizontalOrientationValue(); +public static final NSString NSAccessibilityHorizontalOrientationValue = new NSString(NSAccessibilityHorizontalOrientationValue()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityHorizontalScrollBarAttribute(); +public static final NSString NSAccessibilityHorizontalScrollBarAttribute = new NSString(NSAccessibilityHorizontalScrollBarAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityImageRole(); +public static final NSString NSAccessibilityImageRole = new NSString(NSAccessibilityImageRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityIncrementorRole(); +public static final NSString NSAccessibilityIncrementorRole = new NSString(NSAccessibilityIncrementorRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityInsertionPointLineNumberAttribute(); +public static final NSString NSAccessibilityInsertionPointLineNumberAttribute = new NSString(NSAccessibilityInsertionPointLineNumberAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityLabelValueAttribute(); +public static final NSString NSAccessibilityLabelValueAttribute = new NSString(NSAccessibilityLabelValueAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityLineForIndexParameterizedAttribute(); +public static final NSString NSAccessibilityLineForIndexParameterizedAttribute = new NSString(NSAccessibilityLineForIndexParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityLinkRole(); +public static final NSString NSAccessibilityLinkRole = new NSString(NSAccessibilityLinkRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityLinkTextAttribute(); +public static final NSString NSAccessibilityLinkTextAttribute = new NSString(NSAccessibilityLinkTextAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityListRole(); +public static final NSString NSAccessibilityListRole = new NSString(NSAccessibilityListRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityMaxValueAttribute(); +public static final NSString NSAccessibilityMaxValueAttribute = new NSString(NSAccessibilityMaxValueAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityMenuBarRole(); +public static final NSString NSAccessibilityMenuBarRole = new NSString(NSAccessibilityMenuBarRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityMenuButtonRole(); +public static final NSString NSAccessibilityMenuButtonRole = new NSString(NSAccessibilityMenuButtonRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityMenuItemRole(); +public static final NSString NSAccessibilityMenuItemRole = new NSString(NSAccessibilityMenuItemRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityMenuRole(); +public static final NSString NSAccessibilityMenuRole = new NSString(NSAccessibilityMenuRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityMinValueAttribute(); +public static final NSString NSAccessibilityMinValueAttribute = new NSString(NSAccessibilityMinValueAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityNextContentsAttribute(); +public static final NSString NSAccessibilityNextContentsAttribute = new NSString(NSAccessibilityNextContentsAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityNumberOfCharactersAttribute(); +public static final NSString NSAccessibilityNumberOfCharactersAttribute = new NSString(NSAccessibilityNumberOfCharactersAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityOrientationAttribute(); +public static final NSString NSAccessibilityOrientationAttribute = new NSString(NSAccessibilityOrientationAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityOutlineRole(); +public static final NSString NSAccessibilityOutlineRole = new NSString(NSAccessibilityOutlineRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityOutlineRowSubrole(); +public static final NSString NSAccessibilityOutlineRowSubrole = new NSString(NSAccessibilityOutlineRowSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityParentAttribute(); +public static final NSString NSAccessibilityParentAttribute = new NSString(NSAccessibilityParentAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityPopUpButtonRole(); +public static final NSString NSAccessibilityPopUpButtonRole = new NSString(NSAccessibilityPopUpButtonRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityPositionAttribute(); +public static final NSString NSAccessibilityPositionAttribute = new NSString(NSAccessibilityPositionAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityPressAction(); +public static final NSString NSAccessibilityPressAction = new NSString(NSAccessibilityPressAction()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityPreviousContentsAttribute(); +public static final NSString NSAccessibilityPreviousContentsAttribute = new NSString(NSAccessibilityPreviousContentsAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityProgressIndicatorRole(); +public static final NSString NSAccessibilityProgressIndicatorRole = new NSString(NSAccessibilityProgressIndicatorRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRTFForRangeParameterizedAttribute(); +public static final NSString NSAccessibilityRTFForRangeParameterizedAttribute = new NSString(NSAccessibilityRTFForRangeParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRadioButtonRole(); +public static final NSString NSAccessibilityRadioButtonRole = new NSString(NSAccessibilityRadioButtonRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRadioGroupRole(); +public static final NSString NSAccessibilityRadioGroupRole = new NSString(NSAccessibilityRadioGroupRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRangeForIndexParameterizedAttribute(); +public static final NSString NSAccessibilityRangeForIndexParameterizedAttribute = new NSString(NSAccessibilityRangeForIndexParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRangeForLineParameterizedAttribute(); +public static final NSString NSAccessibilityRangeForLineParameterizedAttribute = new NSString(NSAccessibilityRangeForLineParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRangeForPositionParameterizedAttribute(); +public static final NSString NSAccessibilityRangeForPositionParameterizedAttribute = new NSString(NSAccessibilityRangeForPositionParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRoleAttribute(); +public static final NSString NSAccessibilityRoleAttribute = new NSString(NSAccessibilityRoleAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRoleDescriptionAttribute(); +public static final NSString NSAccessibilityRoleDescriptionAttribute = new NSString(NSAccessibilityRoleDescriptionAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityRowRole(); +public static final NSString NSAccessibilityRowRole = new NSString(NSAccessibilityRowRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityScrollAreaRole(); +public static final NSString NSAccessibilityScrollAreaRole = new NSString(NSAccessibilityScrollAreaRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityScrollBarRole(); +public static final NSString NSAccessibilityScrollBarRole = new NSString(NSAccessibilityScrollBarRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedAttribute(); +public static final NSString NSAccessibilitySelectedAttribute = new NSString(NSAccessibilitySelectedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedChildrenAttribute(); +public static final NSString NSAccessibilitySelectedChildrenAttribute = new NSString(NSAccessibilitySelectedChildrenAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedChildrenChangedNotification(); +public static final NSString NSAccessibilitySelectedChildrenChangedNotification = new NSString(NSAccessibilitySelectedChildrenChangedNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedTextAttribute(); +public static final NSString NSAccessibilitySelectedTextAttribute = new NSString(NSAccessibilitySelectedTextAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedTextChangedNotification(); +public static final NSString NSAccessibilitySelectedTextChangedNotification = new NSString(NSAccessibilitySelectedTextChangedNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedTextRangeAttribute(); +public static final NSString NSAccessibilitySelectedTextRangeAttribute = new NSString(NSAccessibilitySelectedTextRangeAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySelectedTextRangesAttribute(); +public static final NSString NSAccessibilitySelectedTextRangesAttribute = new NSString(NSAccessibilitySelectedTextRangesAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityServesAsTitleForUIElementsAttribute(); +public static final NSString NSAccessibilityServesAsTitleForUIElementsAttribute = new NSString(NSAccessibilityServesAsTitleForUIElementsAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySizeAttribute(); +public static final NSString NSAccessibilitySizeAttribute = new NSString(NSAccessibilitySizeAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySliderRole(); +public static final NSString NSAccessibilitySliderRole = new NSString(NSAccessibilitySliderRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySortButtonRole(); +public static final NSString NSAccessibilitySortButtonRole = new NSString(NSAccessibilitySortButtonRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySplitterRole(); +public static final NSString NSAccessibilitySplitterRole = new NSString(NSAccessibilitySplitterRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityStandardWindowSubrole(); +public static final NSString NSAccessibilityStandardWindowSubrole = new NSString(NSAccessibilityStandardWindowSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityStaticTextRole(); +public static final NSString NSAccessibilityStaticTextRole = new NSString(NSAccessibilityStaticTextRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityStringForRangeParameterizedAttribute(); +public static final NSString NSAccessibilityStringForRangeParameterizedAttribute = new NSString(NSAccessibilityStringForRangeParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityStyleRangeForIndexParameterizedAttribute(); +public static final NSString NSAccessibilityStyleRangeForIndexParameterizedAttribute = new NSString(NSAccessibilityStyleRangeForIndexParameterizedAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySubroleAttribute(); +public static final NSString NSAccessibilitySubroleAttribute = new NSString(NSAccessibilitySubroleAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilitySystemDialogSubrole(); +public static final NSString NSAccessibilitySystemDialogSubrole = new NSString(NSAccessibilitySystemDialogSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTabGroupRole(); +public static final NSString NSAccessibilityTabGroupRole = new NSString(NSAccessibilityTabGroupRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTableRole(); +public static final NSString NSAccessibilityTableRole = new NSString(NSAccessibilityTableRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTableRowSubrole(); +public static final NSString NSAccessibilityTableRowSubrole = new NSString(NSAccessibilityTableRowSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTabsAttribute(); +public static final NSString NSAccessibilityTabsAttribute = new NSString(NSAccessibilityTabsAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTextAreaRole(); +public static final NSString NSAccessibilityTextAreaRole = new NSString(NSAccessibilityTextAreaRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTextFieldRole(); +public static final NSString NSAccessibilityTextFieldRole = new NSString(NSAccessibilityTextFieldRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTextLinkSubrole(); +public static final NSString NSAccessibilityTextLinkSubrole = new NSString(NSAccessibilityTextLinkSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTitleAttribute(); +public static final NSString NSAccessibilityTitleAttribute = new NSString(NSAccessibilityTitleAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTitleUIElementAttribute(); +public static final NSString NSAccessibilityTitleUIElementAttribute = new NSString(NSAccessibilityTitleUIElementAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityToolbarRole(); +public static final NSString NSAccessibilityToolbarRole = new NSString(NSAccessibilityToolbarRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityTopLevelUIElementAttribute(); +public static final NSString NSAccessibilityTopLevelUIElementAttribute = new NSString(NSAccessibilityTopLevelUIElementAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityUnknownRole(); +public static final NSString NSAccessibilityUnknownRole = new NSString(NSAccessibilityUnknownRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityUnknownSubrole(); +public static final NSString NSAccessibilityUnknownSubrole = new NSString(NSAccessibilityUnknownSubrole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityValueAttribute(); +public static final NSString NSAccessibilityValueAttribute = new NSString(NSAccessibilityValueAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityValueChangedNotification(); +public static final NSString NSAccessibilityValueChangedNotification = new NSString(NSAccessibilityValueChangedNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityValueDescriptionAttribute(); +public static final NSString NSAccessibilityValueDescriptionAttribute = new NSString(NSAccessibilityValueDescriptionAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityValueIndicatorRole(); +public static final NSString NSAccessibilityValueIndicatorRole = new NSString(NSAccessibilityValueIndicatorRole()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityVerticalOrientationValue(); +public static final NSString NSAccessibilityVerticalOrientationValue = new NSString(NSAccessibilityVerticalOrientationValue()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityVerticalScrollBarAttribute(); +public static final NSString NSAccessibilityVerticalScrollBarAttribute = new NSString(NSAccessibilityVerticalScrollBarAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityVisibleCharacterRangeAttribute(); +public static final NSString NSAccessibilityVisibleCharacterRangeAttribute = new NSString(NSAccessibilityVisibleCharacterRangeAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityVisibleChildrenAttribute(); +public static final NSString NSAccessibilityVisibleChildrenAttribute = new NSString(NSAccessibilityVisibleChildrenAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityWindowAttribute(); +public static final NSString NSAccessibilityWindowAttribute = new NSString(NSAccessibilityWindowAttribute()); +/** @method flags=const */ +public static final native int /*long*/ NSAccessibilityWindowRole(); +public static final NSString NSAccessibilityWindowRole = new NSString(NSAccessibilityWindowRole()); +/** @method flags=const */ +public static final native int /*long*/ NSApplicationDidChangeScreenParametersNotification(); +public static final NSString NSApplicationDidChangeScreenParametersNotification = new NSString(NSApplicationDidChangeScreenParametersNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSBackgroundColorAttributeName(); +public static final NSString NSBackgroundColorAttributeName = new NSString(NSBackgroundColorAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSBaselineOffsetAttributeName(); +public static final NSString NSBaselineOffsetAttributeName = new NSString(NSBaselineOffsetAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSCalibratedRGBColorSpace(); +public static final NSString NSCalibratedRGBColorSpace = new NSString(NSCalibratedRGBColorSpace()); +/** @method flags=const */ +public static final native int /*long*/ NSDeviceRGBColorSpace(); +public static final NSString NSDeviceRGBColorSpace = new NSString(NSDeviceRGBColorSpace()); +/** @method flags=const */ +public static final native int /*long*/ NSDeviceResolution(); +public static final NSString NSDeviceResolution = new NSString(NSDeviceResolution()); +/** @method flags=const */ +public static final native int /*long*/ NSDragPboard(); +public static final NSString NSDragPboard = new NSString(NSDragPboard()); +/** @method flags=const */ +public static final native int /*long*/ NSEventTrackingRunLoopMode(); +public static final NSString NSEventTrackingRunLoopMode = new NSString(NSEventTrackingRunLoopMode()); +/** @method flags=const */ +public static final native int /*long*/ NSFilenamesPboardType(); +public static final NSString NSFilenamesPboardType = new NSString(NSFilenamesPboardType()); +/** @method flags=const */ +public static final native int /*long*/ NSFontAttributeName(); +public static final NSString NSFontAttributeName = new NSString(NSFontAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSForegroundColorAttributeName(); +public static final NSString NSForegroundColorAttributeName = new NSString(NSForegroundColorAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSHTMLPboardType(); +public static final NSString NSHTMLPboardType = new NSString(NSHTMLPboardType()); +/** @method flags=const */ +public static final native int /*long*/ NSLinkAttributeName(); +public static final NSString NSLinkAttributeName = new NSString(NSLinkAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSObliquenessAttributeName(); +public static final NSString NSObliquenessAttributeName = new NSString(NSObliquenessAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSParagraphStyleAttributeName(); +public static final NSString NSParagraphStyleAttributeName = new NSString(NSParagraphStyleAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintAllPages(); +public static final NSString NSPrintAllPages = new NSString(NSPrintAllPages()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintCopies(); +public static final NSString NSPrintCopies = new NSString(NSPrintCopies()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintFirstPage(); +public static final NSString NSPrintFirstPage = new NSString(NSPrintFirstPage()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintJobDisposition(); +public static final NSString NSPrintJobDisposition = new NSString(NSPrintJobDisposition()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintLastPage(); +public static final NSString NSPrintLastPage = new NSString(NSPrintLastPage()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintMustCollate(); +public static final NSString NSPrintMustCollate = new NSString(NSPrintMustCollate()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintPreviewJob(); +public static final NSString NSPrintPreviewJob = new NSString(NSPrintPreviewJob()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintSaveJob(); +public static final NSString NSPrintSaveJob = new NSString(NSPrintSaveJob()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintSavePath(); +public static final NSString NSPrintSavePath = new NSString(NSPrintSavePath()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintScalingFactor(); +public static final NSString NSPrintScalingFactor = new NSString(NSPrintScalingFactor()); +/** @method flags=const */ +public static final native int /*long*/ NSPrintSpoolJob(); +public static final NSString NSPrintSpoolJob = new NSString(NSPrintSpoolJob()); +/** @method flags=const */ +public static final native int /*long*/ NSRTFPboardType(); +public static final NSString NSRTFPboardType = new NSString(NSRTFPboardType()); +/** @method flags=const */ +public static final native int /*long*/ NSStrikethroughColorAttributeName(); +public static final NSString NSStrikethroughColorAttributeName = new NSString(NSStrikethroughColorAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSStrikethroughStyleAttributeName(); +public static final NSString NSStrikethroughStyleAttributeName = new NSString(NSStrikethroughStyleAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSStringPboardType(); +public static final NSString NSStringPboardType = new NSString(NSStringPboardType()); +/** @method flags=const */ +public static final native int /*long*/ NSStrokeWidthAttributeName(); +public static final NSString NSStrokeWidthAttributeName = new NSString(NSStrokeWidthAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSSystemColorsDidChangeNotification(); +public static final NSString NSSystemColorsDidChangeNotification = new NSString(NSSystemColorsDidChangeNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSTIFFPboardType(); +public static final NSString NSTIFFPboardType = new NSString(NSTIFFPboardType()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarCustomizeToolbarItemIdentifier(); +public static final NSString NSToolbarCustomizeToolbarItemIdentifier = new NSString(NSToolbarCustomizeToolbarItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarDidRemoveItemNotification(); +public static final NSString NSToolbarDidRemoveItemNotification = new NSString(NSToolbarDidRemoveItemNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarFlexibleSpaceItemIdentifier(); +public static final NSString NSToolbarFlexibleSpaceItemIdentifier = new NSString(NSToolbarFlexibleSpaceItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarPrintItemIdentifier(); +public static final NSString NSToolbarPrintItemIdentifier = new NSString(NSToolbarPrintItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarSeparatorItemIdentifier(); +public static final NSString NSToolbarSeparatorItemIdentifier = new NSString(NSToolbarSeparatorItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarShowColorsItemIdentifier(); +public static final NSString NSToolbarShowColorsItemIdentifier = new NSString(NSToolbarShowColorsItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarShowFontsItemIdentifier(); +public static final NSString NSToolbarShowFontsItemIdentifier = new NSString(NSToolbarShowFontsItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarSpaceItemIdentifier(); +public static final NSString NSToolbarSpaceItemIdentifier = new NSString(NSToolbarSpaceItemIdentifier()); +/** @method flags=const */ +public static final native int /*long*/ NSToolbarWillAddItemNotification(); +public static final NSString NSToolbarWillAddItemNotification = new NSString(NSToolbarWillAddItemNotification()); +/** @method flags=const */ +public static final native int /*long*/ NSURLPboardType(); +public static final NSString NSURLPboardType = new NSString(NSURLPboardType()); +/** @method flags=const */ +public static final native int /*long*/ NSUnderlineColorAttributeName(); +public static final NSString NSUnderlineColorAttributeName = new NSString(NSUnderlineColorAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSUnderlineStyleAttributeName(); +public static final NSString NSUnderlineStyleAttributeName = new NSString(NSUnderlineStyleAttributeName()); +/** @method flags=const */ +public static final native int /*long*/ NSViewGlobalFrameDidChangeNotification(); +public static final NSString NSViewGlobalFrameDidChangeNotification = new NSString(NSViewGlobalFrameDidChangeNotification()); +/** @method flags=const */ +public static final native int /*long*/ kCFRunLoopCommonModes(); +/** @method flags=const */ +public static final native int /*long*/ NSDefaultRunLoopMode(); +public static final NSString NSDefaultRunLoopMode = new NSString(NSDefaultRunLoopMode()); +/** @method flags=const */ +public static final native int /*long*/ NSErrorFailingURLStringKey(); +public static final NSString NSErrorFailingURLStringKey = new NSString(NSErrorFailingURLStringKey()); + +/** Functions */ + +/** + * @param action cast=(NSString*) + */ +public static final native int /*long*/ NSAccessibilityActionDescription(int /*long*/ action); +/** + * @param element cast=(id) + * @param notification cast=(NSString*) + */ +public static final native void NSAccessibilityPostNotification(int /*long*/ element, int /*long*/ notification); +/** + * @param element cast=(id) + * @param attribute cast=(NSString*) + * @param value cast=(id) + */ +public static final native void NSAccessibilityRaiseBadArgumentException(int /*long*/ element, int /*long*/ attribute, int /*long*/ value); +/** + * @param role cast=(NSString*) + * @param subrole cast=(NSString*) + */ +public static final native int /*long*/ NSAccessibilityRoleDescription(int /*long*/ role, int /*long*/ subrole); +/** + * @param element cast=(id) + */ +public static final native int /*long*/ NSAccessibilityRoleDescriptionForUIElement(int /*long*/ element); +/** + * @param element cast=(id) + */ +public static final native int /*long*/ NSAccessibilityUnignoredAncestor(int /*long*/ element); +/** + * @param originalChildren cast=(NSArray*) + */ +public static final native int /*long*/ NSAccessibilityUnignoredChildren(int /*long*/ originalChildren); +/** + * @param originalChild cast=(id) + */ +public static final native int /*long*/ NSAccessibilityUnignoredChildrenForOnlyChild(int /*long*/ originalChild); +/** + * @param element cast=(id) + */ +public static final native int /*long*/ NSAccessibilityUnignoredDescendant(int /*long*/ element); +public static final native void NSBeep(); +/** + * @param depth cast=(NSWindowDepth) + */ +public static final native int /*long*/ NSBitsPerPixelFromDepth(int depth); +/** + * @param srcGState cast=(NSInteger) + * @param srcRect flags=struct + * @param destPoint flags=struct + */ +public static final native void NSCopyBits(int /*long*/ srcGState, NSRect srcRect, NSPoint destPoint); +/** + * @param colorSpaceName cast=(NSString*) + */ +public static final native int /*long*/ NSNumberOfColorComponents(int /*long*/ colorSpaceName); +/** + * @param theData cast=(CFDataRef) + */ +public static final native int /*long*/ CFDataGetBytePtr(int /*long*/ theData); +/** + * @param theData cast=(CFDataRef) + */ +public static final native int /*long*/ CFDataGetLength(int /*long*/ theData); +/** + * @param cf cast=(CFTypeRef) + */ +public static final native void CFRelease(int /*long*/ cf); +/** + * @param rl cast=(CFRunLoopRef) + * @param observer cast=(CFRunLoopObserverRef) + * @param mode cast=(CFStringRef) + */ +public static final native void CFRunLoopAddObserver(int /*long*/ rl, int /*long*/ observer, int /*long*/ mode); +public static final native int /*long*/ CFRunLoopGetCurrent(); +/** + * @param allocator cast=(CFAllocatorRef) + * @param activities cast=(CFOptionFlags) + * @param repeats cast=(Boolean) + * @param order cast=(CFIndex) + * @param callout cast=(CFRunLoopObserverCallBack) + * @param context cast=(CFRunLoopObserverContext*) + */ +public static final native int /*long*/ CFRunLoopObserverCreate(int /*long*/ allocator, int /*long*/ activities, boolean repeats, int /*long*/ order, int /*long*/ callout, int /*long*/ context); +/** + * @param observer cast=(CFRunLoopObserverRef) + */ +public static final native void CFRunLoopObserverInvalidate(int /*long*/ observer); +/** + * @param allocator cast=(CFAllocatorRef) + * @param originalString cast=(CFStringRef) + * @param charactersToLeaveUnescaped cast=(CFStringRef) + * @param legalURLCharactersToBeEscaped cast=(CFStringRef) + * @param encoding cast=(CFStringEncoding) + */ +public static final native int /*long*/ CFURLCreateStringByAddingPercentEscapes(int /*long*/ allocator, int /*long*/ originalString, int /*long*/ charactersToLeaveUnescaped, int /*long*/ legalURLCharactersToBeEscaped, int encoding); +/** + * @param data cast=(void*) + * @param width cast=(size_t) + * @param height cast=(size_t) + * @param bitsPerComponent cast=(size_t) + * @param bytesPerRow cast=(size_t) + * @param colorspace cast=(CGColorSpaceRef) + * @param bitmapInfo cast=(CGBitmapInfo) + */ +public static final native int /*long*/ CGBitmapContextCreate(int /*long*/ data, int /*long*/ width, int /*long*/ height, int /*long*/ bitsPerComponent, int /*long*/ bytesPerRow, int /*long*/ colorspace, int bitmapInfo); +/** + * @param c cast=(CGContextRef) + */ +public static final native int /*long*/ CGBitmapContextCreateImage(int /*long*/ c); +/** + * @param c cast=(CGContextRef) + */ +public static final native int /*long*/ CGBitmapContextGetData(int /*long*/ c); +public static final native int /*long*/ CGColorSpaceCreateDeviceRGB(); +/** + * @param space cast=(CGColorSpaceRef) + */ +public static final native void CGColorSpaceRelease(int /*long*/ space); +/** + * @param context cast=(CGContextRef) + * @param path cast=(CGPathRef) + */ +public static final native void CGContextAddPath(int /*long*/ context, int /*long*/ path); +/** + * @param c cast=(CGContextRef) + * @param rect flags=struct + * @param image cast=(CGImageRef) + */ +public static final native void CGContextDrawImage(int /*long*/ c, CGRect rect, int /*long*/ image); +/** + * @param c cast=(CGContextRef) + */ +public static final native void CGContextRelease(int /*long*/ c); +/** + * @param c cast=(CGContextRef) + */ +public static final native void CGContextReplacePathWithStrokedPath(int /*long*/ c); +/** + * @param c cast=(CGContextRef) + */ +public static final native void CGContextRestoreGState(int /*long*/ c); +/** + * @param c cast=(CGContextRef) + */ +public static final native void CGContextSaveGState(int /*long*/ c); +/** + * @param c cast=(CGContextRef) + * @param sx cast=(CGFloat) + * @param sy cast=(CGFloat) + */ +public static final native void CGContextScaleCTM(int /*long*/ c, float /*double*/ sx, float /*double*/ sy); +/** + * @param context cast=(CGContextRef) + * @param mode cast=(CGBlendMode) + */ +public static final native void CGContextSetBlendMode(int /*long*/ context, int mode); +/** + * @param c cast=(CGContextRef) + * @param cap cast=(CGLineCap) + */ +public static final native void CGContextSetLineCap(int /*long*/ c, int cap); +/** + * @param c cast=(CGContextRef) + * @param phase cast=(CGFloat) + * @param lengths cast=(CGFloat*) + * @param count cast=(size_t) + */ +public static final native void CGContextSetLineDash(int /*long*/ c, float /*double*/ phase, float[] lengths, int /*long*/ count); +/** + * @param c cast=(CGContextRef) + * @param join cast=(CGLineJoin) + */ +public static final native void CGContextSetLineJoin(int /*long*/ c, int join); +/** + * @param c cast=(CGContextRef) + * @param width cast=(CGFloat) + */ +public static final native void CGContextSetLineWidth(int /*long*/ c, float /*double*/ width); +/** + * @param c cast=(CGContextRef) + * @param limit cast=(CGFloat) + */ +public static final native void CGContextSetMiterLimit(int /*long*/ c, float /*double*/ limit); +/** + * @param c cast=(CGContextRef) + */ +public static final native void CGContextStrokePath(int /*long*/ c); +/** + * @param c cast=(CGContextRef) + * @param tx cast=(CGFloat) + * @param ty cast=(CGFloat) + */ +public static final native void CGContextTranslateCTM(int /*long*/ c, float /*double*/ tx, float /*double*/ ty); +/** + * @param info cast=(void*) + * @param data cast=(void*) + * @param size cast=(size_t) + * @param releaseData cast=(CGDataProviderReleaseDataCallback) + */ +public static final native int /*long*/ CGDataProviderCreateWithData(int /*long*/ info, int /*long*/ data, int /*long*/ size, int /*long*/ releaseData); +/** + * @param provider cast=(CGDataProviderRef) + */ +public static final native void CGDataProviderRelease(int /*long*/ provider); +/** + * @param display cast=(CGDirectDisplayID) + */ +public static final native int /*long*/ CGDisplayBaseAddress(int display); +/** + * @param display cast=(CGDirectDisplayID) + */ +public static final native int /*long*/ CGDisplayBitsPerPixel(int display); +/** + * @param display cast=(CGDirectDisplayID) + */ +public static final native int /*long*/ CGDisplayBitsPerSample(int display); +/** + * @param display cast=(CGDirectDisplayID) + */ +public static final native int /*long*/ CGDisplayBytesPerRow(int display); +/** + * @param display cast=(CGDirectDisplayID) + */ +public static final native int /*long*/ CGDisplayPixelsHigh(int display); +/** + * @param display cast=(CGDirectDisplayID) + */ +public static final native int /*long*/ CGDisplayPixelsWide(int display); +/** + * @param doCombineState cast=(boolean_t) + */ +public static final native int CGEnableEventStateCombining(int doCombineState); +/** + * @param source cast=(CGEventSourceRef) + * @param virtualKey cast=(CGKeyCode) + * @param keyDown cast=(_Bool) + */ +public static final native int /*long*/ CGEventCreateKeyboardEvent(int /*long*/ source, short virtualKey, boolean keyDown); +/** + * @param event cast=(CGEventRef) + * @param field cast=(CGEventField) + */ +public static final native long CGEventGetIntegerValueField(int /*long*/ event, int field); +/** + * @param event cast=(CGEventRef) + * @param stringLength cast=(UniCharCount) + * @param unicodeString cast=(UniChar*) + */ +public static final native void CGEventKeyboardSetUnicodeString(int /*long*/ event, int /*long*/ stringLength, char[] unicodeString); +/** + * @param tap cast=(CGEventTapLocation) + * @param event cast=(CGEventRef) + */ +public static final native void CGEventPost(int tap, int /*long*/ event); +/** + * @param rect flags=struct + * @param maxDisplays cast=(CGDisplayCount) + * @param dspys cast=(CGDirectDisplayID*) + * @param dspyCnt cast=(CGDisplayCount*) + */ +public static final native int CGGetDisplaysWithRect(CGRect rect, int maxDisplays, int /*long*/ dspys, int /*long*/ dspyCnt); +/** + * @param width cast=(size_t) + * @param height cast=(size_t) + * @param bitsPerComponent cast=(size_t) + * @param bitsPerPixel cast=(size_t) + * @param bytesPerRow cast=(size_t) + * @param colorspace cast=(CGColorSpaceRef) + * @param bitmapInfo cast=(CGBitmapInfo) + * @param provider cast=(CGDataProviderRef) + * @param decode cast=(CGFloat*) + * @param shouldInterpolate cast=(_Bool) + * @param intent cast=(CGColorRenderingIntent) + */ +public static final native int /*long*/ CGImageCreate(int /*long*/ width, int /*long*/ height, int /*long*/ bitsPerComponent, int /*long*/ bitsPerPixel, int /*long*/ bytesPerRow, int /*long*/ colorspace, int bitmapInfo, int /*long*/ provider, int /*long*/ decode, boolean shouldInterpolate, int intent); +/** + * @param image cast=(CGImageRef) + */ +public static final native int /*long*/ CGImageGetHeight(int /*long*/ image); +/** + * @param image cast=(CGImageRef) + */ +public static final native int /*long*/ CGImageGetWidth(int /*long*/ image); +/** + * @param image cast=(CGImageRef) + */ +public static final native void CGImageRelease(int /*long*/ image); +/** + * @param path cast=(CGMutablePathRef) + * @param m cast=(CGAffineTransform*) + * @param cp1x cast=(CGFloat) + * @param cp1y cast=(CGFloat) + * @param cp2x cast=(CGFloat) + * @param cp2y cast=(CGFloat) + * @param x cast=(CGFloat) + * @param y cast=(CGFloat) + */ +public static final native void CGPathAddCurveToPoint(int /*long*/ path, int /*long*/ m, float /*double*/ cp1x, float /*double*/ cp1y, float /*double*/ cp2x, float /*double*/ cp2y, float /*double*/ x, float /*double*/ y); +/** + * @param path cast=(CGMutablePathRef) + * @param m cast=(CGAffineTransform*) + * @param x cast=(CGFloat) + * @param y cast=(CGFloat) + */ +public static final native void CGPathAddLineToPoint(int /*long*/ path, int /*long*/ m, float /*double*/ x, float /*double*/ y); +/** + * @param path cast=(CGPathRef) + * @param info cast=(void*) + * @param function cast=(CGPathApplierFunction) + */ +public static final native void CGPathApply(int /*long*/ path, int /*long*/ info, int /*long*/ function); +/** + * @param path cast=(CGMutablePathRef) + */ +public static final native void CGPathCloseSubpath(int /*long*/ path); +/** + * @param path cast=(CGPathRef) + */ +public static final native int /*long*/ CGPathCreateCopy(int /*long*/ path); +public static final native int /*long*/ CGPathCreateMutable(); +/** + * @param path cast=(CGMutablePathRef) + * @param m cast=(CGAffineTransform*) + * @param x cast=(CGFloat) + * @param y cast=(CGFloat) + */ +public static final native void CGPathMoveToPoint(int /*long*/ path, int /*long*/ m, float /*double*/ x, float /*double*/ y); +/** + * @param path cast=(CGPathRef) + */ +public static final native void CGPathRelease(int /*long*/ path); +/** + * @param keyChar cast=(CGCharCode) + * @param virtualKey cast=(CGKeyCode) + * @param keyDown cast=(boolean_t) + */ +public static final native int CGPostKeyboardEvent(short keyChar, short virtualKey, boolean keyDown); +/** + * @param mouseCursorPosition flags=struct + * @param updateMouseCursorPosition cast=(boolean_t) + * @param buttonCount cast=(CGButtonCount) + * @param mouseButtonDown cast=(boolean_t) + */ +public static final native int CGPostMouseEvent(CGPoint mouseCursorPosition, boolean updateMouseCursorPosition, int buttonCount, boolean mouseButtonDown, boolean varArg0, boolean varArg1, boolean varArg2, boolean varArg3); +/** + * @param wheelCount cast=(CGWheelCount) + * @param wheel1 cast=(int32_t) + */ +public static final native int CGPostScrollWheelEvent(int wheelCount, int wheel1); +/** + * @param filter cast=(CGEventFilterMask) + * @param state cast=(CGEventSuppressionState) + */ +public static final native int CGSetLocalEventsFilterDuringSuppressionState(int filter, int state); +/** + * @param seconds cast=(CFTimeInterval) + */ +public static final native int CGSetLocalEventsSuppressionInterval(double seconds); +/** + * @param newCursorPosition flags=struct + */ +public static final native int CGWarpMouseCursorPosition(CGPoint newCursorPosition); +/** + * @param aRect flags=struct + * @param bRect flags=struct + */ +public static final native boolean NSEqualRects(NSRect aRect, NSRect bRect); +/** + * @param hfsFileTypeCode cast=(OSType) + */ +public static final native int /*long*/ NSFileTypeForHFSTypeCode(int hfsFileTypeCode); +/** + * @param typePtr cast=(char*) + * @param sizep cast=(NSUInteger*) + * @param alignp cast=(NSUInteger*) + */ +public static final native int /*long*/ NSGetSizeAndAlignment(int /*long*/ typePtr, int[] /*long[]*/ sizep, int[] /*long[]*/ alignp); +/** + * @param aPoint flags=struct + * @param aRect flags=struct + */ +public static final native boolean NSPointInRect(NSPoint aPoint, NSRect aRect); +/** + * @param directory cast=(NSSearchPathDirectory) + * @param domainMask cast=(NSSearchPathDomainMask) + * @param expandTilde cast=(BOOL) + */ +public static final native int /*long*/ NSSearchPathForDirectoriesInDomains(int /*long*/ directory, int /*long*/ domainMask, boolean expandTilde); +public static final native int /*long*/ NSTemporaryDirectory(); + +/** Super Sends */ + +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native boolean objc_msgSendSuper_bool(objc_super superId, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSPoint arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSRect arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSSize arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, boolean arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, NSRect arg1, int /*long*/ arg2); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, boolean arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, int /*long*/ sel, NSRect arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native void objc_msgSendSuper_stret(NSSize result, objc_super superId, int /*long*/ sel); + +/** Sends */ + +/** @method flags=cast */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, NSPoint arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, NSRect arg0); +/** @method flags=cast */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSSize arg1, boolean arg2); +/** @method flags=cast */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2); +/** @method flags=cast */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4); +/** @method flags=cast */ +public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, short arg0); +/** @method flags=cast */ +public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel); +/** @method flags=cast */ +public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); +/** @method flags=cast */ +public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSAffineTransformStruct arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + * @param arg2 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, NSPoint arg1, NSPoint arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, NSPoint arg1, int /*long*/ arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, NSRect arg1, int /*long*/ arg2, float /*double*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, float /*double*/ arg1, float /*double*/ arg2, float /*double*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, float /*double*/ arg1, float /*double*/ arg2, float /*double*/ arg3, boolean arg4); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, int /*long*/ arg1, float[] /*double[]*/ arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, NSPoint arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, NSRange arg1, int /*long*/ arg2, int /*long*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, int /*long*/ arg5); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, NSPoint arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + * @param arg2 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, NSRange arg1, NSRect arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, NSRect arg1, int /*long*/ arg2, float /*double*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, boolean arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, boolean arg1, boolean arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, float /*double*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, float /*double*/ arg1, float /*double*/ arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, boolean arg2, int /*long*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3, int /*long*/ arg4); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSSize arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, boolean arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, boolean arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, byte[] arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, byte[] arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, char[] arg0); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, char[] arg0, NSRange arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, char[] arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, double arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, double arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, boolean arg4); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float /*double*/ arg0, float /*double*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float /*double*/ arg0, float /*double*/ arg1, float /*double*/ arg2, float /*double*/ arg3); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float /*double*/ arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float[] /*double[]*/ arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float[] /*double[]*/ arg0, int /*long*/ arg1, float /*double*/ arg2); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1); +/** + * @method flags=cast + * @param arg1 flags=struct + * @param arg2 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, NSSize arg2, int /*long*/ arg3, int /*long*/ arg4, int /*long*/ arg5, boolean arg6); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2, double arg3, int /*long*/ arg4, int /*long*/ arg5, int /*long*/ arg6, int /*long*/ arg7, int /*long*/ arg8); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2, double arg3, int /*long*/ arg4, int /*long*/ arg5, short arg6, int /*long*/ arg7, int /*long*/ arg8); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSRange arg1); +/** + * @method flags=cast + * @param arg1 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSRect arg1, int /*long*/ arg2); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, boolean arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, float /*double*/ arg1); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg2 flags=struct + */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, NSRange arg2); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, boolean arg2); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, float /*double*/ arg3); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, boolean arg5, boolean arg6, int /*long*/ arg7, int /*long*/ arg8, int /*long*/ arg9); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, boolean arg5, boolean arg6, int /*long*/ arg7, int /*long*/ arg8, int /*long*/ arg9, int /*long*/ arg10); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, int /*long*/ arg5, int /*long*/ arg6); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int[] /*long[]*/ arg0); +/** @method flags=cast */ +public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int[] /*long[]*/ arg0, int arg1, int arg2); +/** @method flags=cast */ +public static final native int objc_msgSend(int id, int sel, float arg0); +/** @method flags=cast */ +public static final native long objc_msgSend(long id, long sel, float arg0, double arg1); +/** @method flags=cast */ +public static final native long objc_msgSend(long id, long sel, int arg0); +/** @method flags=cast */ +public static final native long objc_msgSend(long id, long sel, int[] arg0); +/** @method flags=cast */ +public static final native long objc_msgSend(long id, long sel, long[] arg0, long arg1, long arg2); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSAffineTransformStruct result, int /*long*/ id, int /*long*/ sel); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel, NSPoint arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel, NSPoint arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel, NSRect arg0); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, NSRect arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, boolean arg2); +/** @method flags=cast */ +public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSRect arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSSize arg0); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSSize arg0, boolean arg1, boolean arg2, int /*long*/ arg3); +/** + * @method flags=cast + * @param arg0 flags=struct + */ +public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSSize arg0, int /*long*/ arg1); + +/** Sizeof natives */ +public static final native int CGPathElement_sizeof(); +public static final native int CGPoint_sizeof(); +public static final native int CGRect_sizeof(); +public static final native int CGSize_sizeof(); +public static final native int NSAffineTransformStruct_sizeof(); +public static final native int NSPoint_sizeof(); +public static final native int NSRange_sizeof(); +public static final native int NSRect_sizeof(); +public static final native int NSSize_sizeof(); + +/** Memmove natives */ + +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, CGPathElement src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(CGPathElement dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, CGPoint src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(CGPoint dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, CGRect src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(CGRect dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, CGSize src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(CGSize dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, NSAffineTransformStruct src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(NSAffineTransformStruct dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, NSPoint src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(NSPoint dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, NSRange src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(NSRange dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, NSRect src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(NSRect dest, int /*long*/ src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(int /*long*/ dest, NSSize src, int /*long*/ size); +/** + * @param dest cast=(void *),flags=no_in critical + * @param src cast=(void *),flags=critical + */ +public static final native void memmove(NSSize dest, int /*long*/ src, int /*long*/ size); + +/** This section is auto generated */ +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/Protocol.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/Protocol.java new file mode 100644 index 0000000000..c23340b371 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/Protocol.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class Protocol extends id { + +public Protocol() { + super(); +} + +public Protocol(int /*long*/ id) { + super(id); +} + +public Protocol(id id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTApplicationDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTApplicationDelegate.java new file mode 100644 index 0000000000..00398c3241 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTApplicationDelegate.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTApplicationDelegate extends NSObject { + public SWTApplicationDelegate() { + super(0); + } + + public SWTApplicationDelegate(int id) { + super(id); + } +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTBox.java new file mode 100644 index 0000000000..d59eadbe17 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTBox.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTBox extends NSBox { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButton.java new file mode 100644 index 0000000000..cf530934e0 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButton.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTButton extends NSButton { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButtonCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButtonCell.java new file mode 100644 index 0000000000..f6599559de --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButtonCell.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTButtonCell extends NSButtonCell { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTCanvasView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTCanvasView.java new file mode 100644 index 0000000000..be70fcb240 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTCanvasView.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + + +public class SWTCanvasView extends NSView { + +public SWTCanvasView() { + super(0); +} + +public SWTCanvasView(int id) { + super(id); +} + +}
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTComboBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTComboBox.java new file mode 100644 index 0000000000..52f5e9ca5c --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTComboBox.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTComboBox extends NSComboBox { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDatePicker.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDatePicker.java new file mode 100644 index 0000000000..1a9547dd53 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDatePicker.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTDatePicker extends NSDatePicker { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDragSourceDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDragSourceDelegate.java new file mode 100644 index 0000000000..34da394bcb --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDragSourceDelegate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTDragSourceDelegate extends NSObject { + + public SWTDragSourceDelegate() { + super(0); + } + + public SWTDragSourceDelegate(int id) { + super(id); + } + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageTextCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageTextCell.java new file mode 100644 index 0000000000..4668420590 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageTextCell.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTImageTextCell extends NSTextFieldCell { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageView.java new file mode 100644 index 0000000000..b7d8a3eb3d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageView.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTImageView extends NSImageView { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenu.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenu.java new file mode 100644 index 0000000000..5797741eba --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenu.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTMenu extends NSMenu { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenuItem.java new file mode 100644 index 0000000000..0a3f2ab2eb --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenuItem.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTMenuItem extends NSMenuItem { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOutlineView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOutlineView.java new file mode 100644 index 0000000000..0de8410403 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOutlineView.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTOutlineView extends NSOutlineView { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanelDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanelDelegate.java new file mode 100644 index 0000000000..9a007381e4 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanelDelegate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTPanelDelegate extends NSObject { + +public SWTPanelDelegate() { + super(0); +} + +public SWTPanelDelegate(int id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPopUpButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPopUpButton.java new file mode 100644 index 0000000000..6698a9f851 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPopUpButton.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTPopUpButton extends NSPopUpButton { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrintPanelDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrintPanelDelegate.java new file mode 100644 index 0000000000..9d298808b9 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrintPanelDelegate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTPrintPanelDelegate extends NSObject { + +public SWTPrintPanelDelegate() { + super(0); +} + +public SWTPrintPanelDelegate(int id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrinterView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrinterView.java new file mode 100644 index 0000000000..c4fc3d1ddd --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrinterView.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTPrinterView extends NSView { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTProgressIndicator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTProgressIndicator.java new file mode 100644 index 0000000000..219bdfdceb --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTProgressIndicator.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTProgressIndicator extends NSProgressIndicator { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScrollView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScrollView.java new file mode 100644 index 0000000000..df73239086 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScrollView.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTScrollView extends NSScrollView { + +public SWTScrollView() { + super(0); +} + +public SWTScrollView(int id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScroller.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScroller.java new file mode 100644 index 0000000000..15726d8254 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScroller.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTScroller extends NSScroller { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java new file mode 100644 index 0000000000..58a79640b6 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTSearchField extends NSSearchField { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSecureTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSecureTextField.java new file mode 100644 index 0000000000..43de31610d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSecureTextField.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTSecureTextField extends NSSecureTextField { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSlider.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSlider.java new file mode 100644 index 0000000000..6567abcc55 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSlider.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTSlider extends NSSlider { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTStepper.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTStepper.java new file mode 100644 index 0000000000..9772772c24 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTStepper.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTStepper extends NSStepper { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabView.java new file mode 100644 index 0000000000..dd517d0a15 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabView.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTabView extends NSTabView { + +public SWTTabView() { + super(0); +} + +public SWTTabView(int id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderCell.java new file mode 100644 index 0000000000..a56bebba67 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderCell.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTableHeaderCell extends NSTableHeaderCell { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderView.java new file mode 100644 index 0000000000..8f15c5e022 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderView.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTableHeaderView extends NSTableHeaderView { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableView.java new file mode 100644 index 0000000000..4b80bf95f5 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableView.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTableView extends NSTableView { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextField.java new file mode 100644 index 0000000000..55619b98a9 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextField.java @@ -0,0 +1,16 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTextField extends NSTextField { + + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java new file mode 100644 index 0000000000..5e8829159b --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTextView extends NSTextView { + +public SWTTextView() { + super(0); +} + +public SWTTextView(int id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTToolbar.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTToolbar.java new file mode 100644 index 0000000000..6bd9ef9f44 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTToolbar.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2008, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTToolbar extends NSToolbar { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTreeItem.java new file mode 100644 index 0000000000..b1bbd1d4b4 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTreeItem.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTTreeItem extends NSObject { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTView.java new file mode 100644 index 0000000000..ae71db6a11 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTView.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + + +public class SWTView extends NSView { + +public SWTView() { + super(0); +} + +public SWTView(int id) { + super(id); +} + +}
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWebViewDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWebViewDelegate.java new file mode 100644 index 0000000000..aaa628cba8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWebViewDelegate.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTWebViewDelegate extends NSObject { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindow.java new file mode 100644 index 0000000000..89eb61df00 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindow.java @@ -0,0 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTWindow extends NSWindow { + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindowDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindowDelegate.java new file mode 100644 index 0000000000..7387bb43e5 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindowDelegate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class SWTWindowDelegate extends NSObject { + +public SWTWindowDelegate() { + super(0); +} + +public SWTWindowDelegate(int id) { + super(id); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDataSource.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDataSource.java new file mode 100644 index 0000000000..51e6ac69bd --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDataSource.java @@ -0,0 +1,47 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebDataSource extends NSObject { + +public WebDataSource() { + super(); +} + +public WebDataSource(int /*long*/ id) { + super(id); +} + +public WebDataSource(id id) { + super(id); +} + +public NSString pageTitle() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pageTitle); + return result != 0 ? new NSString(result) : null; +} + +public WebDocumentRepresentation representation() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_representation); + return result != 0 ? new WebDocumentRepresentation(result) : null; +} + +public NSMutableURLRequest request() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_request); + return result != 0 ? new NSMutableURLRequest(result) : null; +} + +public WebFrame webFrame() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_webFrame); + return result != 0 ? new WebFrame(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDocumentRepresentation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDocumentRepresentation.java new file mode 100644 index 0000000000..36e16c9118 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDocumentRepresentation.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebDocumentRepresentation extends NSObject { + +public WebDocumentRepresentation() { + super(); +} + +public WebDocumentRepresentation(int /*long*/ id) { + super(id); +} + +public WebDocumentRepresentation(id id) { + super(id); +} + +public NSString documentSource() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_documentSource); + return result != 0 ? new NSString(result) : null; +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrame.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrame.java new file mode 100644 index 0000000000..951ebfb019 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrame.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebFrame extends NSObject { + +public WebFrame() { + super(); +} + +public WebFrame(int /*long*/ id) { + super(id); +} + +public WebFrame(id id) { + super(id); +} + +public DOMDocument DOMDocument() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_DOMDocument); + return result != 0 ? new DOMDocument(result) : null; +} + +public WebDataSource dataSource() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dataSource); + return result != 0 ? new WebDataSource(result) : null; +} + +public void loadHTMLString(NSString string, NSURL URL) { + OS.objc_msgSend(this.id, OS.sel_loadHTMLString_baseURL_, string != null ? string.id : 0, URL != null ? URL.id : 0); +} + +public void loadRequest(NSURLRequest request) { + OS.objc_msgSend(this.id, OS.sel_loadRequest_, request != null ? request.id : 0); +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrameView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrameView.java new file mode 100644 index 0000000000..5075e8edea --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrameView.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebFrameView extends NSObject { + +public WebFrameView() { + super(); +} + +public WebFrameView(int /*long*/ id) { + super(id); +} + +public WebFrameView(id id) { + super(id); +} + +public boolean documentViewShouldHandlePrint() { + return OS.objc_msgSend_bool(this.id, OS.sel_documentViewShouldHandlePrint); +} + +public void printDocumentView() { + OS.objc_msgSend(this.id, OS.sel_printDocumentView); +} + +public NSPrintOperation printOperationWithPrintInfo(NSPrintInfo printInfo) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_printOperationWithPrintInfo_, printInfo != null ? printInfo.id : 0); + return result != 0 ? new NSPrintOperation(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras new file mode 100644 index 0000000000..2d1617c9b9 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras @@ -0,0 +1,410 @@ +<?xml version="1.0" encoding="UTF8"?> +<signatures swt_gen="mixed"> + <class name="DOMDocument" swt_gen="mixed"> + <method selector="webFrame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="DOMEvent" swt_gen="mixed"> + <method selector="preventDefault" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="DOMKeyboardEvent" swt_gen="mixed" swt_superclass="DOMUIEvent"> + <method selector="altKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="charCode" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="ctrlKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="keyCode" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="metaKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="shiftKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="DOMMouseEvent" swt_gen="mixed" swt_superclass="DOMUIEvent"> + <method selector="altKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="button" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clientX" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clientY" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="ctrlKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="metaKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="shiftKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="DOMUIEvent" swt_gen="mixed" swt_superclass="DOMEvent"> + <method selector="detail" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="DOMWheelEvent" swt_gen="mixed"> + <method selector="altKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clientX" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="clientY" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="ctrlKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="metaKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="shiftKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="wheelDelta" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="NSObject" swt_gen="mixed"> + <method selector="addEventListener:listener:useCapture:" swt_gen="true"> + <arg name="type" swt_gen="true"></arg> + <arg name="listener" swt_gen="true"></arg> + <arg name="useCapture" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="handleEvent:" swt_gen="true"> + <arg name="evt" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebDataSource" swt_gen="mixed"> + <method selector="pageTitle" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="representation" swt_gen="true"> + <retval swt_gen="true" swt_java_type="WebDocumentRepresentation"></retval> + </method> + <method selector="request" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="webFrame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebFrame" swt_gen="mixed"> + <method selector="DOMDocument" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="dataSource" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="loadHTMLString:baseURL:" swt_gen="true"> + <arg name="string" swt_gen="true"></arg> + <arg name="URL" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="loadRequest:" swt_gen="true"> + <arg name="request" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebFrameView" swt_gen="mixed"> + <method selector="documentViewShouldHandlePrint" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="printDocumentView" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="printOperationWithPrintInfo:" swt_gen="true"> + <arg name="printInfo" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebPreferences" swt_gen="mixed"> + <method selector="setJavaEnabled:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setJavaScriptEnabled:" swt_gen="true"> + <arg name="flag" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="standardPreferences" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebScriptObject" swt_gen="mixed"> + <method selector="webScriptValueAtIndex:" swt_gen="true"> + <arg name="index" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebUndefined" swt_gen="true"> + <method class_method="true" selector="undefined" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + </class> + <class name="WebView" swt_gen="mixed" swt_superclass="NSView"> + <method selector="canGoBack" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="canGoForward" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method class_method="true" selector="canShowMIMEType:" swt_gen="true"> + <arg name="MIMEType" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="copy:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="cut:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="goBack" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="goForward" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="initWithFrame:frameName:groupName:" swt_gen="true"> + <arg name="frame" swt_gen="true"></arg> + <arg name="frameName" swt_gen="true"></arg> + <arg name="groupName" swt_gen="true"></arg> + <retval swt_gen="true" swt_java_type="WebView"></retval> + </method> + <method selector="mainFrame" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> + <method selector="paste:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="reload:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setApplicationNameForUserAgent:" swt_gen="true"> + <arg name="applicationName" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setDownloadDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setFrameLoadDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPolicyDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setPreferences:" swt_gen="true"> + <arg name="prefs" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setResourceLoadDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="setUIDelegate:" swt_gen="true"> + <arg name="delegate" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stopLoading:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + <method selector="stringByEvaluatingJavaScriptFromString:" swt_gen="true"> + <arg name="script" swt_gen="true"></arg> + <retval swt_gen="true"></retval> + </method> + </class> + <informal_protocol name="WebFrameLoadDelegate" swt_gen="mixed"> + <method selector="webView:didChangeLocationWithinPageForFrame:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:didCommitLoadForFrame:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:didFailProvisionalLoadWithError:forFrame:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="error" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:didFinishLoadForFrame:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:didReceiveTitle:forFrame:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="title" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:didStartProvisionalLoadForFrame:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:windowScriptObjectAvailable:" swt_gen="true"> + <arg name="webView" swt_gen="true"></arg> + <arg name="windowScriptObject" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="WebPolicyDelegate" swt_gen="true"> + <method selector="webView:decidePolicyForMIMEType:request:frame:decisionListener:" swt_gen="true"> + <arg name="webView" swt_gen="true"></arg> + <arg name="type" swt_gen="true"></arg> + <arg name="request" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + <arg name="listener" swt_gen="true"></arg> + </method> + <method selector="webView:decidePolicyForNavigationAction:request:frame:decisionListener:" swt_gen="true"> + <arg name="webView" swt_gen="true"></arg> + <arg name="actionInformation" swt_gen="true"></arg> + <arg name="request" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + <arg name="listener" swt_gen="true"></arg> + </method> + <method selector="webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListener:" swt_gen="true"> + <arg name="webView" swt_gen="true"></arg> + <arg name="actionInformation" swt_gen="true"></arg> + <arg name="request" swt_gen="true"></arg> + <arg name="frameName" swt_gen="true"></arg> + <arg name="listener" swt_gen="true"></arg> + </method> + <method selector="webView:unableToImplementPolicyWithError:frame:" swt_gen="true"> + <arg name="webView" swt_gen="true"></arg> + <arg name="error" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="WebResourceLoadDelegate" swt_gen="mixed"> + <method selector="webView:identifierForInitialRequest:fromDataSource:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="request" swt_gen="true"></arg> + <arg name="dataSource" swt_gen="true"></arg> + </method> + <method selector="webView:resource:didFailLoadingWithError:fromDataSource:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="identifier" swt_gen="true"></arg> + <arg name="error" swt_gen="true"></arg> + <arg name="dataSource" swt_gen="true"></arg> + </method> + <method selector="webView:resource:didFinishLoadingFromDataSource:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="identifier" swt_gen="true"></arg> + <arg name="dataSource" swt_gen="true"></arg> + </method> + <method selector="webView:resource:didReceiveAuthenticationChallenge:fromDataSource:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="identifier" swt_gen="true"></arg> + <arg name="challenge" swt_gen="true"></arg> + <arg name="dataSource" swt_gen="true"></arg> + </method> + <method selector="webView:resource:willSendRequest:redirectResponse:fromDataSource:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="identifier" swt_gen="true"></arg> + <arg name="request" swt_gen="true"></arg> + <arg name="redirectResponse" swt_gen="true"></arg> + <arg name="dataSource" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="WebUIDelegate" swt_gen="mixed"> + <method selector="webView:contextMenuItemsForElement:defaultMenuItems:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="element" swt_gen="true"></arg> + <arg name="defaultMenuItems" swt_gen="true"></arg> + </method> + <method selector="webView:createWebViewWithRequest:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="request" swt_gen="true"></arg> + </method> + <method selector="webView:mouseDidMoveOverElement:modifierFlags:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="elementInformation" swt_gen="true"></arg> + <arg name="modifierFlags" swt_gen="true"></arg> + </method> + <method selector="webView:printFrameView:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="frameView" swt_gen="true"></arg> + </method> + <method selector="webView:runJavaScriptAlertPanelWithMessage:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="message" swt_gen="true"></arg> + </method> + <method selector="webView:runJavaScriptConfirmPanelWithMessage:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="message" swt_gen="true"></arg> + </method> + <method selector="webView:runOpenPanelForFileButtonWithResultListener:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="resultListener" swt_gen="true"></arg> + </method> + <method selector="webView:setFrame:" swt_gen="true" swt_gen_custom_callback="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="frame" swt_gen="true"></arg> + </method> + <method selector="webView:setResizable:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="resizable" swt_gen="true"></arg> + </method> + <method selector="webView:setStatusBarVisible:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="visible" swt_gen="true"></arg> + </method> + <method selector="webView:setStatusText:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="text" swt_gen="true"></arg> + </method> + <method selector="webView:setToolbarsVisible:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + <arg name="visible" swt_gen="true"></arg> + </method> + <method selector="webViewClose:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="webViewFocus:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="webViewShow:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + <method selector="webViewUnfocus:" swt_gen="true"> + <arg name="sender" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="WebOpenPanelResultListener" swt_gen="true"> + <method selector="chooseFilename:" swt_gen="true"> + <arg name="theRange" swt_gen="true"></arg> + </method> + </informal_protocol> + <informal_protocol name="WebDocumentRepresentation" swt_gen="true"> + <method selector="documentSource" swt_gen="true"></method> + </informal_protocol> + <informal_protocol name="WebPolicyDecisionListener" swt_gen="true"> + <method selector="use" swt_gen="true"></method> + <method selector="download" swt_gen="true"></method> + <method selector="ignore" swt_gen="true"></method> + </informal_protocol> +</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebOpenPanelResultListener.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebOpenPanelResultListener.java new file mode 100644 index 0000000000..19f1ba7cb3 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebOpenPanelResultListener.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebOpenPanelResultListener extends NSObject { + +public WebOpenPanelResultListener() { + super(); +} + +public WebOpenPanelResultListener(int /*long*/ id) { + super(id); +} + +public WebOpenPanelResultListener(id id) { + super(id); +} + +public void cancel() { + OS.objc_msgSend(id, OS.sel_cancel); +} + +public void chooseFilename(NSString string) { + OS.objc_msgSend(id, OS.sel_chooseFilename_, string != null ? string.id : 0); +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPolicyDecisionListener.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPolicyDecisionListener.java new file mode 100644 index 0000000000..ffa3aa11b7 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPolicyDecisionListener.java @@ -0,0 +1,38 @@ +/******************************************************************************* + * Copyright (c) 2007, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebPolicyDecisionListener extends NSObject { + +public WebPolicyDecisionListener() { + super(); +} + +public WebPolicyDecisionListener(int /*long*/ id) { + super(id); +} + +public WebPolicyDecisionListener(id id) { + super(id); +} + +public void download() { + OS.objc_msgSend(id, OS.sel_download); +} + +public void use() { + OS.objc_msgSend(id, OS.sel_use); +} + +public void ignore() { + OS.objc_msgSend(id, OS.sel_ignore); +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPreferences.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPreferences.java new file mode 100644 index 0000000000..da9bc92d75 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPreferences.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebPreferences extends NSObject { + +public WebPreferences() { + super(); +} + +public WebPreferences(int /*long*/ id) { + super(id); +} + +public WebPreferences(id id) { + super(id); +} + +public void setJavaEnabled(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setJavaEnabled_, flag); +} + +public void setJavaScriptEnabled(boolean flag) { + OS.objc_msgSend(this.id, OS.sel_setJavaScriptEnabled_, flag); +} + +public static WebPreferences standardPreferences() { + int /*long*/ result = OS.objc_msgSend(OS.class_WebPreferences, OS.sel_standardPreferences); + return result != 0 ? new WebPreferences(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebScriptObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebScriptObject.java new file mode 100644 index 0000000000..c25eb95546 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebScriptObject.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebScriptObject extends NSObject { + +public WebScriptObject() { + super(); +} + +public WebScriptObject(int /*long*/ id) { + super(id); +} + +public WebScriptObject(id id) { + super(id); +} + +public id webScriptValueAtIndex(int index) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_webScriptValueAtIndex_, index); + return result != 0 ? new id(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebUndefined.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebUndefined.java new file mode 100644 index 0000000000..dd75807a91 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebUndefined.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebUndefined extends NSObject { + +public WebUndefined() { + super(); +} + +public WebUndefined(int /*long*/ id) { + super(id); +} + +public WebUndefined(id id) { + super(id); +} + +public static WebUndefined undefined() { + int /*long*/ result = OS.objc_msgSend(OS.class_WebUndefined, OS.sel_undefined); + return result != 0 ? new WebUndefined(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebView.java new file mode 100644 index 0000000000..34df6e3a5e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebView.java @@ -0,0 +1,110 @@ +/******************************************************************************* + * Copyright (c) 2000, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +public class WebView extends NSView { + +public WebView() { + super(); +} + +public WebView(int /*long*/ id) { + super(id); +} + +public WebView(id id) { + super(id); +} + +public boolean canGoBack() { + return OS.objc_msgSend_bool(this.id, OS.sel_canGoBack); +} + +public boolean canGoForward() { + return OS.objc_msgSend_bool(this.id, OS.sel_canGoForward); +} + +public static boolean canShowMIMEType(NSString MIMEType) { + return OS.objc_msgSend_bool(OS.class_WebView, OS.sel_canShowMIMEType_, MIMEType != null ? MIMEType.id : 0); +} + +public void copy(id sender) { + OS.objc_msgSend(this.id, OS.sel_copy_, sender != null ? sender.id : 0); +} + +public void cut(id sender) { + OS.objc_msgSend(this.id, OS.sel_cut_, sender != null ? sender.id : 0); +} + +public boolean goBack() { + return OS.objc_msgSend_bool(this.id, OS.sel_goBack); +} + +public boolean goForward() { + return OS.objc_msgSend_bool(this.id, OS.sel_goForward); +} + +public WebView initWithFrame(NSRect frame, NSString frameName, NSString groupName) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFrame_frameName_groupName_, frame, frameName != null ? frameName.id : 0, groupName != null ? groupName.id : 0); + return result == this.id ? this : (result != 0 ? new WebView(result) : null); +} + +public WebFrame mainFrame() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mainFrame); + return result != 0 ? new WebFrame(result) : null; +} + +public void paste(id sender) { + OS.objc_msgSend(this.id, OS.sel_paste_, sender != null ? sender.id : 0); +} + +public void reload(id sender) { + OS.objc_msgSend(this.id, OS.sel_reload_, sender != null ? sender.id : 0); +} + +public void setApplicationNameForUserAgent(NSString applicationName) { + OS.objc_msgSend(this.id, OS.sel_setApplicationNameForUserAgent_, applicationName != null ? applicationName.id : 0); +} + +public void setDownloadDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setDownloadDelegate_, delegate != null ? delegate.id : 0); +} + +public void setFrameLoadDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setFrameLoadDelegate_, delegate != null ? delegate.id : 0); +} + +public void setPolicyDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setPolicyDelegate_, delegate != null ? delegate.id : 0); +} + +public void setPreferences(WebPreferences prefs) { + OS.objc_msgSend(this.id, OS.sel_setPreferences_, prefs != null ? prefs.id : 0); +} + +public void setResourceLoadDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setResourceLoadDelegate_, delegate != null ? delegate.id : 0); +} + +public void setUIDelegate(id delegate) { + OS.objc_msgSend(this.id, OS.sel_setUIDelegate_, delegate != null ? delegate.id : 0); +} + +public void stopLoading(id sender) { + OS.objc_msgSend(this.id, OS.sel_stopLoading_, sender != null ? sender.id : 0); +} + +public NSString stringByEvaluatingJavaScriptFromString(NSString script) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByEvaluatingJavaScriptFromString_, script != null ? script.id : 0); + return result != 0 ? new NSString(result) : null; +} + +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java new file mode 100644 index 0000000000..2eee3a74b8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +/** + * @jniclass flags=no_gen + */ +public class id { + +public int /*long*/ id; + +public id() { +} + +public id(int /*long*/ id) { + this.id = id; +} + +public id(id id) { + this.id = id != null ? id.id : 0; +} + +public int /*long*/ objc_getClass() { + String name = getClass().getName(); + int index = name.lastIndexOf('.'); + if (index != -1) name = name.substring(index + 1); + return OS.objc_getClass(name); +} + +public String toString() { + return getClass().getName() + "{" + id + "}"; +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java new file mode 100644 index 0000000000..e9bf5d52fb --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2007, 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.cocoa; + +/** + * @jniclass flags=struct + */ +public class objc_super { + /** @field cast=(id) */ + public int /*long*/ receiver; + /** @field accessor=swt_super_class,cast=(Class) */ + public int /*long*/ super_class; + public static final int sizeof = OS.objc_super_sizeof(); +} |