Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2008-09-05 10:07:12 -0400
committerSilenio Quarti2008-09-05 10:07:12 -0400
commitda66ed50e7f2fec0e5faf4b617a73367a0acde7d (patch)
tree6e5b8f301d020339c0119d3e6398dba16c5eac3a
parentdc99d9bb9843280e22befd705fd4e0f15ba22ec9 (diff)
downloadeclipse.platform.swt-da66ed50e7f2fec0e5faf4b617a73367a0acde7d.tar.gz
eclipse.platform.swt-da66ed50e7f2fec0e5faf4b617a73367a0acde7d.tar.xz
eclipse.platform.swt-da66ed50e7f2fec0e5faf4b617a73367a0acde7d.zip
Mac generator and building 64 bit enabled C code
-rw-r--r--bundles/org.eclipse.swt.tools/.classpath9
-rw-r--r--bundles/org.eclipse.swt.tools/.project11
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java188
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java135
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTItem.java58
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java202
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTParameter.java87
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTType.java214
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/AbstractItem.java80
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java7
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java18
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java12
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java20
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java61
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java134
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIClass.java (renamed from bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java)32
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIField.java38
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java233
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java170
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java277
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIItem.java23
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIMethod.java42
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIParameter.java20
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIType.java27
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/LockGenerator.java30
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java154
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java48
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java48
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java611
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java51
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectClass.java121
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectField.java133
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectItem.java96
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectMethod.java240
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectParameter.java102
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectType.java132
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java14
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StatsGenerator.java60
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java210
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.C.properties44
-rwxr-xr-xbundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.cocoa.OS.properties1325
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gdip.Gdip.properties34
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties3
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties12
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties2
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties2
-rwxr-xr-xbundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF17
-rw-r--r--bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/AppKitFull.bridgesupport25393
-rw-r--r--bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/FoundationFull.bridgesupport13870
-rw-r--r--bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java380
-rw-r--r--bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGeneratorUI.java131
-rw-r--r--bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/WebKitFull.bridgesupport5156
-rw-r--r--bundles/org.eclipse.swt.tools/Sleak/org/eclipse/swt/tools/internal/Sleak.java2
-rw-r--r--bundles/org.eclipse.swt.tools/build.properties17
-rw-r--r--bundles/org.eclipse.swt.tools/plugin.xml29
-rw-r--r--bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/Activator.java61
-rw-r--r--bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/views/MacGeneratorView.java133
-rw-r--r--bundles/org.eclipse.swt.tools/templates/jnitemplates.properties0
-rw-r--r--bundles/org.eclipse.swt.tools/templates/jnitemplates.xml7
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/win32/library/swt_awt.c6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp3388
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom_custom.cpp2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom_stats.cpp592
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom_stats.h592
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcominit.cpp4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcominit_structs.cpp12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx/library/glx.c80
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx/library/glx_structs.c6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT OpenGL/win32/library/wgl.c62
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c454
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.c12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.c6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c27
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.h8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c314
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.sh2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.xml24
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build32.sh23
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c2688
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_custom.c114
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.c396
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_stats.h396
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os_structs.c132
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras (renamed from bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/AppKitFull.bridgesupport.extras)4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras (renamed from bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/CoreGraphicsFull.bridgesupport.extras)0
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras (renamed from bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/FoundationFull.bridgesupport.extras)0
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java409
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras (renamed from bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/WebKitFull.bridgesupport.extras)0
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/common/library/c.c315
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/common/library/c_stats.c68
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/common/library/c_stats.h68
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk.c493
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.c84
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_stats.h84
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/atk_structs.c462
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c8328
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.c22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c356
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h356
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_structs.c1054
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/os.c199
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/os_structs.c22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os.c2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os_stats.c2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os_stats.h2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os_structs.c10
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os_structs.h2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.xml4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com.c1545
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_custom.c152
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c276
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.h276
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.c160
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp1182
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp69
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp96
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h96
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.cpp22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c6197
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_custom.c30
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c788
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.h788
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_structs.c1438
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32_structs.c114
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde.c68
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_structs.c6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c145
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_structs.c24
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c364
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/common/library/swt.h88
140 files changed, 26509 insertions, 59931 deletions
diff --git a/bundles/org.eclipse.swt.tools/.classpath b/bundles/org.eclipse.swt.tools/.classpath
index 140a6bcf0f..a23e6d08aa 100644
--- a/bundles/org.eclipse.swt.tools/.classpath
+++ b/bundles/org.eclipse.swt.tools/.classpath
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="JNI Generation"/>
+ <classpathentry kind="src" path="Mac Generation"/>
<classpathentry kind="src" path="Sleak"/>
- <classpathentry kind="src" path="NativeStats"/>
<classpathentry kind="src" path="Mozilla Generation"/>
+ <classpathentry kind="src" path="NativeStats"/>
<classpathentry kind="src" path="Icon Exe"/>
- <classpathentry kind="src" path="Mac Generation"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/bundles/org.eclipse.swt.tools/.project b/bundles/org.eclipse.swt.tools/.project
index 8dd524dd69..d03eade59c 100644
--- a/bundles/org.eclipse.swt.tools/.project
+++ b/bundles/org.eclipse.swt.tools/.project
@@ -12,8 +12,19 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java
new file mode 100644
index 0000000000..72dadac99e
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java
@@ -0,0 +1,188 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.jdt.core.dom.AST;
+import org.eclipse.jdt.core.dom.ASTParser;
+import org.eclipse.jdt.core.dom.CompilationUnit;
+import org.eclipse.jdt.core.dom.FieldDeclaration;
+import org.eclipse.jdt.core.dom.ImportDeclaration;
+import org.eclipse.jdt.core.dom.Javadoc;
+import org.eclipse.jdt.core.dom.MethodDeclaration;
+import org.eclipse.jdt.core.dom.TagElement;
+import org.eclipse.jdt.core.dom.TypeDeclaration;
+import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
+import org.eclipse.swt.tools.internal.ASTType.TypeResolver;
+
+public class ASTClass extends ASTItem implements JNIClass {
+ String sourcePath;
+ MetaData metaData;
+
+ ASTClass superclass;
+ ASTField[] fields;
+ ASTMethod[] methods;
+ String name, simpleName, superclassName, packageName;
+ String[] imports;
+ String data;
+
+ TypeResolver resolver = new TypeResolver() {
+ public String findPath(String simpleName) {
+ if (simpleName.equals(ASTClass.this.simpleName)) return sourcePath;
+ String basePath = sourcePath.substring(0, sourcePath.length() - name.length() - ".java".length());
+ File file = new File(basePath + packageName.replace('.', '/') + "/" + simpleName + ".java");
+ if (file.exists()) {
+ return file.getAbsolutePath();
+ }
+ for (int i = 0; i < imports.length; i++) {
+ file = new File(basePath + imports[i].replace('.', '/') + "/" + simpleName + ".java");
+ if (file.exists()) {
+ return file.getAbsolutePath();
+ }
+ }
+ return "";
+ }
+ public String resolve(String simpleName) {
+ if (simpleName.equals(ASTClass.this.simpleName)) return packageName + "." + simpleName;
+ String basePath = sourcePath.substring(0, sourcePath.length() - name.length() - ".java".length());
+ File file = new File(basePath + packageName.replace('.', '/') + "/" + simpleName + ".java");
+ if (file.exists()) {
+ return packageName + "." + simpleName;
+ }
+ for (int i = 0; i < imports.length; i++) {
+ file = new File(basePath + imports[i].replace('.', '/') + "/" + simpleName + ".java");
+ if (file.exists()) {
+ return imports[i] + "." + simpleName;
+ }
+ }
+ return simpleName;
+ }
+ };
+
+public ASTClass(String sourcePath, MetaData metaData) {
+ this.sourcePath = sourcePath;
+ this.metaData = metaData;
+
+ String source = JNIGenerator.loadFile(sourcePath);
+ ASTParser parser = ASTParser.newParser(AST.JLS3);
+ parser.setSource(source.toCharArray());
+ CompilationUnit unit = (CompilationUnit)parser.createAST(null);
+ TypeDeclaration type = (TypeDeclaration)unit.types().get(0);
+ simpleName = type.getName().getIdentifier();
+ packageName = unit.getPackage().getName().getFullyQualifiedName();
+ name = packageName + "." + simpleName;
+ superclassName = type.getSuperclassType() != null ? type.getSuperclassType().toString() : null;
+ List imports = unit.imports();
+ this.imports = new String[imports.size()];
+ int count = 0;
+ for (Iterator iterator = imports.iterator(); iterator.hasNext();) {
+ ImportDeclaration imp = (ImportDeclaration) iterator.next();
+ this.imports[count++] = imp.getName().getFullyQualifiedName();
+ }
+
+ Javadoc doc = type.getJavadoc();
+ List tags = null;
+ if (doc != null) {
+ tags = doc.tags();
+ for (Iterator iterator = tags.iterator(); iterator.hasNext();) {
+ TagElement tag = (TagElement) iterator.next();
+ if ("@jniclass".equals(tag.getTagName())) {
+ String data = tag.fragments().get(0).toString();
+ setMetaData(data);
+ break;
+ }
+ }
+ }
+
+ FieldDeclaration[] fields = type.getFields();
+ ArrayList fid = new ArrayList();
+ for (int i = 0; i < fields.length; i++) {
+ FieldDeclaration field = fields[i];
+ List fragments = field.fragments();
+ for (Iterator iterator = fragments.iterator(); iterator.hasNext();) {
+ VariableDeclarationFragment fragment = (VariableDeclarationFragment) iterator.next();
+ fid.add(new ASTField(this, source, field, fragment));
+ }
+ }
+ this.fields = (ASTField[])fid.toArray(new ASTField[fid.size()]);
+ MethodDeclaration[] methods = type.getMethods();
+ ArrayList mid = new ArrayList();
+ for (int i = 0; i < methods.length; i++) {
+ if (methods[i].getReturnType2() == null) continue;
+ mid.add(new ASTMethod(this, source, methods[i]));
+ }
+ this.methods = (ASTMethod[])mid.toArray(new ASTMethod[mid.size()]);
+}
+
+public int hashCode() {
+ return getName().hashCode();
+}
+
+public boolean equals(Object obj) {
+ if (this == obj) return true;
+ if (!(obj instanceof ASTClass)) return false;
+ return ((ASTClass)obj).getName().equals(getName());
+}
+
+public JNIField[] getDeclaredFields() {
+ JNIField[] result = new JNIField[fields.length];
+ System.arraycopy(fields, 0, result, 0, result.length);
+ return result;
+}
+
+public JNIMethod[] getDeclaredMethods() {
+ JNIMethod[] result = new JNIMethod[methods.length];
+ System.arraycopy(methods, 0, result, 0, result.length);
+ return result;
+}
+
+public String getName() {
+ return name;
+}
+
+public JNIClass getSuperclass() {
+ if (superclassName == null) return new ReflectClass(Object.class);
+ if (superclass != null) return superclass;
+ String sourcePath = resolver.findPath(superclassName);
+ return superclass = new ASTClass(sourcePath, metaData);
+}
+
+public String getSimpleName() {
+ return simpleName;
+}
+
+public String getExclude() {
+ return (String)getParam("exclude");
+}
+
+public String getMetaData() {
+ if (data != null) return data;
+ String key = JNIGenerator.toC(getName());
+ return metaData.getMetaData(key, "");
+}
+
+public void setExclude(String str) {
+ setParam("exclude", str);
+}
+
+public void setMetaData(String value) {
+ data = value;
+}
+
+public String toString() {
+ return getName();
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java
new file mode 100644
index 0000000000..622eb757a9
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java
@@ -0,0 +1,135 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.jdt.core.dom.FieldDeclaration;
+import org.eclipse.jdt.core.dom.Javadoc;
+import org.eclipse.jdt.core.dom.TagElement;
+import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
+
+public class ASTField extends ASTItem implements JNIField {
+ ASTClass declaringClass;
+ String name;
+ int modifiers;
+ ASTType type, type64;
+ String data;
+
+public ASTField(ASTClass declaringClass, String source, FieldDeclaration field, VariableDeclarationFragment fragment) {
+ this.declaringClass = declaringClass;
+ name = fragment.getName().getIdentifier();
+ modifiers = field.getModifiers();
+
+ Javadoc doc = field.getJavadoc();
+ List tags = null;
+ if (doc != null) {
+ tags = doc.tags();
+ for (Iterator iterator = tags.iterator(); iterator.hasNext();) {
+ TagElement tag = (TagElement) iterator.next();
+ if ("@field".equals(tag.getTagName())) {
+ String data = tag.fragments().get(0).toString();
+ setMetaData(data);
+ break;
+ }
+ }
+ }
+ type = new ASTType(declaringClass.resolver, field.getType(), fragment.getExtraDimensions());
+ type64 = this.type;
+ if (GEN64) {
+ String s = source.substring(field.getStartPosition(), field.getStartPosition() + field.getLength());
+ if (type.isType("int") && s.indexOf("int /*long*/") != -1) type64 = new ASTType("J");
+ else if (type.isType("float") && s.indexOf("float /*double*/") != -1) type64 = new ASTType("D");
+ else if (type.isType("[I") && (s.indexOf("int /*long*/") != -1 || s.indexOf("int[] /*long[]*/") != -1)) type64 = new ASTType("[J");
+ else if (type.isType("[F") && (s.indexOf("float /*double*/") != -1|| s.indexOf("float[] /*double[]*/") != -1)) type64 = new ASTType("[D");
+ else if (type.isType("long") && s.indexOf("long /*int*/") != -1) type = new ASTType("I");
+ else if (type.isType("double") && s.indexOf("double /*float*/") != -1) type = new ASTType("F");
+ else if (type.isType("[J") && (s.indexOf("long /*int*/") != -1|| s.indexOf("long[] /*int[]*/") != -1)) type = new ASTType("[I");
+ else if (type.isType("[D") && (s.indexOf("double /*float*/") != -1|| s.indexOf("double[] /*float[]*/") != -1)) type = new ASTType("[F");
+ }
+}
+
+public int hashCode() {
+ return getName().hashCode();
+}
+
+public boolean equals(Object obj) {
+ if (this == obj) return true;
+ if (!(obj instanceof ASTField)) return false;
+ return ((ASTField)obj).getName().equals(getName());
+}
+
+public JNIClass getDeclaringClass() {
+ return declaringClass;
+}
+
+public int getModifiers() {
+ return modifiers;
+}
+
+public String getName() {
+ return name;
+}
+
+public JNIType getType() {
+ return type;
+}
+
+public JNIType getType64() {
+ return type64;
+}
+
+public String getAccessor() {
+ return (String)getParam("accessor");
+}
+
+public String getCast() {
+ String cast = ((String)getParam("cast")).trim();
+ if (cast.length() > 0) {
+ if (!cast.startsWith("(")) cast = "(" + cast;
+ if (!cast.endsWith(")")) cast = cast + ")";
+ }
+ return cast;
+}
+
+public String getExclude() {
+ return (String)getParam("exclude");
+}
+
+public String getMetaData() {
+ if (data != null) return data;
+ String className = getDeclaringClass().getSimpleName();
+ String key = className + "_" + getName();
+ return declaringClass.metaData.getMetaData(key, "");
+}
+
+public void setAccessor(String str) {
+ setParam("accessor", str);
+}
+
+public void setCast(String str) {
+ setParam("cast", str);
+}
+
+public void setExclude(String str) {
+ setParam("exclude", str);
+}
+
+public void setMetaData(String value) {
+ data = value;
+}
+
+public String toString() {
+ return getName();
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTItem.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTItem.java
new file mode 100644
index 0000000000..51965b92f1
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTItem.java
@@ -0,0 +1,58 @@
+package org.eclipse.swt.tools.internal;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Set;
+
+public abstract class ASTItem extends AbstractItem {
+
+public String flatten() {
+ checkParams();
+ StringBuffer buffer = new StringBuffer();
+ Set set = params.keySet();
+ String[] keys = (String[])set.toArray(new String[set.size()]);
+ Arrays.sort(keys);
+ for (int j = 0; j < keys.length; j++) {
+ String key = keys[j];
+ Object value = params.get(key);
+ String valueStr = "";
+ if (value instanceof String) {
+ valueStr = (String)value;
+ } else if (value instanceof String[]) {
+ String[] values = (String[])value;
+ StringBuffer valueBuffer = new StringBuffer();
+ for (int i = 0; i < values.length; i++) {
+ if (i != 0) valueBuffer.append(" ");
+ valueBuffer.append(values[i]);
+ }
+ valueStr = valueBuffer.toString();
+ } else {
+ valueStr = value.toString();
+ }
+ if (valueStr.length() > 0) {
+ if (buffer.length() != 0) buffer.append(",");
+ buffer.append(key);
+ buffer.append("=");
+ buffer.append(valueStr);
+ }
+ }
+ return buffer.toString();
+}
+
+public void parse(String str) {
+ this.params = new HashMap();
+ if (str.length() == 0) return;
+ String[] params = split(str, ",");
+ for (int i = 0; i < params.length; i++) {
+ String param = params[i];
+ int equals = param.indexOf('=');
+ if (equals == -1) {
+ System.out.println("Error: " + str + " param " + param);
+ }
+ String key = param.substring(0, equals).trim();
+ String value = param.substring(equals + 1).trim();
+ setParam(key, value);
+ }
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java
new file mode 100644
index 0000000000..3c22defa58
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java
@@ -0,0 +1,202 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import java.lang.reflect.Modifier;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.jdt.core.dom.Javadoc;
+import org.eclipse.jdt.core.dom.MethodDeclaration;
+import org.eclipse.jdt.core.dom.SingleVariableDeclaration;
+import org.eclipse.jdt.core.dom.TagElement;
+
+public class ASTMethod extends ASTItem implements JNIMethod {
+ String name, qualifiedName;
+ int modifiers;
+ ASTClass declaringClass;
+ ASTType[] paramTypes, paramTypes64;
+ ASTType returnType, returnType64;
+ ASTParameter[] params;
+ Boolean unique;
+ String data;
+
+public ASTMethod(ASTClass declaringClass, String source, MethodDeclaration method) {
+ this.declaringClass = declaringClass;
+
+ name = method.getName().getIdentifier();
+ modifiers = method.getModifiers();
+
+ Javadoc doc = method.getJavadoc();
+ List tags = null;
+ if (doc != null) {
+ tags = doc.tags();
+ for (Iterator iterator = tags.iterator(); iterator.hasNext();) {
+ TagElement tag = (TagElement) iterator.next();
+ if ("@method".equals(tag.getTagName())) {
+ String data = tag.fragments().get(0).toString();
+ setMetaData(data);
+ break;
+ }
+ }
+ }
+ returnType = new ASTType(declaringClass.resolver, method.getReturnType2(), method.getExtraDimensions());
+ returnType64 = returnType;
+ if (GEN64) {
+ String s = source.substring(method.getReturnType2().getStartPosition(), method.getName().getStartPosition());
+ if (returnType.isType("int") && s.indexOf("int /*long*/") != -1) returnType64 = new ASTType("J");
+ else if (returnType.isType("float") && s.indexOf("float /*double*/") != -1) returnType64 = new ASTType("D");
+ else if (returnType.isType("[I") && (s.indexOf("int /*long*/") != -1 || s.indexOf("int[] /*long[]*/") != -1)) returnType64 = new ASTType("[J");
+ else if (returnType.isType("[F") && (s.indexOf("float /*double*/") != -1|| s.indexOf("float[] /*double[]*/") != -1)) returnType64 = new ASTType("[D");
+ else if (returnType.isType("long") && s.indexOf("long /*int*/") != -1) returnType = new ASTType("I");
+ else if (returnType.isType("double") && s.indexOf("double /*float*/") != -1) returnType = new ASTType("F");
+ else if (returnType.isType("[J") && (s.indexOf("long /*int*/") != -1|| s.indexOf("long[] /*int[]*/") != -1)) returnType = new ASTType("[I");
+ else if (returnType.isType("[D") && (s.indexOf("double /*float*/") != -1|| s.indexOf("double[] /*float[]*/") != -1)) returnType = new ASTType("[F");
+ }
+
+ List parameters = method.parameters();
+ paramTypes = new ASTType[parameters.size()];
+ paramTypes64 = new ASTType[parameters.size()];
+ params = new ASTParameter[paramTypes.length];
+ int i = 0;
+ for (Iterator iterator = parameters.iterator(); iterator.hasNext(); i++) {
+ SingleVariableDeclaration param = (SingleVariableDeclaration) iterator.next();
+ paramTypes[i] = new ASTType(declaringClass.resolver, param.getType(), param.getExtraDimensions());
+ paramTypes64[i] = paramTypes[i];
+ params[i] = new ASTParameter(this, i);
+ if (GEN64) {
+ String s = source.substring(param.getStartPosition(), param.getStartPosition() + param.getLength());
+ if (paramTypes[i].isType("int") && s.indexOf("int /*long*/") != -1) paramTypes64[i] = new ASTType("J");
+ else if (paramTypes[i].isType("float") && s.indexOf("float /*double*/") != -1) paramTypes64[i] = new ASTType("D");
+ else if (paramTypes[i].isType("[I") && (s.indexOf("int /*long*/") != -1 || s.indexOf("int[] /*long[]*/") != -1)) paramTypes64[i] = new ASTType("[J");
+ else if (paramTypes[i].isType("[F") && (s.indexOf("float /*double*/") != -1|| s.indexOf("float[] /*double[]*/") != -1)) paramTypes64[i] = new ASTType("[D");
+ else if (paramTypes[i].isType("long") && s.indexOf("long /*int*/") != -1) paramTypes[i] = new ASTType("I");
+ else if (paramTypes[i].isType("double") && s.indexOf("double /*float*/") != -1) paramTypes[i] = new ASTType("F");
+ else if (paramTypes[i].isType("[J") && (s.indexOf("long /*int*/") != -1|| s.indexOf("long[] /*int[]*/") != -1)) paramTypes[i] = new ASTType("[I");
+ else if (paramTypes[i].isType("[D") && (s.indexOf("double /*float*/") != -1|| s.indexOf("double[] /*float[]*/") != -1)) paramTypes[i] = new ASTType("[F");
+ }
+ if (tags != null) {
+ String name = param.getName().getIdentifier();
+ for (Iterator iterator1 = tags.iterator(); iterator1.hasNext();) {
+ TagElement tag = (TagElement) iterator1.next();
+ if ("@param".equals(tag.getTagName())) {
+ List fragments = tag.fragments();
+ if (name.equals(fragments.get(0).toString())) {
+ String data = fragments.get(1).toString();
+ params[i].setMetaData(data);
+ }
+ }
+ }
+ }
+ }
+}
+
+public JNIClass getDeclaringClass() {
+ return declaringClass;
+}
+
+public int getModifiers() {
+ return modifiers;
+}
+
+public String getName() {
+ return name;
+}
+
+public boolean isNativeUnique() {
+ if (unique != null) return unique.booleanValue();
+ boolean result = true;
+ String name = getName();
+ JNIMethod[] methods = declaringClass.getDeclaredMethods();
+ for (int i = 0; i < methods.length; i++) {
+ JNIMethod mth = methods[i];
+ if ((mth.getModifiers() & Modifier.NATIVE) != 0 &&
+ this != mth && !this.equals(mth) &&
+ name.equals(mth.getName()))
+ {
+ result = false;
+ break;
+ }
+ }
+ unique = new Boolean(result);
+ return result;
+}
+
+public JNIType[] getParameterTypes() {
+ return paramTypes;
+}
+
+public JNIType[] getParameterTypes64() {
+ return paramTypes64;
+}
+
+public JNIParameter[] getParameters() {
+ return params;
+}
+
+public JNIType getReturnType() {
+ return returnType;
+}
+
+public JNIType getReturnType64() {
+ return returnType64;
+}
+
+public String getAccessor() {
+ return (String)getParam("accessor");
+}
+
+public String getExclude() {
+ return (String)getParam("exclude");
+}
+
+public String getMetaData() {
+ if (data != null) return data;
+ String className = getDeclaringClass().getSimpleName();
+ String key = className + "_" + JNIGenerator.getFunctionName(this);
+ MetaData metaData = declaringClass.metaData;
+ String value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + getName();
+ value = metaData.getMetaData(key, null);
+ }
+ /*
+ * Support for lock.
+ */
+ if (value == null && getName().startsWith("_")) {
+ key = className + "_" + JNIGenerator.getFunctionName(this).substring(2);
+ value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + getName().substring(1);
+ value = metaData.getMetaData(key, null);
+ }
+ }
+ if (value == null) value = "";
+ return value;
+}
+
+public void setAccessor(String str) {
+ setParam("accessor", str);
+}
+
+public void setExclude(String str) {
+ setParam("exclude", str);
+}
+
+public void setMetaData(String value) {
+ data = value;
+}
+
+public String toString() {
+ return getName();
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTParameter.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTParameter.java
new file mode 100644
index 0000000000..a520fdd81a
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTParameter.java
@@ -0,0 +1,87 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+public class ASTParameter extends ASTItem implements JNIParameter {
+ ASTMethod method;
+ int parameter;
+ String data;
+
+public ASTParameter(ASTMethod method, int parameter) {
+ this.method = method;
+ this.parameter = parameter;
+}
+
+public String getCast() {
+ String cast = ((String)getParam("cast")).trim();
+ if (cast.length() > 0) {
+ if (!cast.startsWith("(")) cast = "(" + cast;
+ if (!cast.endsWith(")")) cast = cast + ")";
+ }
+ return cast;
+}
+
+public String getMetaData() {
+ if (data != null) return data;
+ String className = method.getDeclaringClass().getSimpleName();
+ String key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + parameter;
+ MetaData metaData = method.declaringClass.metaData;
+ String value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + method.getName() + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ }
+ /*
+ * Support for lock.
+ */
+ if (value == null && method.getName().startsWith("_")) {
+ key = className + "_" + JNIGenerator.getFunctionName(method).substring(2) + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + method.getName().substring(1) + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ }
+ }
+ if (value == null) value = "";
+ return value;
+}
+
+public JNIMethod getMethod() {
+ return method;
+}
+
+public JNIClass getTypeClass() {
+ ASTType type = (ASTType)getType();
+ ASTClass declaringClass = method.declaringClass;
+ String sourcePath = declaringClass.resolver.findPath(type.getSimpleName());
+ return new ASTClass(sourcePath, declaringClass.metaData);
+}
+
+public JNIType getType() {
+ return method.getParameterTypes()[parameter];
+}
+
+public JNIType getType64() {
+ return method.getParameterTypes64()[parameter];
+}
+
+public int getParameter() {
+ return parameter;
+}
+
+public void setCast(String str) {
+ setParam("cast", str);
+}
+
+public void setMetaData(String value) {
+ data = value;
+}
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTType.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTType.java
new file mode 100644
index 0000000000..a98ac50d91
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTType.java
@@ -0,0 +1,214 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import org.eclipse.jdt.core.dom.ArrayType;
+import org.eclipse.jdt.core.dom.Type;
+
+public class ASTType implements JNIType {
+
+ static interface TypeResolver {
+ public String findPath(String simpleName);
+ public String resolve(String simpleName);
+ }
+
+ String name;
+
+public ASTType(String name) {
+ this.name = name;
+}
+
+public ASTType(TypeResolver resolver, Type type, int extraDimensions) {
+ name = from(resolver, type, extraDimensions);
+}
+
+String from(TypeResolver resolver, Type type, int extraDimensions) {
+ String name = "";
+ String str = type.toString();
+ if (type.isPrimitiveType()) {
+ if (str.equals("void")) name = "V";
+ else if (str.equals("int")) name = "I";
+ else if (str.equals("boolean")) name = "Z";
+ else if (str.equals("long")) name = "J";
+ else if (str.equals("short")) name = "S";
+ else if (str.equals("char")) name = "C";
+ else if (str.equals("byte")) name = "B";
+ else if (str.equals("float")) name = "F";
+ else if (str.equals("double")) name = "D";
+ } else if (type.isArrayType()) {
+ ArrayType arrayType = (ArrayType)type;
+ name = from(resolver, arrayType.getElementType(), arrayType.getDimensions());
+ } else if (str.indexOf('.') != -1) {
+ name = "L" + type.toString().replace('.', '/') + ";";
+ } else if (str.equals("String")){
+ name = "Ljava/lang/String;";
+ } else if (str.equals("Class")){
+ name = "Ljava/lang/Class;";
+ } else if (str.equals("Object")){
+ name = "Ljava/lang/Object;";
+ } else {
+ String qualifiedName = resolver != null ? resolver.resolve(str) : str;
+ name = "L" + qualifiedName.replace('.', '/') + ";";
+ }
+ for (int i = 0; i < extraDimensions; i++) {
+ name = "[" + name;
+ }
+ return name;
+}
+
+public boolean equals(Object obj) {
+ if (obj == this) return true;
+ if (!(obj instanceof ASTType)) return false;
+ return ((ASTType)obj).name.equals(name);
+}
+
+public JNIType getComponentType() {
+ if (!name.startsWith("[")) throw new RuntimeException();
+ return new ASTType(name.substring(1));
+}
+
+public String getName() {
+ if (isPrimitive()) {
+ if (name.equals("V")) return "void";
+ if (name.equals("I")) return "int";
+ if (name.equals("Z")) return "boolean";
+ if (name.equals("J")) return "long";
+ if (name.equals("S")) return "short";
+ if (name.equals("C")) return "char";
+ if (name.equals("B")) return "byte";
+ if (name.equals("F")) return "float";
+ if (name.equals("D")) return "double";
+ }
+ if (isArray()) return name;
+ return name.substring(1, name.length() - 1).replace('/', '.');
+}
+
+public String getSimpleName() {
+ String name = getName();
+ if (isArray() || isPrimitive()) return name;
+ int index = name.lastIndexOf('.') + 1;
+ return name.substring(index, name.length());
+}
+
+public String getTypeSignature(boolean define) {
+ if (isPrimitive()) {
+ if (define) {
+ if (name.equals("I")) return "I_J";
+ if (name.equals("J")) return "I_J";
+ if (name.equals("F")) return "F_D";
+ if (name.equals("D")) return "F_D";
+ }
+ return name;
+ }
+ if (isArray()) {
+ if (define) return getComponentType().getTypeSignature(define) + "Array";
+ return "[" + getComponentType().getTypeSignature(define);
+ }
+ return name;
+}
+
+public String getTypeSignature1(boolean define) {
+ if (isPrimitive()) {
+ if (name.equals("V")) return "Void";
+ if (name.equals("I")) return define ? "IntLong" : "Int";
+ if (name.equals("Z")) return "Boolean";
+ if (name.equals("J")) return define ? "IntLong" : "Long";
+ if (name.equals("S")) return "Short";
+ if (name.equals("C")) return "Char";
+ if (name.equals("B")) return "Byte";
+ if (name.equals("F")) return define ? "FloatDouble" : "Float";
+ if (name.equals("D")) return define ? "FloatDouble" : "Double";
+ }
+ if (name.equals("Ljava/lang/String;")) return "String";
+ return "Object";
+}
+
+public String getTypeSignature2(boolean define) {
+ if (isPrimitive()) {
+ if (name.equals("V")) return "void";
+ if (name.equals("I")) return define ? "jintLong" : "jint";
+ if (name.equals("Z")) return "jboolean";
+ if (name.equals("J")) return define ? "jintLong" : "jlong";
+ if (name.equals("S")) return "jshort";
+ if (name.equals("C")) return "jchar";
+ if (name.equals("B")) return "jbyte";
+ if (name.equals("F")) return define ? "jfloatDouble" : "jfloat";
+ if (name.equals("D")) return define ? "jfloatDouble" : "jdouble";
+ }
+ if (name.equals("Ljava/lang/String;")) return "jstring";
+ if (name.equals("Ljava/lang/Class;")) return "jclass";
+ if (isArray()) {
+ return getComponentType().getTypeSignature2(define) + "Array";
+ }
+ return "jobject";
+}
+
+public String getTypeSignature3(boolean define) {
+ if (isPrimitive()) {
+ if (name.equals("V")) return "void";
+ if (name.equals("I")) return "int";
+ if (name.equals("Z")) return "boolean";
+ if (name.equals("J")) return "long";
+ if (name.equals("S")) return "short";
+ if (name.equals("C")) return "char";
+ if (name.equals("B")) return "byte";
+ if (name.equals("F")) return "float";
+ if (name.equals("D")) return "double";
+ }
+ if (name.equals("Ljava/lang/String;")) return "String";
+ if (isArray()) {
+ return getComponentType().getTypeSignature3(define) + "[]";
+ }
+ return getName();
+}
+
+public String getTypeSignature4(boolean define, boolean struct) {
+ if (isPrimitive()) {
+ if (name.equals("V")) return "void";
+ if (name.equals("I")) return define ? "jintLong" : "jint";
+ if (name.equals("Z")) return "jboolean";
+ if (name.equals("J")) return define ? "jintLong" : "jlong";
+ if (name.equals("S")) return "jshort";
+ if (name.equals("C")) return "jchar";
+ if (name.equals("B")) return "jbyte";
+ if (name.equals("F")) return define ? "jfloatDouble" : "jfloat";
+ if (name.equals("D")) return define ? "jfloatDouble" : "jdouble";
+ }
+ if (name.equals("Ljava/lang/String;")) return "jstring";
+ if (isArray()) {
+ String sig = getComponentType().getTypeSignature4(define, struct);
+ return struct ? sig : sig + " *";
+ }
+ String sig = getSimpleName();
+ return struct ? sig : sig + " *";
+}
+
+public int hashCode() {
+ return name.hashCode();
+}
+
+public boolean isArray() {
+ return name.startsWith("[");
+}
+
+public boolean isPrimitive() {
+ return !name.startsWith("L") && !name.startsWith("[");
+}
+
+public boolean isType(String type) {
+ return getName().equals(type);
+}
+
+public String toString() {
+ return name;
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/AbstractItem.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/AbstractItem.java
new file mode 100644
index 0000000000..883c854471
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/AbstractItem.java
@@ -0,0 +1,80 @@
+package org.eclipse.swt.tools.internal;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.HashSet;
+
+public abstract class AbstractItem implements JNIItem {
+
+ HashMap params;
+
+static String[] split(String str, String separator) {
+ return JNIGenerator.split(str, separator);
+}
+
+void checkParams() {
+ if (params != null) return;
+ parse(getMetaData());
+}
+
+public abstract String flatten();
+
+public String[] getFlags() {
+ Object flags = getParam("flags");
+ if (flags == null) return new String[0];
+ if (flags instanceof String[]) return (String[])flags;
+ String[] result = split((String)flags, " ");
+ setParam("flags", result);
+ return result;
+}
+
+public boolean getFlag(String flag) {
+ String[] flags = getFlags();
+ for (int i = 0; i < flags.length; i++) {
+ if (flags[i].equals(flag)) return true;
+ }
+ return false;
+}
+
+public abstract String getMetaData();
+
+public Object getParam(String key) {
+ checkParams();
+ Object value = params.get(key);
+ return value == null ? "" : value;
+}
+
+public boolean getGenerate() {
+ return !getFlag(FLAG_NO_GEN);
+}
+
+public void setFlags(String[] flags) {
+ setParam("flags", flags);
+}
+
+public abstract void parse(String str);
+
+public void setFlag(String flag, boolean value) {
+ String[] flags = getFlags();
+ HashSet set = new HashSet(Arrays.asList(flags));
+ if (value) {
+ set.add(flag);
+ } else {
+ set.remove(flag);
+ }
+ setFlags((String[])set.toArray(new String[set.size()]));
+}
+
+public void setGenerate(boolean value) {
+ setFlag(FLAG_NO_GEN, !value);
+}
+
+public abstract void setMetaData(String value);
+
+public void setParam(String key, Object value) {
+ checkParams();
+ params.put(key, value);
+ setMetaData(flatten());
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java
index e422083042..ee81cd249c 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java
@@ -11,7 +11,6 @@
package org.eclipse.swt.tools.internal;
import java.io.*;
-import java.lang.reflect.Method;
import java.util.*;
public abstract class CleanupClass extends JNIGenerator {
@@ -22,8 +21,8 @@ String classSource;
Hashtable files;
int usedCount, unusedCount;
-String[] getArgNames(Method method) {
- int n_args = method.getParameterTypes().length;
+String[] getArgNames(JNIMethod method) {
+ int n_args = method.getParameters().length;
if (n_args == 0) return new String[0];
String name = method.getName();
String params = "";
@@ -111,7 +110,7 @@ void loadDirectory(File file) {
}
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
loadFiles ();
loadClassSource();
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java
index 9bce94e7fe..1f0ade3d31 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java
@@ -10,12 +10,12 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
import java.util.*;
public class CleanupConstants extends CleanupClass {
-String getFieldValue(Field field) {
+String getFieldValue(JNIField field) {
String name = field.getName();
int index = 0;
while (true) {
@@ -29,24 +29,24 @@ String getFieldValue(Field field) {
}
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
unusedCount = usedCount = 0;
super.generate(clazz);
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
generate(fields);
output("used=" + usedCount + " unused=" + unusedCount + " total=" + (unusedCount + usedCount));
}
-public void generate(Field[] fields) {
+public void generate(JNIField[] fields) {
sort(fields);
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if ((field.getModifiers() & Modifier.FINAL) == 0) continue;
generate(field);
}
}
-public void generate(Field field) {
+public void generate(JNIField field) {
String name = field.getName();
Enumeration keys = files.keys();
while (keys.hasMoreElements()) {
@@ -58,7 +58,7 @@ public void generate(Field field) {
output("\t");
output(modifiersStr);
if (modifiersStr.length() > 0) output(" ");
- output(getTypeSignature3(field.getType()));
+ output(field.getType().getTypeSignature3(false));
output(" " );
output(field.getName());
output(" = ");
@@ -86,7 +86,7 @@ public static void main(String[] args) {
Class clazz = Class.forName(clazzName);
gen.setSourcePath(sourcePath);
gen.setClassSourcePath(classSource);
- gen.generate(clazz);
+ gen.generate(new ReflectClass(clazz));
} catch (Exception e) {
System.out.println("Problem");
e.printStackTrace(System.out);
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java
index 13c4667eef..a0c4e9d484 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java
@@ -18,24 +18,24 @@ public class CleanupNatives extends CleanupClass {
public CleanupNatives() {
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
unusedCount = usedCount = 0;
super.generate(clazz);
- Method[] methods = clazz.getDeclaredMethods();
+ JNIMethod[] methods = clazz.getDeclaredMethods();
generate(methods);
output("used=" + usedCount + " unused=" + unusedCount + " total=" + (unusedCount + usedCount));
}
-public void generate(Method[] methods) {
+public void generate(JNIMethod[] methods) {
sort(methods);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
generate(method);
}
}
-public void generate(Method method) {
+public void generate(JNIMethod method) {
String name = method.getName();
Enumeration keys = files.keys();
while (keys.hasMoreElements()) {
@@ -85,7 +85,7 @@ public static void main(String[] args) {
Class clazz = Class.forName(clazzName);
gen.setSourcePath(sourcePath);
gen.setClassSourcePath(classSource);
- gen.generate(clazz);
+ gen.generate(new ReflectClass(clazz));
} catch (Exception e) {
System.out.println("Problem");
e.printStackTrace(System.out);
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java
index 9bf3d13a7c..83bc94bbc6 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java
@@ -10,34 +10,34 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
public class ConstantsGenerator extends JNIGenerator {
-public void generate(Class clazz) {
- Field[] fields = clazz.getDeclaredFields();
+public void generate(JNIClass clazz) {
+ JNIField[] fields = clazz.getDeclaredFields();
generate(fields);
}
-public void generate(Field[] fields) {
+public void generate(JNIField[] fields) {
sort(fields);
outputln("int main() {");
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if ((field.getModifiers() & Modifier.FINAL) == 0) continue;
generate(field);
}
outputln("}");
}
-public void generate(Field field) {
- Class type = field.getType();
+public void generate(JNIField field) {
+ JNIType type = field.getType();
output("\tprintf(\"public static final ");
- output(getTypeSignature3(field.getType()));
+ output(field.getType().getTypeSignature3(false));
output(" ");
output(field.getName());
output(" = ");
- if (type == String.class || type == byte[].class) output("\"%s\"");
+ if (type.isType("java.lang.String") || type.isType("[B")) output("\"%s\"");
else output("0x%x");
output(";\\n\", ");
output(field.getName());
@@ -54,7 +54,7 @@ public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
String clazzName = args[i];
Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
+ gen.generate(new ReflectClass(clazz));
}
} catch (Exception e) {
System.out.println("Problem");
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java
deleted file mode 100644
index 7b54d8e4ff..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2006 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.tools.internal;
-
-import java.lang.reflect.Field;
-
-public class FieldData extends ItemData {
-
- Field field;
-
-public FieldData(Field field, String str) {
- super(str);
- this.field = field;
-}
-
-public static String[] getAllFlags() {
- return new String[]{FLAG_NO_GEN, FLAG_NO_WINCE};
-}
-
-public String getAccessor() {
- return (String)getParam("accessor");
-}
-
-public String getCast() {
- String cast = ((String)getParam("cast")).trim();
- if (cast.length() > 0) {
- if (!cast.startsWith("(")) cast = "(" + cast;
- if (!cast.endsWith(")")) cast = cast + ")";
- }
- return cast;
-}
-
-public String getExclude() {
- return (String)getParam("exclude");
-}
-
-public Field getField() {
- return field;
-}
-
-public void setAccessor(String str) {
- setParam("accessor", str);
-}
-
-public void setCast(String str) {
- setParam("cast", str);
-}
-
-public void setExclude(String str) {
- setParam("exclude", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java
deleted file mode 100644
index 82d8b4fee5..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2006 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.tools.internal;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.StringTokenizer;
-
-public abstract class ItemData implements Flags {
-
- HashMap params;
-
-public ItemData(String str) {
- parse(str);
-}
-
-static String[] split(String str, String separator) {
- StringTokenizer tk = new StringTokenizer(str, separator);
- ArrayList result = new ArrayList();
- while (tk.hasMoreElements()) {
- result.add(tk.nextElement());
- }
- return (String[])result.toArray(new String[result.size()]);
-}
-
-public String[] getFlags() {
- Object flags = getParam("flags");
- if (flags == null) return new String[0];
- if (flags instanceof String[]) return (String[])flags;
- String[] result = split((String)flags, " ");
- params.put("flags", result);
- return result;
-}
-
-public boolean getFlag(String flag) {
- String[] flags = getFlags();
- for (int i = 0; i < flags.length; i++) {
- if (flags[i].equals(flag)) return true;
- }
- return false;
-}
-
-public Object getParam(String key) {
- Object value = params.get(key);
- return value == null ? "" : value;
-}
-
-public boolean getGenerate() {
- return !getFlag(FLAG_NO_GEN);
-}
-
-public void parse(String str) {
- this.params = new HashMap();
- if (str.length() == 0) return;
- String[] params = split(str, ",");
- for (int i = 0; i < params.length; i++) {
- String param = params[i];
- int equals = param.indexOf('=');
- if (equals == -1) {
- System.out.println("Error: " + str + " param " + param);
- }
- String key = param.substring(0, equals).trim();
- String value = param.substring(equals + 1).trim();
- setParam(key, value);
- }
-}
-
-public void setFlags(String[] flags) {
- setParam("flags", flags);
-}
-
-public void setFlag(String flag, boolean value) {
- String[] flags = getFlags();
- HashSet set = new HashSet(Arrays.asList(flags));
- if (value) {
- set.add(flag);
- } else {
- set.remove(flag);
- }
- setFlags((String[])set.toArray(new String[set.size()]));
-}
-
-public void setGenerate(boolean value) {
- setFlag(FLAG_NO_GEN, !value);
-}
-
-public void setParam(String key, Object value) {
- params.put(key, value);
-}
-
-public String toString() {
- StringBuffer buffer = new StringBuffer();
- Set set = params.keySet();
- String[] keys = (String[])set.toArray(new String[set.size()]);
- Arrays.sort(keys);
- for (int j = 0; j < keys.length; j++) {
- String key = keys[j];
- Object value = params.get(key);
- String valueStr = "";
- if (value instanceof String) {
- valueStr = (String)value;
- } else if (value instanceof String[]) {
- String[] values = (String[])value;
- StringBuffer valueBuffer = new StringBuffer();
- for (int i = 0; i < values.length; i++) {
- if (i != 0) valueBuffer.append(" ");
- valueBuffer.append(values[i]);
- }
- valueStr = valueBuffer.toString();
- } else {
- valueStr = value.toString();
- }
- if (valueStr.length() > 0) {
- if (buffer.length() != 0) buffer.append(",");
- buffer.append(key);
- buffer.append("=");
- buffer.append(valueStr);
- }
- }
- return buffer.toString();
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIClass.java
index 7fcb8e926c..70ad183c5c 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIClass.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2006 IBM Corporation and others.
+ * Copyright (c) 2004, 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
@@ -10,29 +10,21 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-public class ClassData extends ItemData {
+public interface JNIClass extends JNIItem {
- Class clazz;
+public static String[] FLAGS = {FLAG_NO_GEN, FLAG_CPP};
-public ClassData(Class clazz, String str) {
- super(str);
- this.clazz = clazz;
-}
-
-public static String[] getAllFlags() {
- return new String[]{FLAG_NO_GEN, FLAG_CPP};
-}
+public String getName();
-public Class getClazz() {
- return clazz;
-}
+public String getSimpleName();
-public String getExclude() {
- return (String)getParam("exclude");
-}
+public JNIClass getSuperclass();
-public void setExclude(String str) {
- setParam("exclude", str);
-}
+public JNIField[] getDeclaredFields();
+
+public JNIMethod[] getDeclaredMethods();
+
+public String getExclude();
+public void setExclude(String str);
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIField.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIField.java
new file mode 100644
index 0000000000..5e36593c3e
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIField.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+public interface JNIField extends JNIItem {
+
+public static final String[] FLAGS = {FLAG_NO_GEN, FLAG_NO_WINCE};
+
+public String getName();
+
+public int getModifiers();
+
+public JNIType getType();
+
+public JNIType getType64();
+
+public JNIClass getDeclaringClass();
+
+public String getAccessor();
+
+public String getCast();
+
+public String getExclude();
+
+public void setAccessor(String str);
+
+public void setCast(String str);
+
+public void setExclude(String str);
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java
index 1e78bc74f2..7d7f6fbb2e 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java
@@ -11,20 +11,20 @@
package org.eclipse.swt.tools.internal;
import java.io.*;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
import java.util.*;
-import org.eclipse.swt.SWT;
-
public abstract class JNIGenerator implements Flags {
- Class mainClass;
- Class[] classes;
+ JNIClass mainClass;
+ JNIClass[] classes;
MetaData metaData;
boolean isCPP;
String delimiter;
PrintStream output;
ProgressMonitor progress;
+
+ static final String JNI64 = "JNI64";
public JNIGenerator() {
delimiter = System.getProperty("line.separator");
@@ -50,198 +50,79 @@ String fixDelimiter(String str) {
return buffer.toString();
}
-static String getClassName(Class clazz) {
- String name = clazz.getName();
- int index = name.lastIndexOf('.') + 1;
- return name.substring(index, name.length());
-}
-
-static String getFunctionName(Method method) {
+static String getFunctionName(JNIMethod method) {
return getFunctionName(method, method.getParameterTypes());
}
-static String getFunctionName(Method method, Class[] paramTypes) {
+static String getFunctionName(JNIMethod method, JNIType[] paramTypes) {
if ((method.getModifiers() & Modifier.NATIVE) == 0) return method.getName();
String function = toC(method.getName());
- if (!isNativeUnique(method)) {
+ if (!method.isNativeUnique()) {
StringBuffer buffer = new StringBuffer();
buffer.append(function);
buffer.append("__");
- if (paramTypes.length > 0) {
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- buffer.append(toC(getTypeSignature(paramType)));
- }
+ for (int i = 0; i < paramTypes.length; i++) {
+ JNIType paramType = paramTypes[i];
+ buffer.append(toC(paramType.getTypeSignature(false)));
}
return buffer.toString();
}
return function;
}
-static int getByteCount(Class clazz) {
- if (clazz == Integer.TYPE) return 4;
- if (clazz == Boolean.TYPE) return 4;
- if (clazz == Long.TYPE) return 8;
- if (clazz == Short.TYPE) return 2;
- if (clazz == Character.TYPE) return 2;
- if (clazz == Byte.TYPE) return 1;
- if (clazz == Float.TYPE) return 4;
- if (clazz == Double.TYPE) return 8;
- return 4;
-}
-
-static String getTypeSignature(Class clazz) {
- if (clazz == Void.TYPE) return "V";
- if (clazz == Integer.TYPE) return "I";
- if (clazz == Boolean.TYPE) return "Z";
- if (clazz == Long.TYPE) return "J";
- if (clazz == Short.TYPE) return "S";
- if (clazz == Character.TYPE) return "C";
- if (clazz == Byte.TYPE) return "B";
- if (clazz == Float.TYPE) return "F";
- if (clazz == Double.TYPE) return "D";
- if (clazz == String.class) return "Ljava/lang/String;";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- return "[" + getTypeSignature(componentType);
- }
- return "L" + clazz.getName().replace('.', '/') + ";";
-}
-
-static String getTypeSignature1(Class clazz) {
- if (clazz == Void.TYPE) return "Void";
- if (clazz == Integer.TYPE) return "Int";
- if (clazz == Boolean.TYPE) return "Boolean";
- if (clazz == Long.TYPE) return "Long";
- if (clazz == Short.TYPE) return "Short";
- if (clazz == Character.TYPE) return "Char";
- if (clazz == Byte.TYPE) return "Byte";
- if (clazz == Float.TYPE) return "Float";
- if (clazz == Double.TYPE) return "Double";
- if (clazz == String.class) return "String";
- return "Object";
-}
-
-static String getTypeSignature2(Class clazz) {
- if (clazz == Void.TYPE) return "void";
- if (clazz == Integer.TYPE) return "jint";
- if (clazz == Boolean.TYPE) return "jboolean";
- if (clazz == Long.TYPE) return "jlong";
- if (clazz == Short.TYPE) return "jshort";
- if (clazz == Character.TYPE) return "jchar";
- if (clazz == Byte.TYPE) return "jbyte";
- if (clazz == Float.TYPE) return "jfloat";
- if (clazz == Double.TYPE) return "jdouble";
- if (clazz == String.class) return "jstring";
- if (clazz == Class.class) return "jclass";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- return getTypeSignature2(componentType) + "Array";
- }
- return "jobject";
-}
-
-static String getTypeSignature3(Class clazz) {
- if (clazz == Void.TYPE) return "void";
- if (clazz == Integer.TYPE) return "int";
- if (clazz == Boolean.TYPE) return "boolean";
- if (clazz == Long.TYPE) return "long";
- if (clazz == Short.TYPE) return "short";
- if (clazz == Character.TYPE) return "char";
- if (clazz == Byte.TYPE) return "byte";
- if (clazz == Float.TYPE) return "float";
- if (clazz == Double.TYPE) return "double";
- if (clazz == String.class) return "String";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- return getTypeSignature3(componentType) + "[]";
- }
- return clazz.getName();
-}
-
-static String getTypeSignature4(Class clazz) {
- return getTypeSignature4(clazz, false);
-}
-
-static String getTypeSignature4(Class clazz, boolean struct) {
- if (clazz == Void.TYPE) return "void";
- if (clazz == Integer.TYPE) return "jint";
- if (clazz == Boolean.TYPE) return "jboolean";
- if (clazz == Long.TYPE) return "jlong";
- if (clazz == Short.TYPE) return "jshort";
- if (clazz == Character.TYPE) return "jchar";
- if (clazz == Byte.TYPE) return "jbyte";
- if (clazz == Float.TYPE) return "jfloat";
- if (clazz == Double.TYPE) return "jdouble";
- if (clazz == String.class) return "jstring";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- String sig = getTypeSignature4(componentType);
- return struct ? sig : sig + " *";
- }
- String sig = getClassName(clazz);
- return struct ? sig : sig + " *";
-}
-
-static HashMap uniqueCache = new HashMap();
-static Class uniqueClassCache;
-static Method[] uniqueMethodsCache;
-static synchronized boolean isNativeUnique(Method method) {
- if ((method.getModifiers() & Modifier.NATIVE) == 0) return false;
- Object unique = uniqueCache.get(method);
- if (unique != null) return ((Boolean)unique).booleanValue();
- boolean result = true;
- Method[] methods;
- String name = method.getName();
- Class clazz = method.getDeclaringClass();
- if (clazz.equals(uniqueClassCache)) {
- methods = uniqueMethodsCache;
- } else {
- methods = clazz.getDeclaredMethods();
- uniqueClassCache = clazz;
- uniqueMethodsCache = methods;
- }
- for (int i = 0; i < methods.length; i++) {
- Method mth = methods[i];
- if ((mth.getModifiers() & Modifier.NATIVE) != 0 &&
- method != mth && !method.equals(mth) &&
- name.equals(mth.getName()))
- {
- result = false;
- break;
- }
+static String loadFile (String file) {
+ try {
+ FileReader fr = new FileReader(file);
+ BufferedReader br = new BufferedReader(fr);
+ StringBuffer str = new StringBuffer();
+ char[] buffer = new char[1024];
+ int read;
+ while ((read = br.read(buffer)) != -1) {
+ str.append(buffer, 0, read);
+ }
+ fr.close();
+ return str.toString();
+ } catch (IOException e) {
+ throw new RuntimeException("File not found:" + file, e);
}
- uniqueCache.put(method, new Boolean(result));
- return result;
}
-static void sort(Method[] methods) {
+static void sort(JNIMethod[] methods) {
Arrays.sort(methods, new Comparator() {
public int compare(Object a, Object b) {
- Method mth1 = (Method)a;
- Method mth2 = (Method)b;
+ JNIMethod mth1 = (JNIMethod)a;
+ JNIMethod mth2 = (JNIMethod)b;
int result = mth1.getName().compareTo(mth2.getName());
return result != 0 ? result : getFunctionName(mth1).compareTo(getFunctionName(mth2));
}
});
}
-static void sort(Field[] fields) {
+static void sort(JNIField[] fields) {
Arrays.sort(fields, new Comparator() {
public int compare(Object a, Object b) {
- return ((Field)a).getName().compareTo(((Field)b).getName());
+ return ((JNIField)a).getName().compareTo(((JNIField)b).getName());
}
});
}
-static void sort(Class[] classes) {
+static void sort(JNIClass[] classes) {
Arrays.sort(classes, new Comparator() {
public int compare(Object a, Object b) {
- return ((Class)a).getName().compareTo(((Class)b).getName());
+ return ((JNIClass)a).getName().compareTo(((JNIClass)b).getName());
}
});
}
+static String[] split(String str, String separator) {
+ StringTokenizer tk = new StringTokenizer(str, separator);
+ ArrayList result = new ArrayList();
+ while (tk.hasMoreElements()) {
+ result.add(tk.nextElement());
+ }
+ return (String[])result.toArray(new String[result.size()]);
+}
+
static String toC(String str) {
int length = str.length();
StringBuffer buffer = new StringBuffer(length * 2);
@@ -259,7 +140,7 @@ static String toC(String str) {
return buffer.toString();
}
-public abstract void generate(Class clazz);
+public abstract void generate(JNIClass clazz);
public void generateCopyright() {
}
@@ -273,15 +154,14 @@ public void generate() {
generateIncludes();
sort(classes);
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData data = getMetaData().getMetaData(clazz);
- if (data.getFlag(FLAG_CPP)) {
+ JNIClass clazz = classes[i];
+ if (clazz.getFlag(FLAG_CPP)) {
isCPP = true;
break;
}
}
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
+ JNIClass clazz = classes[i];
if (getGenerate(clazz)) generate(clazz);
if (progress != null) progress.step();
}
@@ -296,15 +176,10 @@ public void generateMetaData(String key) {
outputln(fixDelimiter(data));
}
-public Class[] getClasses() {
+public JNIClass[] getClasses() {
return classes;
}
-protected boolean getGenerate(Class clazz) {
- ClassData data = getMetaData().getMetaData(clazz);
- return !data.getFlag(FLAG_NO_GEN);
-}
-
public boolean getCPP() {
return isCPP;
}
@@ -321,15 +196,19 @@ public String getFileName() {
return getOutputName() + getSuffix() + getExtension();
}
+protected boolean getGenerate(JNIItem item) {
+ return item.getGenerate();
+}
+
public PrintStream getOutput() {
return output;
}
public String getOutputName() {
- return getClassName(getMainClass()).toLowerCase();
+ return getMainClass().getSimpleName().toLowerCase();
}
-public Class getMainClass() {
+public JNIClass getMainClass() {
return mainClass;
}
@@ -337,10 +216,6 @@ public MetaData getMetaData() {
return metaData;
}
-public String getPlatform() {
- return SWT.getPlatform();
-}
-
public ProgressMonitor getProgressMonitor() {
return progress;
}
@@ -362,7 +237,7 @@ public void outputln(String str) {
output(getDelimiter());
}
-public void setClasses(Class[] classes) {
+public void setClasses(JNIClass[] classes) {
this.classes = classes;
}
@@ -370,7 +245,7 @@ public void setDelimiter(String delimiter) {
this.delimiter = delimiter;
}
-public void setMainClass(Class mainClass) {
+public void setMainClass(JNIClass mainClass) {
this.mainClass = mainClass;
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java
index 9f517c4b3c..f8e4e6675f 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java
@@ -21,10 +21,13 @@ import org.eclipse.swt.SWT;
public class JNIGeneratorApp {
- Class mainClass;
+ JNIClass mainClass;
+ JNIClass[] classes;
ProgressMonitor progress;
String mainClassName, outputDir, classpath;
MetaData metaData;
+
+ static final boolean USE_AST = true;
public JNIGeneratorApp() {
}
@@ -33,7 +36,7 @@ public String getClasspath() {
return classpath;
}
-public Class getMainClass() {
+public JNIClass getMainClass() {
return mainClass;
}
@@ -56,13 +59,15 @@ public String getOutputDir() {
public void generateAll() {
String mainClasses = new MetaData(getDefaultMainClass()).getMetaData("swt_main_classes", null);
if (mainClasses != null) {
- String[] list = ItemData.split(mainClasses, ",");
+ String[] list = JNIGenerator.split(mainClasses, ",");
for (int i = 0; i < list.length; i += 2) {
String className = list[i].trim();
- try {
- Class.forName(className, false, getClass().getClassLoader());
- } catch (Throwable e) {
- continue;
+ if (!USE_AST) {
+ try {
+ Class.forName(className, false, getClass().getClassLoader());
+ } catch (Throwable e) {
+ continue;
+ }
}
System.out.println("Generating \"" + className + "\"");
setMainClassName(className);
@@ -71,7 +76,7 @@ public void generateAll() {
}
}
-void generateSTATS_C(Class[] classes) {
+void generateSTATS_C(JNIClass[] classes) {
try {
StatsGenerator gen = new StatsGenerator(false);
gen.setMainClass(mainClass);
@@ -88,7 +93,7 @@ void generateSTATS_C(Class[] classes) {
}
}
-void generateSTATS_H(Class[] classes) {
+void generateSTATS_H(JNIClass[] classes) {
try {
StatsGenerator gen = new StatsGenerator(true);
gen.setMainClass(mainClass);
@@ -105,7 +110,7 @@ void generateSTATS_H(Class[] classes) {
}
}
-void generateSTRUCTS_H(Class[] classes) {
+void generateSTRUCTS_H(JNIClass[] classes) {
try {
StructsGenerator gen = new StructsGenerator(true);
gen.setMainClass(mainClass);
@@ -123,7 +128,7 @@ void generateSTRUCTS_H(Class[] classes) {
}
-void generateSTRUCTS_C(Class[] classes) {
+void generateSTRUCTS_C(JNIClass[] classes) {
try {
StructsGenerator gen = new StructsGenerator(false);
gen.setMainClass(mainClass);
@@ -141,7 +146,7 @@ void generateSTRUCTS_C(Class[] classes) {
}
-void generateSWT_C(Class[] classes) {
+void generateSWT_C(JNIClass[] classes) {
try {
NativesGenerator gen = new NativesGenerator();
gen.setMainClass(mainClass);
@@ -159,7 +164,7 @@ void generateSWT_C(Class[] classes) {
}
-void generateMetaData(Class[] classes) {
+void generateMetaData(JNIClass[] classes) {
try {
MetaDataGenerator gen = new MetaDataGenerator();
gen.setMainClass(mainClass);
@@ -168,12 +173,14 @@ void generateMetaData(Class[] classes) {
gen.setProgressMonitor(progress);
ByteArrayOutputStream out = new ByteArrayOutputStream();
gen.setOutput(new PrintStream(out));
- gen.generate();
- if (!new File(getMetaDataDir()).exists()) {
- System.out.println("Warning: Meta data output dir does not exist");
- return;
+ if (new File(getMetaDataDir() + gen.getFileName()).exists()) {
+ gen.generate();
+ if (!new File(getMetaDataDir()).exists()) {
+ System.out.println("Warning: Meta data output dir does not exist");
+ return;
+ }
+ if (out.size() > 0) output(out.toByteArray(), getMetaDataDir() + gen.getFileName());
}
- if (out.size() > 0) output(out.toByteArray(), getMetaDataDir() + gen.getFileName());
} catch (Exception e) {
System.out.println("Problem");
e.printStackTrace(System.out);
@@ -185,26 +192,26 @@ public void generate() {
}
public void generate(ProgressMonitor progress) {
- if (mainClassName == null) return;
+ if (mainClass == null) return;
if (progress != null) progress.setMessage("Initializing...");
- Class[] classes = getClasses();
- Class[] natives = getNativesClasses();
- Class[] structs = getStructureClasses();
+ JNIClass[] classes = getClasses();
+ JNIClass[] natives = getNativesClasses(classes);
+ JNIClass[] structs = getStructureClasses(classes);
this.progress = progress;
if (progress != null) {
int nativeCount = 0;
for (int i = 0; i < natives.length; i++) {
- Class clazz = natives[i];
- Method[] methods = clazz.getDeclaredMethods();
+ JNIClass clazz = natives[i];
+ JNIMethod[] methods = clazz.getDeclaredMethods();
for (int j = 0; j < methods.length; j++) {
- Method method = methods[j];
+ JNIMethod method = methods[j];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
nativeCount++;
}
}
int total = nativeCount * 4;
total += classes.length;
- total += natives.length * 3;
+ total += natives.length * (3);
total += structs.length * 2;
progress.setTotal(total);
progress.setMessage("Generating structs.h ...");
@@ -310,16 +317,24 @@ String[] getClassNames(String mainClassName) {
return (String[])classes.toArray(new String[classes.size()]);
}
-public Class[] getClasses() {
- if (mainClassName == null) return new Class[0];
+public JNIClass[] getClasses() {
+ if (classes != null) return classes;
+ if (mainClassName == null) return new JNIClass[0];
+ if (USE_AST) return getASTClasses();
String[] classNames = getClassNames(mainClassName);
Arrays.sort(classNames);
String packageName = getPackageName(mainClassName);
- Class[] classes = new Class[classNames.length];
+ JNIClass[] classes = new JNIClass[classNames.length];
for (int i = 0; i < classNames.length; i++) {
String className = classNames[i];
try {
- classes[i] = Class.forName(packageName + "." + className, false, getClass().getClassLoader());
+ String qualifiedName = packageName + "." + className;
+ if (qualifiedName.equals(mainClassName)) {
+ classes[i] = mainClass;
+ } else {
+ String sourcePath = new File(outputDir).getParent() + "/" + qualifiedName.replace('.', '/') + ".java";
+ classes[i] = new ReflectClass(Class.forName(qualifiedName, false, getClass().getClassLoader()), metaData, sourcePath);
+ }
} catch (Exception e) {
e.printStackTrace();
}
@@ -327,15 +342,41 @@ public Class[] getClasses() {
return classes;
}
-public Class[] getNativesClasses() {
- if (mainClassName == null) return new Class[0];
+public JNIClass[] getASTClasses() {
+ if (classes != null) return classes;
+ if (mainClassName == null) return new JNIClass[0];
+ String root = new File(outputDir).getParent();
+ String mainPath = root + "/" + mainClassName.replace('.', '/') + ".java";
+ ArrayList classes = new ArrayList();
+ String packageName = getPackageName(mainClassName);
+ File dir = new File(root + "/" + packageName.replace('.', '/'));
+ File[] files = dir.listFiles();
+ for (int i = 0; i < files.length; i++) {
+ File file = files[i];
+ try {
+ String path = file.getAbsolutePath().replace('\\', '/');
+ if (path.endsWith(".java")) {
+ if (mainPath.equals(path)){
+ classes.add(mainClass);
+ } else {
+ classes.add(new ASTClass(path, metaData));
+ }
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ return (JNIClass[])classes.toArray(new JNIClass[classes.size()]);
+}
+
+public JNIClass[] getNativesClasses(JNIClass[] classes) {
+ if (mainClass == null) return new JNIClass[0];
ArrayList result = new ArrayList();
- Class[] classes = getClasses();
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- Method[] methods = clazz.getDeclaredMethods();
+ JNIClass clazz = classes[i];
+ JNIMethod[] methods = clazz.getDeclaredMethods();
for (int j = 0; j < methods.length; j++) {
- Method method = methods[j];
+ JNIMethod method = methods[j];
int mods = method.getModifiers();
if ((mods & Modifier.NATIVE) != 0) {
result.add(clazz);
@@ -343,26 +384,25 @@ public Class[] getNativesClasses() {
}
}
}
- return (Class[])result.toArray(new Class[result.size()]);
+ return (JNIClass[])result.toArray(new JNIClass[result.size()]);
}
-public Class[] getStructureClasses() {
- if (mainClassName == null) return new Class[0];
+public JNIClass[] getStructureClasses(JNIClass[] classes) {
+ if (mainClass == null) return new JNIClass[0];
ArrayList result = new ArrayList();
- Class[] classes = getClasses();
outer:
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- Method[] methods = clazz.getDeclaredMethods();
+ JNIClass clazz = classes[i];
+ JNIMethod[] methods = clazz.getDeclaredMethods();
for (int j = 0; j < methods.length; j++) {
- Method method = methods[j];
+ JNIMethod method = methods[j];
int mods = method.getModifiers();
if ((mods & Modifier.NATIVE) != 0) continue outer;
}
- Field[] fields = clazz.getFields();
+ JNIField[] fields = clazz.getDeclaredFields();
boolean hasPublicFields = false;
for (int j = 0; j < fields.length; j++) {
- Field field = fields[j];
+ JNIField field = fields[j];
int mods = field.getModifiers();
if ((mods & Modifier.PUBLIC) != 0 && (mods & Modifier.STATIC) == 0) {
hasPublicFields = true;
@@ -372,19 +412,31 @@ public Class[] getStructureClasses() {
if (!hasPublicFields) continue;
result.add(clazz);
}
- return (Class[])result.toArray(new Class[result.size()]);
+ return (JNIClass[])result.toArray(new JNIClass[result.size()]);
}
public void setClasspath(String classpath) {
this.classpath = classpath;
}
+public void setMainClass(JNIClass mainClass) {
+ this.mainClass = mainClass;
+}
+
+public void setMetaData(MetaData data) {
+ this.metaData = data;
+}
+
+public void setClasses(JNIClass[] classes) {
+ this.classes = classes;
+}
+
public void setMainClassName(String str) {
mainClassName = str;
metaData = new MetaData(mainClassName);
String mainClasses = getMetaData().getMetaData("swt_main_classes", null);
if (mainClasses != null) {
- String[] list = ItemData.split(mainClasses, ",");
+ String[] list = JNIGenerator.split(mainClasses, ",");
for (int i = 0; i < list.length; i += 2) {
if (mainClassName.equals(list[i].trim())) {
setOutputDir(list[i + 1].trim());
@@ -393,12 +445,32 @@ public void setMainClassName(String str) {
}
if (mainClassName != null) {
try {
- mainClass = Class.forName(mainClassName, false, getClass().getClassLoader());
+ String sourcePath = new File(outputDir).getParent() + "/" + mainClassName.replace('.', '/') + ".java";
+ if (USE_AST) {
+ mainClass = new ASTClass(sourcePath, metaData);
+ } else {
+ mainClass = new ReflectClass(Class.forName(mainClassName, false, getClass().getClassLoader()), metaData, sourcePath);
+ }
} catch (Exception e) {
e.printStackTrace();
}
}
}
+public void setMainClassName(String str, String outputDir) {
+ mainClassName = str;
+ setOutputDir(outputDir);
+ metaData = new MetaData(mainClassName);
+ try {
+ String sourcePath = new File(this.outputDir).getParent() + "/" + mainClassName.replace('.', '/') + ".java";
+ if (USE_AST) {
+ mainClass = new ASTClass(sourcePath, metaData);
+ } else {
+ mainClass = new ReflectClass(Class.forName(mainClassName, false, getClass().getClassLoader()), metaData, sourcePath);
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+}
public void setOutputDir(String str) {
if (str != null) {
@@ -406,7 +478,7 @@ public void setOutputDir(String str) {
str += File.separator;
}
}
- outputDir = str;
+ outputDir = str.replace('\\', '/');
}
public static String getDefaultMainClass() {
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java
index 597921a66f..5ee66407ae 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java
@@ -124,7 +124,7 @@ void generateMetaData () {
MetaDataGenerator gen = new MetaDataGenerator();
gen.setMainClass(app.getMainClass());
gen.setMetaData(app.getMetaData());
- Method[] methods = getSelectedMethods();
+ JNIMethod[] methods = getSelectedMethods();
if (methods.length != 0) {
gen.generate(methods);
} else {
@@ -137,7 +137,7 @@ void generateNatives () {
NativesGenerator gen = new NativesGenerator();
gen.setMainClass(app.getMainClass());
gen.setMetaData(app.getMetaData());
- Method[] methods = getSelectedMethods();
+ JNIMethod[] methods = getSelectedMethods();
if (methods.length != 0) {
gen.generate(methods);
} else {
@@ -222,7 +222,7 @@ void generateConstants () {
ConstantsGenerator gen = new ConstantsGenerator();
gen.setMainClass(app.getMainClass());
gen.setMetaData(app.getMetaData());
- Field[] fields = getSelectedFields();
+ JNIField[] fields = getSelectedFields();
if (fields.length != 0) {
gen.generate(fields);
} else {
@@ -231,50 +231,48 @@ void generateConstants () {
}
}
-Class[] getSelectedClasses() {
+JNIClass[] getSelectedClasses() {
TableItem[] items = classesLt.getSelection();
- Class[] classes = new Class[items.length];
+ JNIClass[] classes = new JNIClass[items.length];
for (int i = 0; i < items.length; i++) {
TableItem item = items[i];
- classes[i] = ((ClassData)item.getData()).getClazz();
+ classes[i] = (JNIClass)item.getData();
}
return classes;
}
-Method[] getSelectedMethods() {
+JNIMethod[] getSelectedMethods() {
TableItem[] selection = membersLt.getSelection();
- Method[] methods = new Method[selection.length];
+ JNIMethod[] methods = new JNIMethod[selection.length];
int count = 0;
for (int i = 0; i < selection.length; i++) {
TableItem item = selection [i];
Object data = item.getData();
- if (data instanceof MethodData) {
- Method method = ((MethodData)data).getMethod();
- methods[count++] = method;
+ if (data instanceof JNIMethod) {
+ methods[count++] = (JNIMethod)data;
}
}
if (count != methods.length) {
- Method[] result = new Method[count];
+ JNIMethod[] result = new JNIMethod[count];
System.arraycopy(methods, 0, result, 0, count);
methods = result;
}
return methods;
}
-Field[] getSelectedFields() {
+JNIField[] getSelectedFields() {
TableItem[] selection = membersLt.getSelection();
- Field[] fields = new Field[selection.length];
+ JNIField[] fields = new JNIField[selection.length];
int count = 0;
for (int i = 0; i < selection.length; i++) {
TableItem item = selection [i];
Object data = item.getData();
- if (data instanceof FieldData) {
- Field field = ((FieldData)data).getField();
- fields[count++] = field;
+ if (data instanceof JNIField) {
+ fields[count++] = (JNIField)data;
}
}
if (count != fields.length) {
- Field[] result = new Field[count];
+ JNIField[] result = new JNIField[count];
System.arraycopy(fields, 0, result, 0, count);
fields = result;
}
@@ -349,7 +347,7 @@ void createMainClassPanel(Composite panel, Listener updateListener) {
String mainClasses = app.getMetaData().getMetaData("swt_main_classes", null);
if (mainClasses != null) {
- String[] list = ItemData.split(mainClasses, ",");
+ String[] list = JNIGenerator.split(mainClasses, ",");
for (int i = 0; i < list.length; i += 2) {
String className = list[i].trim();
try {
@@ -410,13 +408,11 @@ void createClassesPanel(Composite panel) {
TableItem item = classTextEditor.getItem();
if (item == null) return;
int column = classTextEditor.getColumn();
- ClassData classData = (ClassData)item.getData();
+ JNIClass clazz = (JNIClass)item.getData();
if (column == CLASS_EXCLUDE_COLUMN) {
String text = classEditorTx.getText();
- classData.setExclude(text);
- item.setText(column, classData.getExclude());
- MetaData metaData = app.getMetaData();
- metaData.setMetaData(classData.getClazz(), classData);
+ clazz.setExclude(text);
+ item.setText(column, clazz.getExclude());
classesLt.getColumn(column).pack();
}
}
@@ -429,7 +425,7 @@ void createClassesPanel(Composite panel) {
floater.setLayout(new FillLayout());
classListEditor = new FlagsEditor(classesLt);
classEditorLt = new List(floater, SWT.MULTI | SWT.BORDER);
- classEditorLt.setItems(ClassData.getAllFlags());
+ classEditorLt.setItems(JNIClass.FLAGS);
floater.pack();
floater.addListener(SWT.Close, new Listener() {
public void handleEvent(Event e) {
@@ -452,14 +448,12 @@ void createClassesPanel(Composite panel) {
TableItem item = classListEditor.getItem();
if (item == null) return;
int column = classListEditor.getColumn();
- ClassData classData = (ClassData)item.getData();
+ JNIClass clazz = (JNIClass)item.getData();
if (column == CLASS_FLAGS_COLUMN) {
String[] flags = classEditorLt.getSelection();
- classData.setFlags(flags);
- item.setText(column, getFlagsString(classData.getFlags()));
- item.setChecked(classData.getGenerate());
- MetaData metaData = app.getMetaData();
- metaData.setMetaData(classData.getClazz(), classData);
+ clazz.setFlags(flags);
+ item.setText(column, getFlagsString(clazz.getFlags()));
+ item.setChecked(clazz.getGenerate());
classesLt.getColumn(column).pack();
}
}
@@ -485,7 +479,7 @@ void createClassesPanel(Composite panel) {
}
}
if (column == -1) return;
- ClassData data = (ClassData)item.getData();
+ JNIClass data = (JNIClass)item.getData();
if (column == CLASS_EXCLUDE_COLUMN) {
classTextEditor.setColumn(column);
classTextEditor.setItem(item);
@@ -580,45 +574,42 @@ void createMembersPanel(Composite panel) {
TableItem item = memberTextEditor.getItem();
if (item == null) return;
int column = memberTextEditor.getColumn();
- ItemData memberData = (ItemData)item.getData();
+ JNIItem memberData = (JNIItem)item.getData();
String text = memberEditorTx.getText();
- MetaData metaData = app.getMetaData();
- if (memberData instanceof FieldData) {
- FieldData fieldData = (FieldData)memberData;
+ if (memberData instanceof JNIField) {
+ JNIField field = (JNIField)memberData;
switch (column) {
case FIELD_CAST_COLUMN: {
- fieldData.setCast(text);
- item.setText(column, fieldData.getCast());
+ field.setCast(text);
+ item.setText(column, field.getCast());
break;
}
case FIELD_ACCESSOR_COLUMN: {
- fieldData.setAccessor(text.equals(fieldData.getField().getName()) ? "" : text);
- item.setText(column, fieldData.getAccessor());
+ field.setAccessor(text.equals(field.getName()) ? "" : text);
+ item.setText(column, field.getAccessor());
break;
}
case FIELD_EXCLUDE_COLUMN: {
- fieldData.setExclude(text);
- item.setText(column, fieldData.getExclude());
+ field.setExclude(text);
+ item.setText(column, field.getExclude());
break;
}
}
- metaData.setMetaData(fieldData.getField(), fieldData);
membersLt.getColumn(column).pack();
- } else if (memberData instanceof MethodData) {
- MethodData methodData = (MethodData)memberData;
+ } else if (memberData instanceof JNIMethod) {
+ JNIMethod method = (JNIMethod)memberData;
switch (column) {
case METHOD_ACCESSOR_COLUMN: {
- methodData.setAccessor(text.equals(methodData.getMethod().getName()) ? "" : text);
- item.setText(column, methodData.getAccessor());
+ method.setAccessor(text.equals(method.getName()) ? "" : text);
+ item.setText(column, method.getAccessor());
break;
}
case METHOD_EXCLUDE_COLUMN: {
- methodData.setExclude(text);
- item.setText(column, methodData.getExclude());
+ method.setExclude(text);
+ item.setText(column, method.getExclude());
break;
}
}
- metaData.setMetaData(methodData.getMethod(), methodData);
membersLt.getColumn(column).pack();
}
}
@@ -652,21 +643,12 @@ void createMembersPanel(Composite panel) {
TableItem item = memberListEditor.getItem();
if (item == null) return;
int column = memberListEditor.getColumn();
- ItemData data = (ItemData)item.getData();
+ JNIItem data = (JNIItem)item.getData();
String[] flags = memberEditorLt.getSelection();
data.setFlags(flags);
item.setText(column, getFlagsString(data.getFlags()));
item.setChecked(data.getGenerate());
- MetaData metaData = app.getMetaData();
- if (data instanceof FieldData) {
- FieldData fieldData = (FieldData)data;
- metaData.setMetaData(fieldData.getField(), fieldData);
- membersLt.getColumn(column).pack();
- } else if (data instanceof MethodData) {
- MethodData methodData = (MethodData)data;
- metaData.setMetaData(methodData.getMethod(), methodData);
- membersLt.getColumn(column).pack();
- }
+ membersLt.getColumn(column).pack();
}
};
memberEditorLt.addListener(SWT.DefaultSelection, memberListListener);
@@ -690,19 +672,19 @@ void createMembersPanel(Composite panel) {
}
}
if (column == -1) return;
- ItemData itemData = (ItemData)item.getData();
- if (itemData instanceof FieldData) {
- FieldData data = (FieldData)itemData;
+ Object itemData = item.getData();
+ if (itemData instanceof JNIField) {
+ JNIField field = (JNIField)itemData;
if (column == FIELD_CAST_COLUMN || column == FIELD_ACCESSOR_COLUMN || column == FIELD_EXCLUDE_COLUMN) {
memberTextEditor.setColumn(column);
memberTextEditor.setItem(item);
String text = "";
switch (column) {
- case FIELD_CAST_COLUMN: text = data.getCast(); break;
+ case FIELD_CAST_COLUMN: text = field.getCast(); break;
case FIELD_ACCESSOR_COLUMN: {
- text = data.getAccessor();
+ text = field.getAccessor();
if (text.length() == 0) {
- text = data.getField().getName();
+ text = field.getName();
int index = text.lastIndexOf('_');
if (index != -1) {
char[] chars = text.toCharArray();
@@ -712,7 +694,7 @@ void createMembersPanel(Composite panel) {
}
break;
}
- case FIELD_EXCLUDE_COLUMN: text = data.getExclude(); break;
+ case FIELD_EXCLUDE_COLUMN: text = field.getExclude(); break;
}
memberEditorTx.setText(text);
memberEditorTx.selectAll();
@@ -721,26 +703,26 @@ void createMembersPanel(Composite panel) {
} else if (column == FIELD_FLAGS_COLUMN) {
memberListEditor.setColumn(column);
memberListEditor.setItem(item);
- memberEditorLt.setItems(FieldData.getAllFlags());
- memberEditorLt.setSelection(data.getFlags());
+ memberEditorLt.setItems(JNIField.FLAGS);
+ memberEditorLt.setSelection(field.getFlags());
floater.setLocation(membersLt.toDisplay(e.x, e.y));
floater.pack();
floater.setVisible(true);
memberEditorLt.setFocus();
}
- } else if (itemData instanceof MethodData) {
- MethodData data = (MethodData)itemData;
+ } else if (itemData instanceof JNIMethod) {
+ JNIMethod method = (JNIMethod)itemData;
if (column == METHOD_EXCLUDE_COLUMN || column == METHOD_ACCESSOR_COLUMN) {
memberTextEditor.setColumn(column);
memberTextEditor.setItem(item);
String text = "";
switch (column) {
case METHOD_ACCESSOR_COLUMN: {
- text = data.getAccessor();
- if (text.length() == 0) text = data.getMethod().getName();
+ text = method.getAccessor();
+ if (text.length() == 0) text = method.getName();
break;
}
- case METHOD_EXCLUDE_COLUMN: text = data.getExclude(); break;
+ case METHOD_EXCLUDE_COLUMN: text = method.getExclude(); break;
}
memberEditorTx.setText(text);
memberEditorTx.selectAll();
@@ -749,8 +731,8 @@ void createMembersPanel(Composite panel) {
} else if (column == METHOD_FLAGS_COLUMN) {
memberListEditor.setColumn(column);
memberListEditor.setItem(item);
- memberEditorLt.setItems(MethodData.getAllFlags());
- memberEditorLt.setSelection(data.getFlags());
+ memberEditorLt.setItems(JNIMethod.FLAGS);
+ memberEditorLt.setSelection(method.getFlags());
floater.setLocation(membersLt.toDisplay(e.x, e.y));
floater.pack();
floater.setVisible(true);
@@ -809,13 +791,11 @@ void createParametersPanel(Composite panel) {
TableItem item = paramTextEditor.getItem();
if (item == null) return;
int column = paramTextEditor.getColumn();
- ParameterData paramData = (ParameterData)item.getData();
+ JNIParameter param = (JNIParameter)item.getData();
if (column == PARAM_CAST_COLUMN) {
String text = paramEditorTx.getText();
- paramData.setCast(text);
- item.setText(column, paramData.getCast());
- MetaData metaData = app.getMetaData();
- metaData.setMetaData(paramData.getMethod(), paramData.getParameter(), paramData);
+ param.setCast(text);
+ item.setText(column, param.getCast());
paramsLt.getColumn(column).pack();
}
}
@@ -828,7 +808,7 @@ void createParametersPanel(Composite panel) {
floater.setLayout(new FillLayout());
paramListEditor = new FlagsEditor(paramsLt);
paramEditorLt = new List(floater, SWT.MULTI | SWT.BORDER);
- paramEditorLt.setItems(ParameterData.getAllFlags());
+ paramEditorLt.setItems(JNIParameter.FLAGS);
floater.pack();
floater.addListener(SWT.Close, new Listener() {
public void handleEvent(Event e) {
@@ -851,13 +831,11 @@ void createParametersPanel(Composite panel) {
TableItem item = paramListEditor.getItem();
if (item == null) return;
int column = paramListEditor.getColumn();
- ParameterData paramData = (ParameterData)item.getData();
+ JNIParameter param = (JNIParameter)item.getData();
if (column == PARAM_FLAGS_COLUMN) {
String[] flags = paramEditorLt.getSelection();
- paramData.setFlags(flags);
- item.setText(column, getFlagsString(paramData.getFlags()));
- MetaData metaData = app.getMetaData();
- metaData.setMetaData(paramData.getMethod(), paramData.getParameter(), paramData);
+ param.setFlags(flags);
+ item.setText(column, getFlagsString(param.getFlags()));
paramsLt.getColumn(column).pack();
}
}
@@ -883,18 +861,18 @@ void createParametersPanel(Composite panel) {
}
}
if (column == -1) return;
- ParameterData data = (ParameterData)item.getData();
+ JNIParameter param = (JNIParameter)item.getData();
if (column == PARAM_CAST_COLUMN) {
paramTextEditor.setColumn(column);
paramTextEditor.setItem(item);
- paramEditorTx.setText(data.getCast());
+ paramEditorTx.setText(param.getCast());
paramEditorTx.selectAll();
paramEditorTx.setVisible(true);
paramEditorTx.setFocus();
} else if (column == PARAM_FLAGS_COLUMN) {
paramListEditor.setColumn(column);
paramListEditor.setItem(item);
- paramEditorLt.setSelection(data.getFlags());
+ paramEditorLt.setSelection(param.getFlags());
floater.setLocation(paramsLt.toDisplay(e.x, e.y));
floater.setVisible(true);
paramEditorLt.setFocus();
@@ -996,8 +974,8 @@ String getPackageString(String className) {
return app.getMainClassName().substring(0, dot);
}
-String getClassString(Class clazz) {
- String name = JNIGenerator.getTypeSignature3(clazz);
+String getClassString(JNIType type) {
+ String name = type.getTypeSignature3(false);
int index = name.lastIndexOf('.');
if (index == -1) return name;
return name.substring(index + 1, name.length());
@@ -1014,16 +992,16 @@ String getFlagsString(String[] flags) {
return buffer.toString();
}
-String getMethodString(Method method) {
+String getMethodString(JNIMethod method) {
String pkgName = getPackageString(method.getDeclaringClass().getName());
StringBuffer buffer = new StringBuffer();
buffer.append(method.getName());
buffer.append("(");
- Class[] params = method.getParameterTypes();
+ JNIParameter[] params = method.getParameters();
for (int i = 0; i < params.length; i++) {
- Class param = params[i];
+ JNIParameter param = params[i];
if (i != 0) buffer.append(",");
- String string = JNIGenerator.getTypeSignature3(param);
+ String string = param.getType().getTypeSignature3(false);
if (string.startsWith(pkgName)) string = string.substring(pkgName.length() + 1);
buffer.append(string);
}
@@ -1031,24 +1009,22 @@ String getMethodString(Method method) {
return buffer.toString();
}
-String getFieldString(Field field) {
+String getFieldString(JNIField field) {
return field.getName();
}
void updateClasses() {
classesLt.removeAll();
- MetaData metaData = app.getMetaData();
- Class[] classes = app.getClasses();
+ JNIClass[] classes = app.getClasses();
int mainIndex = 0;
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
+ JNIClass clazz = classes[i];
if (clazz.equals(app.getMainClass())) mainIndex = i;
- ClassData classData = metaData.getMetaData(clazz);
TableItem item = new TableItem(classesLt, SWT.NONE);
- item.setData(classData);
- item.setText(CLASS_NAME_COLUMN, getClassString(clazz));
- item.setText(CLASS_FLAGS_COLUMN, getFlagsString(classData.getFlags()));
- item.setChecked(classData.getGenerate());
+ item.setData(clazz);
+ item.setText(CLASS_NAME_COLUMN, clazz.getSimpleName());
+ item.setText(CLASS_FLAGS_COLUMN, getFlagsString(clazz.getFlags()));
+ item.setChecked(clazz.getGenerate());
}
TableColumn[] columns = classesLt.getColumns();
for (int i = 0; i < columns.length; i++) {
@@ -1060,7 +1036,6 @@ void updateClasses() {
void updateMembers() {
membersLt.removeAll();
- MetaData metaData = app.getMetaData();
membersLt.setHeaderVisible(false);
TableColumn[] columns = membersLt.getColumns();
for (int i = 0; i < columns.length; i++) {
@@ -1070,12 +1045,11 @@ void updateMembers() {
int[] indices = classesLt.getSelectionIndices();
if (indices.length != 1) return;
TableItem classItem = classesLt.getItem(indices[0]);
- ClassData classData = (ClassData)classItem.getData();
- Class clazz = classData.getClazz();
+ JNIClass clazz = (JNIClass)classItem.getData();
boolean hasNatives = false;
- Method[] methods = clazz.getDeclaredMethods();
+ JNIMethod[] methods = clazz.getDeclaredMethods();
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
int mods = method.getModifiers();
if (hasNatives =((mods & Modifier.NATIVE) != 0)) break;
}
@@ -1094,15 +1068,14 @@ void updateMembers() {
*/
JNIGenerator.sort(methods);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- MethodData methodData = metaData.getMetaData(method);
TableItem item = new TableItem(membersLt, SWT.NONE);
- item.setData(methodData);
+ item.setData(method);
item.setText(METHOD_NAME_COLUMN, getMethodString(method));
- item.setChecked(methodData.getGenerate());
- item.setText(METHOD_FLAGS_COLUMN, getFlagsString(methodData.getFlags()));
- item.setText(METHOD_ACCESSOR_COLUMN, methodData.getAccessor());
+ item.setChecked(method.getGenerate());
+ item.setText(METHOD_FLAGS_COLUMN, getFlagsString(method.getFlags()));
+ item.setText(METHOD_ACCESSOR_COLUMN, method.getAccessor());
/*
item.setText(METHOD_EXCLUDE_COLUMN, methodData.getExclude());
*/
@@ -1121,21 +1094,20 @@ void updateMembers() {
column = new TableColumn(membersLt, SWT.NONE, FIELD_EXCLUDE_COLUMN);
column.setText("Exclude");
*/
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
int mods = field.getModifiers();
if (((mods & Modifier.PUBLIC) == 0) ||
((mods & Modifier.FINAL) != 0) ||
((mods & Modifier.STATIC) != 0)) continue;
- FieldData fieldData = metaData.getMetaData(field);
TableItem item = new TableItem(membersLt, SWT.NONE);
- item.setData(fieldData);
+ item.setData(field);
item.setText(FIELD_NAME_COLUMN, getFieldString(field));
- item.setChecked(fieldData.getGenerate());
- item.setText(FIELD_CAST_COLUMN, fieldData.getCast());
- item.setText(FIELD_FLAGS_COLUMN, getFlagsString(fieldData.getFlags()));
- item.setText(FIELD_ACCESSOR_COLUMN, fieldData.getAccessor());
+ item.setChecked(field.getGenerate());
+ item.setText(FIELD_CAST_COLUMN, field.getCast());
+ item.setText(FIELD_FLAGS_COLUMN, getFlagsString(field.getFlags()));
+ item.setText(FIELD_ACCESSOR_COLUMN, field.getAccessor());
/*
item.setText(FIELD_EXCLUDE_COLUMN, fieldData.getExclude());
*/
@@ -1152,7 +1124,6 @@ void updateMembers() {
void updateParameters() {
paramsLt.removeAll();
- MetaData metaData = app.getMetaData();
int[] indices = membersLt.getSelectionIndices();
if (indices.length != 1) {
paramsLt.setHeaderVisible(false);
@@ -1160,20 +1131,18 @@ void updateParameters() {
}
TableItem memberItem = membersLt.getItem(indices[0]);
Object data = memberItem.getData();
- if (!(data instanceof MethodData)) return;
+ if (!(data instanceof JNIMethod)) return;
paramsLt.setRedraw(false);
- MethodData methodData = (MethodData)memberItem.getData();
- Method method = methodData.getMethod();
- Class[] params = method.getParameterTypes();
+ JNIMethod method = (JNIMethod)data;
+ JNIParameter[] params = method.getParameters();
for (int i = 0; i < params.length; i++) {
- Class param = params[i];
- ParameterData paramData = metaData.getMetaData(method, i);
+ JNIParameter param = params[i];
TableItem item = new TableItem(paramsLt, SWT.NONE);
- item.setData(paramData);
+ item.setData(param);
item.setText(PARAM_INDEX_COLUMN, String.valueOf(i));
- item.setText(PARAM_TYPE_COLUMN, getClassString(param));
- item.setText(PARAM_CAST_COLUMN, paramData.getCast());
- item.setText(PARAM_FLAGS_COLUMN, getFlagsString(paramData.getFlags()));
+ item.setText(PARAM_TYPE_COLUMN, getClassString(param.getType()));
+ item.setText(PARAM_CAST_COLUMN, param.getCast());
+ item.setText(PARAM_FLAGS_COLUMN, getFlagsString(param.getFlags()));
}
TableColumn[] columns = paramsLt.getColumns();
for (int i = 0; i < columns.length; i++) {
@@ -1185,25 +1154,25 @@ void updateParameters() {
}
void updateGenerate(TableItem item) {
- MetaData metaData = app.getMetaData();
- ItemData itemData = (ItemData)item.getData();
+ JNIItem itemData = (JNIItem)item.getData();
itemData.setGenerate(item.getChecked());
- if (itemData instanceof ClassData) {
- ClassData data = (ClassData)itemData;
- metaData.setMetaData(data.getClazz(), data);
- } else if (itemData instanceof FieldData) {
- FieldData data = (FieldData)itemData;
- item.setText(FIELD_FLAGS_COLUMN, getFlagsString(data.getFlags()));
- metaData.setMetaData(data.getField(), data);
- } else if (itemData instanceof MethodData) {
- MethodData data = (MethodData)itemData;
- item.setText(METHOD_FLAGS_COLUMN, getFlagsString(data.getFlags()));
- metaData.setMetaData(data.getMethod(), data);
- } else if (itemData instanceof ParameterData) {
- ParameterData data = (ParameterData)itemData;
- item.setText(PARAM_FLAGS_COLUMN, getFlagsString(data.getFlags()));
- metaData.setMetaData(data.getMethod(), data.getParameter(), data);
- }
+// MetaData metaData = app.getMetaData();
+// if (itemData instanceof JNIClass) {
+// ClassData data = (ClassData)itemData;
+// metaData.setMetaData(data.getClazz(), data);
+// } else if (itemData instanceof FieldData) {
+// FieldData data = (FieldData)itemData;
+// item.setText(FIELD_FLAGS_COLUMN, getFlagsString(data.getFlags()));
+// metaData.setMetaData(data.getField(), data);
+// } else if (itemData instanceof MethodData) {
+// MethodData data = (MethodData)itemData;
+// item.setText(METHOD_FLAGS_COLUMN, getFlagsString(data.getFlags()));
+// metaData.setMetaData(data.getMethod(), data);
+// } else if (itemData instanceof ParameterData) {
+// ParameterData data = (ParameterData)itemData;
+// item.setText(PARAM_FLAGS_COLUMN, getFlagsString(data.getFlags()));
+// metaData.setMetaData(data.getMethod(), data.getParameter(), data);
+// }
}
boolean updateOutputDir() {
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIItem.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIItem.java
new file mode 100644
index 0000000000..7c9bac9a8d
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIItem.java
@@ -0,0 +1,23 @@
+package org.eclipse.swt.tools.internal;
+
+public interface JNIItem extends Flags {
+
+ public static final boolean GEN64 = true;
+
+public String[] getFlags();
+
+public boolean getFlag(String flag);
+
+public Object getParam(String key);
+
+public boolean getGenerate();
+
+public void setFlags(String[] flags);
+
+public void setFlag(String flag, boolean value);
+
+public void setGenerate(boolean value);
+
+public void setParam(String key, Object value);
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIMethod.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIMethod.java
new file mode 100644
index 0000000000..ab41c6c68f
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIMethod.java
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+public interface JNIMethod extends JNIItem {
+
+ public static final String[] FLAGS = {FLAG_NO_GEN, FLAG_ADDRESS, FLAG_CONST, FLAG_DYNAMIC, FLAG_JNI, FLAG_CAST, FLAG_CPP, FLAG_NEW, FLAG_DELETE, FLAG_GCNEW, FLAG_GCOBJECT, FLAG_SETTER, FLAG_GETTER, FLAG_ADDER};
+
+public String getName();
+
+public int getModifiers();
+
+public boolean isNativeUnique();
+
+public JNIParameter[] getParameters();
+
+public JNIType getReturnType();
+
+public JNIType getReturnType64();
+
+public JNIType[] getParameterTypes();
+
+public JNIType[] getParameterTypes64();
+
+public JNIClass getDeclaringClass();
+
+public String getAccessor();
+
+public String getExclude();
+
+public void setAccessor(String str);
+
+public void setExclude(String str);
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIParameter.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIParameter.java
new file mode 100644
index 0000000000..364a7027e7
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIParameter.java
@@ -0,0 +1,20 @@
+package org.eclipse.swt.tools.internal;
+
+public interface JNIParameter extends JNIItem {
+
+ public static final String[] FLAGS = {FLAG_NO_IN, FLAG_NO_OUT, FLAG_CRITICAL, FLAG_INIT, FLAG_STRUCT, FLAG_UNICODE, FLAG_SENTINEL, FLAG_GCOBJECT};
+
+public String getCast();
+
+public JNIMethod getMethod();
+
+public int getParameter();
+
+public JNIClass getTypeClass();
+
+public JNIType getType();
+
+public JNIType getType64();
+
+public void setCast(String str);
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIType.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIType.java
new file mode 100644
index 0000000000..aad29811ef
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIType.java
@@ -0,0 +1,27 @@
+package org.eclipse.swt.tools.internal;
+
+public interface JNIType {
+
+public boolean isPrimitive();
+
+public boolean isArray();
+
+public JNIType getComponentType();
+
+public boolean isType(String type);
+
+public String getName();
+
+public String getSimpleName();
+
+public String getTypeSignature(boolean define);
+
+public String getTypeSignature1(boolean define);
+
+public String getTypeSignature2(boolean define);
+
+public String getTypeSignature3(boolean define);
+
+public String getTypeSignature4(boolean define, boolean struct);
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/LockGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/LockGenerator.java
index 12c1162f80..11affd6276 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/LockGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/LockGenerator.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -19,8 +19,8 @@ public class LockGenerator extends CleanupClass {
public LockGenerator() {
}
-String getParams(Method method) {
- int n_args = method.getParameterTypes().length;
+String getParams(JNIMethod method) {
+ int n_args = method.getParameters().length;
if (n_args == 0) return "";
String name = method.getName();
String params = "";
@@ -39,9 +39,9 @@ String getParams(Method method) {
return params;
}
-String getReturn(Method method) {
- Class returnType = method.getReturnType();
- if (returnType != Integer.TYPE) return getTypeSignature3(returnType);
+String getReturn(JNIMethod method) {
+ JNIType returnType = method.getReturnType();
+ if (!returnType.isType("int")) return returnType.getTypeSignature3(false);
String modifierStr = Modifier.toString(method.getModifiers());
String name = method.getName();
Pattern p = Pattern.compile(modifierStr + ".*" + name + ".*(.*)");
@@ -50,28 +50,28 @@ String getReturn(Method method) {
String methodStr = classSource.substring(m.start(), m.end());
int index = methodStr.indexOf("/*long*/");
if (index != -1 && index < methodStr.indexOf(name)) {
- return getTypeSignature3(Integer.TYPE) + " /*long*/";
+ return new ReflectType(Integer.TYPE).getTypeSignature3(false) + " /*long*/";
}
}
- return getTypeSignature3(Integer.TYPE);
+ return new ReflectType(Integer.TYPE).getTypeSignature3(false);
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
super.generate(clazz);
- Method[] methods = clazz.getDeclaredMethods();
+ JNIMethod[] methods = clazz.getDeclaredMethods();
generate(methods);
}
-public void generate(Method[] methods) {
+public void generate(JNIMethod[] methods) {
sort(methods);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
generate(method);
}
}
-public void generate(Method method) {
+public void generate(JNIMethod method) {
int modifiers = method.getModifiers();
boolean lock = (modifiers & Modifier.SYNCHRONIZED) != 0;
String returnStr = getReturn(method);
@@ -101,7 +101,7 @@ public void generate(Method method) {
outputln("\tlock.lock();");
outputln("\ttry {");
output("\t\t");
- if (method.getReturnType() != Void.TYPE) {
+ if (!method.getReturnType().isType("void")) {
output("return ");
}
output("_");
@@ -133,7 +133,7 @@ public static void main(String[] args) {
String classSource = args[1];
Class clazz = Class.forName(clazzName);
gen.setClassSourcePath(classSource);
- gen.generate(clazz);
+ gen.generate(new ReflectClass(clazz));
} catch (Exception e) {
System.out.println("Problem");
e.printStackTrace(System.out);
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java
index d06e1fdc15..01d464b559 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java
@@ -12,8 +12,6 @@ package org.eclipse.swt.tools.internal;
import java.io.IOException;
import java.io.InputStream;
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
import java.util.Properties;
public class MetaData {
@@ -48,162 +46,10 @@ public MetaData(Properties data) {
this.data = data;
}
-public ClassData getMetaData(Class clazz) {
- String key = JNIGenerator.toC(clazz.getName());
- String value = getMetaData(key, "");
- return new ClassData(clazz, value);
-}
-
-public FieldData getMetaData(Field field) {
- String className = JNIGenerator.getClassName(field.getDeclaringClass());
- String key = className + "_" + field.getName();
- String value = getMetaData(key, "");
- return new FieldData(field, value);
-}
-
-boolean convertTo32Bit(Class[] paramTypes, boolean floatingPointTypes) {
- boolean changed = false;
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- if (paramType == Long.TYPE) {
- paramTypes[i] = Integer.TYPE;
- changed = true;
- }
- if (paramType == long[].class) {
- paramTypes[i] = int[].class;
- changed = true;
- }
- if (floatingPointTypes) {
- if (paramType == Double.TYPE) {
- paramTypes[i] = Float.TYPE;
- changed = true;
- }
- if (paramType == double[].class) {
- paramTypes[i] = float[].class;
- changed = true;
- }
- }
- }
- return changed;
-}
-
-public MethodData getMetaData(Method method) {
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- String key = className + "_" + JNIGenerator.getFunctionName(method);
- String value = getMetaData(key, null);
- if (value == null) {
- key = className + "_" + method.getName();
- value = getMetaData(key, null);
- }
- /*
- * Support for 64 bit port.
- */
- if (value == null) {
- Class[] paramTypes = method.getParameterTypes();
- if (convertTo32Bit(paramTypes, true)) {
- key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes);
- value = getMetaData(key, null);
- }
- if (value == null) {
- paramTypes = method.getParameterTypes();
- if (convertTo32Bit(paramTypes, false)) {
- key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes);
- value = getMetaData(key, null);
- }
- }
- }
- /*
- * Support for lock.
- */
- if (value == null && method.getName().startsWith("_")) {
- key = className + "_" + JNIGenerator.getFunctionName(method).substring(2);
- value = getMetaData(key, null);
- if (value == null) {
- key = className + "_" + method.getName().substring(1);
- value = getMetaData(key, null);
- }
- }
- if (value == null) value = "";
- return new MethodData(method, value);
-}
-
-public ParameterData getMetaData(Method method, int parameter) {
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- String key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + parameter;
- String value = getMetaData(key, null);
- if (value == null) {
- key = className + "_" + method.getName() + "_" + parameter;
- value = getMetaData(key, null);
- }
- /*
- * Support for 64 bit port.
- */
- if (value == null) {
- Class[] paramTypes = method.getParameterTypes();
- if (convertTo32Bit(paramTypes, true)) {
- key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes) + "_" + parameter;
- value = getMetaData(key, null);
- }
- if (value == null) {
- paramTypes = method.getParameterTypes();
- if (convertTo32Bit(paramTypes, false)) {
- key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes) + "_" + parameter;
- value = getMetaData(key, null);
- }
- }
- }
- /*
- * Support for lock.
- */
- if (value == null && method.getName().startsWith("_")) {
- key = className + "_" + JNIGenerator.getFunctionName(method).substring(2) + "_" + parameter;
- value = getMetaData(key, null);
- if (value == null) {
- key = className + "_" + method.getName().substring(1) + "_" + parameter;
- value = getMetaData(key, null);
- }
- }
- if (value == null) value = "";
- return new ParameterData(method, parameter, value);
-}
-
public String getMetaData(String key, String defaultValue) {
return data.getProperty(key, defaultValue);
}
-public void setMetaData(Class clazz, ClassData value) {
- String key = JNIGenerator.toC(clazz.getName());
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(Field field, FieldData value) {
- String className = JNIGenerator.getClassName(field.getDeclaringClass());
- String key = className + "_" + field.getName();
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(Method method, MethodData value) {
- String key;
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- if (JNIGenerator.isNativeUnique(method)) {
- key = className + "_" + method.getName ();
- } else {
- key = className + "_" + JNIGenerator.getFunctionName(method);
- }
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(Method method, int arg, ParameterData value) {
- String key;
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- if (JNIGenerator.isNativeUnique(method)) {
- key = className + "_" + method.getName () + "_" + arg;
- } else {
- key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + arg;
- }
- setMetaData(key, value.toString());
-}
-
public void setMetaData(String key, String value) {
data.setProperty(key, value);
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java
index c7077df8b3..d90c66344e 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
public class MetaDataGenerator extends JNIGenerator {
@@ -18,22 +18,21 @@ public void generateCopyright() {
generateMetaData("swt_properties_copyright");
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
output(toC(clazz.getName()));
output("=");
- ClassData data = getMetaData().getMetaData(clazz);
- if (data != null) output(data.toString());
+ output(((AbstractItem)clazz).flatten());
outputln();
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
generate(fields);
- Method[] methods = clazz.getDeclaredMethods();
+ JNIMethod[] methods = clazz.getDeclaredMethods();
generate(methods);
outputln();
}
-public void generate(Field[] fields) {
+public void generate(JNIField[] fields) {
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
int mods = field.getModifiers();
if ((mods & Modifier.PUBLIC) == 0) continue;
if ((mods & Modifier.FINAL) != 0) continue;
@@ -43,19 +42,18 @@ public void generate(Field[] fields) {
}
}
-public void generate(Field field) {
- output(getClassName(field.getDeclaringClass()));
+public void generate(JNIField field) {
+ output(field.getDeclaringClass().getSimpleName());
output("_");
output(field.getName());
output("=");
- FieldData data = getMetaData().getMetaData(field);
- if (data != null) output(data.toString());
+ output(((AbstractItem)field).flatten());
}
-public void generate(Method[] methods) {
+public void generate(JNIMethod[] methods) {
sort(methods);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
generate(method);
outputln();
@@ -63,11 +61,11 @@ public void generate(Method[] methods) {
}
}
-public void generate(Method method) {
+public void generate(JNIMethod method) {
StringBuffer buffer = new StringBuffer();
- buffer.append(getClassName(method.getDeclaringClass()));
+ buffer.append(method.getDeclaringClass().getSimpleName());
buffer.append("_");
- if (isNativeUnique(method)) {
+ if (method.isNativeUnique()) {
buffer.append(method.getName());
} else {
buffer.append(getFunctionName(method));
@@ -75,16 +73,14 @@ public void generate(Method method) {
String key = buffer.toString();
output(key);
output("=");
- MethodData methodData = getMetaData().getMetaData(method);
- if (methodData != null) output(methodData.toString());
+ output(((AbstractItem)method).flatten());
outputln();
- int length = method.getParameterTypes().length;
- for (int i = 0; i < length; i++) {
+ JNIParameter[] params = method.getParameters();
+ for (int i = 0; i < params.length; i++) {
output(key);
output("_");
output(i + "=");
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (paramData != null) output(paramData.toString());
+ output(((AbstractItem)params[i]).flatten());
outputln();
}
}
@@ -93,11 +89,15 @@ public String getExtension() {
return ".properties";
}
+protected boolean getGenerate(JNIItem item) {
+ return true;
+}
+
public String getOutputName() {
return getMainClass().getName();
}
-protected boolean getGenerate(Class clazz) {
+protected boolean getGenerate(JNIClass clazz) {
return true;
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java
deleted file mode 100644
index cc2a1e978b..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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.tools.internal;
-
-import java.lang.reflect.Method;
-
-public class MethodData extends ItemData {
-
- Method method;
-
-public MethodData(Method method, String str) {
- super(str);
- this.method = method;
-}
-
-public static String[] getAllFlags() {
- return new String[]{FLAG_NO_GEN, FLAG_ADDRESS, FLAG_CONST, FLAG_DYNAMIC, FLAG_JNI, FLAG_CAST, FLAG_CPP, FLAG_NEW, FLAG_DELETE, FLAG_GCNEW, FLAG_GCOBJECT, FLAG_SETTER, FLAG_GETTER, FLAG_ADDER};
-}
-
-public Method getMethod() {
- return method;
-}
-
-public String getAccessor() {
- return (String)getParam("accessor");
-}
-
-public String getExclude() {
- return (String)getParam("exclude");
-}
-
-public void setAccessor(String str) {
- setParam("accessor", str);
-}
-
-public void setExclude(String str) {
- setParam("exclude", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
index 2a2179e238..2211b37efa 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
import java.util.HashSet;
import java.util.Iterator;
@@ -38,13 +38,13 @@ public void generateIncludes() {
outputln();
}
-public void generate(Class clazz, String methodName) {
- Method[] methods = clazz.getDeclaredMethods();
+public void generate(JNIClass clazz, String methodName) {
+ JNIMethod[] methods = clazz.getDeclaredMethods();
int count = 0;
for (int i = 0; i < methods.length; i++) {
if (methods[i].getName().startsWith(methodName)) count++;
}
- Method[] result = new Method[count];
+ JNIMethod[] result = new JNIMethod[count];
count = 0;
for (int i = 0; i < methods.length; i++) {
if (methods[i].getName().startsWith(methodName)) result[count++] = methods[i];
@@ -52,11 +52,11 @@ public void generate(Class clazz, String methodName) {
generate(result);
}
-public void generate(Class clazz) {
- Method[] methods = clazz.getDeclaredMethods();
+public void generate(JNIClass clazz) {
+ JNIMethod[] methods = clazz.getDeclaredMethods();
int i = 0;
for (; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) != 0) break;
}
if (i == methods.length) return;
@@ -66,37 +66,52 @@ public void generate(Class clazz) {
generate(methods);
}
-public void generate(Method[] methods) {
+public void generate(JNIMethod[] methods) {
sort(methods);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
generate(method);
if (progress != null) progress.step();
}
}
-public void generate(Method method) {
- MethodData methodData = getMetaData().getMetaData(method);
- if (methodData.getFlag(FLAG_NO_GEN)) return;
- Class returnType = method.getReturnType();
- Class[] paramTypes = method.getParameterTypes();
- String function = getFunctionName(method);
-
- if (!(returnType == Void.TYPE || returnType.isPrimitive() || isSystemClass(returnType) || returnType == String.class)) {
+public void generate(JNIMethod method) {
+ if (method.getFlag(FLAG_NO_GEN)) return;
+ JNIType returnType = method.getReturnType(), returnType64 = method.getReturnType64();
+ if (!(returnType.isType("void") || returnType.isPrimitive() || isSystemClass(returnType) || returnType.isType("java.lang.String"))) {
output("Warning: bad return type. :");
outputln(method.toString());
return;
}
-
- generateSourceStart(function);
+ JNIParameter[] params = method.getParameters();
+ String function = getFunctionName(method), function64 = getFunctionName(method, method.getParameterTypes64());
+ generateSourceStart(function, function64);
+ boolean sameFunction = function.equals(function64);
+ if (!sameFunction) {
+ output("#ifndef ");
+ output(JNI64);
+ outputln();
+ }
if (isCPP) {
output("extern \"C\" ");
- generateFunctionPrototype(method, function, paramTypes, returnType, true);
+ generateFunctionPrototype(method, function, params, returnType, returnType64, true);
outputln(";");
}
- generateFunctionPrototype(method, function, paramTypes, returnType, false);
- generateFunctionBody(method, methodData, function, paramTypes, returnType);
+ generateFunctionPrototype(method, function, params, returnType, returnType64, !sameFunction);
+ if (!function.equals(function64)) {
+ outputln();
+ outputln("#else");
+ if (isCPP) {
+ output("extern \"C\" ");
+ generateFunctionPrototype(method, function64, params, returnType, returnType64, true);
+ outputln(";");
+ }
+ generateFunctionPrototype(method, function64, params, returnType, returnType64, !sameFunction);
+ outputln();
+ outputln("#endif");
+ }
+ generateFunctionBody(method, function, function64, params, returnType, returnType64);
generateSourceEnd(function);
outputln();
}
@@ -105,13 +120,12 @@ public void setEnterExitMacro(boolean enterExitMacro) {
this.enterExitMacro = enterExitMacro;
}
-void generateExcludes(Method[] methods) {
+void generateExcludes(JNIMethod[] methods) {
HashSet excludes = new HashSet();
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- MethodData methodData = getMetaData().getMetaData(method);
- String exclude = methodData.getExclude();
+ String exclude = method.getExclude();
if (exclude.length() != 0) {
excludes.add(exclude);
}
@@ -120,10 +134,9 @@ void generateExcludes(Method[] methods) {
String exclude = (String)iter.next();
outputln(exclude);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- MethodData methodData = getMetaData().getMetaData(method);
- String methodExclude = methodData.getExclude();
+ String methodExclude = method.getExclude();
if (exclude.equals(methodExclude)) {
output("#define NO_");
outputln(getFunctionName(method));
@@ -134,18 +147,19 @@ void generateExcludes(Method[] methods) {
}
}
-void generateNativeMacro(Class clazz) {
+void generateNativeMacro(JNIClass clazz) {
output("#define ");
- output(getClassName(clazz));
+ output(clazz.getSimpleName());
output("_NATIVE(func) Java_");
output(toC(clazz.getName()));
outputln("_##func");
outputln();
}
-boolean generateGetParameter(Method method, int i, Class paramType, ParameterData paramData, boolean critical, int indent) {
+boolean generateGetParameter(JNIMethod method, JNIParameter param, boolean critical, int indent) {
+ JNIType paramType = param.getType(), paramType64 = param.getType64();
if (paramType.isPrimitive() || isSystemClass(paramType)) return false;
- String iStr = String.valueOf(i);
+ String iStr = String.valueOf(param.getParameter());
for (int j = 0; j < indent; j++) output("\t");
output("if (arg");
output(iStr);
@@ -153,12 +167,12 @@ boolean generateGetParameter(Method method, int i, Class paramType, ParameterDat
output(iStr);
output(" = ");
if (paramType.isArray()) {
- Class componentType = paramType.getComponentType();
+ JNIType componentType = paramType.getComponentType();
if (componentType.isPrimitive()) {
if (critical) {
if (isCPP) {
output("(");
- output(getTypeSignature2(componentType));
+ output(componentType.getTypeSignature2(!paramType.equals(paramType64)));
output("*)");
output("env->GetPrimitiveArrayCritical(arg");
} else {
@@ -172,7 +186,7 @@ boolean generateGetParameter(Method method, int i, Class paramType, ParameterDat
} else {
output("(*env)->Get");
}
- output(getTypeSignature1(componentType));
+ output(componentType.getTypeSignature1(!paramType.equals(paramType64)));
if (isCPP) {
output("ArrayElements(arg");
} else {
@@ -184,8 +198,8 @@ boolean generateGetParameter(Method method, int i, Class paramType, ParameterDat
} else {
throw new Error("not done");
}
- } else if (paramType == String.class) {
- if (paramData.getFlag(FLAG_UNICODE)) {
+ } else if (paramType.isType("java.lang.String")) {
+ if (param.getFlag(FLAG_UNICODE)) {
if (isCPP) {
output("env->GetStringChars(arg");
} else {
@@ -203,12 +217,12 @@ boolean generateGetParameter(Method method, int i, Class paramType, ParameterDat
output(", NULL)");
}
} else {
- if (paramData.getFlag(FLAG_NO_IN)) {
+ if (param.getFlag(FLAG_NO_IN)) {
output("&_arg");
output(iStr);
} else {
output("get");
- output(getClassName(paramType));
+ output(paramType.getSimpleName());
output("Fields(env, arg");
output(iStr);
output(", &_arg");
@@ -220,16 +234,17 @@ boolean generateGetParameter(Method method, int i, Class paramType, ParameterDat
return true;
}
-void generateSetParameter(int i, Class paramType, ParameterData paramData, boolean critical) {
+void generateSetParameter(JNIParameter param, boolean critical) {
+ JNIType paramType = param.getType(), paramType64 = param.getType64();
if (paramType.isPrimitive() || isSystemClass(paramType)) return;
- String iStr = String.valueOf(i);
+ String iStr = String.valueOf(param.getParameter());
if (paramType.isArray()) {
output("\tif (arg");
output(iStr);
output(" && lparg");
output(iStr);
output(") ");
- Class componentType = paramType.getComponentType();
+ JNIType componentType = paramType.getComponentType();
if (componentType.isPrimitive()) {
if (critical) {
if (isCPP) {
@@ -244,7 +259,7 @@ void generateSetParameter(int i, Class paramType, ParameterData paramData, boole
} else {
output("(*env)->Release");
}
- output(getTypeSignature1(componentType));
+ output(componentType.getTypeSignature1(!paramType.equals(paramType64)));
if (isCPP) {
output("ArrayElements(arg");
} else {
@@ -255,7 +270,7 @@ void generateSetParameter(int i, Class paramType, ParameterData paramData, boole
output(", lparg");
output(iStr);
output(", ");
- if (paramData.getFlag(FLAG_NO_OUT)) {
+ if (param.getFlag(FLAG_NO_OUT)) {
output("JNI_ABORT");
} else {
output("0");
@@ -265,13 +280,13 @@ void generateSetParameter(int i, Class paramType, ParameterData paramData, boole
throw new Error("not done");
}
outputln();
- } else if (paramType == String.class) {
+ } else if (paramType.isType("java.lang.String")) {
output("\tif (arg");
output(iStr);
output(" && lparg");
output(iStr);
output(") ");
- if (paramData.getFlag(FLAG_UNICODE)) {
+ if (param.getFlag(FLAG_UNICODE)) {
if (isCPP) {
output("env->ReleaseStringChars(arg");
} else {
@@ -289,14 +304,14 @@ void generateSetParameter(int i, Class paramType, ParameterData paramData, boole
output(iStr);
outputln(");");
} else {
- if (!paramData.getFlag(FLAG_NO_OUT)) {
+ if (!param.getFlag(FLAG_NO_OUT)) {
output("\tif (arg");
output(iStr);
output(" && lparg");
output(iStr);
output(") ");
output("set");
- output(getClassName(paramType));
+ output(paramType.getSimpleName());
output("Fields(env, arg");
output(iStr);
output(", lparg");
@@ -306,55 +321,63 @@ void generateSetParameter(int i, Class paramType, ParameterData paramData, boole
}
}
-void generateExitMacro(Method method, String function) {
- if (!enterExitMacro) return;
- output("\t");
- output(getClassName(method.getDeclaringClass()));
- output("_NATIVE_EXIT(env, that, ");
- output(function);
- outputln("_FUNC);");
-}
-
-void generateEnterMacro(Method method, String function) {
+void generateEnterExitMacro(JNIMethod method, String function, String function64, boolean enter) {
if (!enterExitMacro) return;
+ if (!function.equals(function64)) {
+ output("#ifndef ");
+ output(JNI64);
+ outputln();
+ }
output("\t");
- output(getClassName(method.getDeclaringClass()));
- output("_NATIVE_ENTER(env, that, ");
+ output(method.getDeclaringClass().getSimpleName());
+ output("_NATIVE_");
+ output(enter ? "ENTER" : "EXIT");
+ output("(env, that, ");
output(function);
outputln("_FUNC);");
+ if (!function.equals(function64)) {
+ outputln("#else");
+ output("\t");
+ output(method.getDeclaringClass().getSimpleName());
+ output("_NATIVE_");
+ output(enter ? "ENTER" : "EXIT");
+ output("(env, that, ");
+ output(function64);
+ outputln("_FUNC);");
+ outputln("#endif");
+ }
}
-boolean generateLocalVars(Method method, Class[] paramTypes, Class returnType) {
+boolean generateLocalVars(JNIMethod method, JNIParameter[] params, JNIType returnType, JNIType returnType64) {
boolean needsReturn = enterExitMacro;
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
+ for (int i = 0; i < params.length; i++) {
+ JNIParameter param = params[i];
+ JNIType paramType = param.getType(), paramType64 = param.getType64();
if (paramType.isPrimitive() || isSystemClass(paramType)) continue;
- ParameterData paramData = getMetaData().getMetaData(method, i);
output("\t");
if (paramType.isArray()) {
- Class componentType = paramType.getComponentType();
+ JNIType componentType = paramType.getComponentType();
if (componentType.isPrimitive()) {
- output(getTypeSignature2(componentType));
+ output(componentType.getTypeSignature2(!paramType.equals(paramType64)));
output(" *lparg" + i);
output("=NULL;");
} else {
throw new Error("not done");
}
- } else if (paramType == String.class) {
- if (paramData.getFlag(FLAG_UNICODE)) {
+ } else if (paramType.isType("java.lang.String")) {
+ if (param.getFlag(FLAG_UNICODE)) {
output("const jchar *lparg" + i);
} else {
output("const char *lparg" + i);
}
output("= NULL;");
} else {
- ClassData classData = metaData.getMetaData(paramType);
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (param.getTypeClass().getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
- output(getClassName(paramType));
+ output(paramType.getSimpleName());
output(" _arg" + i);
- if (paramData.getFlag(FLAG_INIT)) output("={0}");
+ if (param.getFlag(FLAG_INIT)) output("={0}");
output(", *lparg" + i);
output("=NULL;");
}
@@ -362,23 +385,22 @@ boolean generateLocalVars(Method method, Class[] paramTypes, Class returnType) {
needsReturn = true;
}
if (needsReturn) {
- if (returnType != Void.TYPE) {
+ if (!returnType.isType("void")) {
output("\t");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
outputln(" rc = 0;");
}
}
return needsReturn;
}
-boolean generateGetters(Method method, Class[] paramTypes) {
+boolean generateGetters(JNIMethod method, JNIParameter[] params) {
boolean genFailTag = false;
int criticalCount = 0;
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (!isCritical(paramType, paramData)) {
- genFailTag |= generateGetParameter(method, i, paramType, paramData, false, 1);
+ for (int i = 0; i < params.length; i++) {
+ JNIParameter param = params[i];
+ if (!isCritical(param)) {
+ genFailTag |= generateGetParameter(method, param, false, 1);
} else {
criticalCount++;
}
@@ -386,21 +408,19 @@ boolean generateGetters(Method method, Class[] paramTypes) {
if (criticalCount != 0) {
outputln("#ifdef JNI_VERSION_1_2");
outputln("\tif (IS_JNI_1_2) {");
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (isCritical(paramType, paramData)) {
- genFailTag |= generateGetParameter(method, i, paramType, paramData, true, 2);
+ for (int i = 0; i < params.length; i++) {
+ JNIParameter param = params[i];
+ if (isCritical(param)) {
+ genFailTag |= generateGetParameter(method, param, true, 2);
}
}
outputln("\t} else");
outputln("#endif");
outputln("\t{");
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (isCritical(paramType, paramData)) {
- genFailTag |= generateGetParameter(method, i, paramType, paramData, false, 2);
+ for (int i = 0; i < params.length; i++) {
+ JNIParameter param = params[i];
+ if (isCritical(param)) {
+ genFailTag |= generateGetParameter(method, param, false, 2);
}
}
outputln("\t}");
@@ -408,215 +428,128 @@ boolean generateGetters(Method method, Class[] paramTypes) {
return genFailTag;
}
-void generateSetters(Method method, Class[] paramTypes) {
+void generateSetters(JNIMethod method, JNIParameter[] params) {
int criticalCount = 0;
- for (int i = paramTypes.length - 1; i >= 0; i--) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (isCritical(paramType, paramData)) {
+ for (int i = params.length - 1; i >= 0; i--) {
+ JNIParameter param = params[i];
+ if (isCritical(param)) {
criticalCount++;
}
}
if (criticalCount != 0) {
outputln("#ifdef JNI_VERSION_1_2");
outputln("\tif (IS_JNI_1_2) {");
- for (int i = paramTypes.length - 1; i >= 0; i--) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (isCritical(paramType, paramData)) {
+ for (int i = params.length - 1; i >= 0; i--) {
+ JNIParameter param = params[i];
+ if (isCritical(param)) {
output("\t");
- generateSetParameter(i, paramType, paramData, true);
+ generateSetParameter(param, true);
}
}
outputln("\t} else");
outputln("#endif");
outputln("\t{");
- for (int i = paramTypes.length - 1; i >= 0; i--) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (isCritical(paramType, paramData)) {
+ for (int i = params.length - 1; i >= 0; i--) {
+ JNIParameter param = params[i];
+ if (isCritical(param)) {
output("\t");
- generateSetParameter(i, paramType, paramData, false);
+ generateSetParameter(param, false);
}
}
outputln("\t}");
}
- for (int i = paramTypes.length - 1; i >= 0; i--) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (!isCritical(paramType, paramData)) {
- generateSetParameter(i, paramType, paramData, false);
+ for (int i = params.length - 1; i >= 0; i--) {
+ JNIParameter param = params[i];
+ if (!isCritical(param)) {
+ generateSetParameter(param, false);
}
}
}
-void generateDynamicFunctionCall(Method method, MethodData methodData, Class[] paramTypes, Class returnType, boolean needsReturn) {
+void generateDynamicFunctionCall(JNIMethod method, JNIParameter[] params, JNIType returnType, JNIType returnType64, boolean needsReturn) {
outputln("/*");
- generateFunctionCall(method, methodData, paramTypes, returnType, needsReturn);
+ generateFunctionCall(method, params, returnType, returnType64, needsReturn);
outputln("*/");
outputln("\t{");
String name = method.getName();
if (name.startsWith("_")) name = name.substring(1);
- if (getPlatform().equals("win32")) {
- outputln("\t\tstatic int initialized = 0;");
- outputln("\t\tstatic HMODULE hm = NULL;");
- outputln("\t\tstatic FARPROC fp = NULL;");
- if (returnType != Void.TYPE) {
- if (needsReturn) {
- outputln("\t\trc = 0;");
- }
- }
- outputln("\t\tif (!initialized) {");
- output("\t\t\tif (!hm) hm = LoadLibrary(");
- output(name);
- outputln("_LIB);");
- output("\t\t\tif (hm) fp = GetProcAddress(hm, \"");
- output(name);
- outputln("\");");
- outputln("\t\t\tinitialized = 1;");
- outputln("\t\t}");
- outputln("\t\tif (fp) {");
- output("\t\t");
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
- output("fp");
- generateFunctionCallRightSide(method, methodData, paramTypes, 0);
- output(";");
- outputln();
- outputln("\t\t}");
- } else if (getPlatform().equals("carbon") || getPlatform().equals("cocoa")) {
- outputln("\t\tstatic int initialized = 0;");
- outputln("\t\tstatic CFBundleRef bundle = NULL;");
- output("\t\ttypedef ");
- output(getTypeSignature2(returnType));
- output(" (*FPTR)(");
- for (int i = 0; i < paramTypes.length; i++) {
- if (i != 0) output(", ");
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- String cast = paramData.getCast();
- if (cast.length() > 2) {
- output(cast.substring(1, cast.length() - 1));
- } else {
- output(getTypeSignature4(paramType, paramData.getFlag(FLAG_STRUCT)));
- }
- }
- outputln(");");
- outputln("\t\tstatic FPTR fptr;");
- if (returnType != Void.TYPE) {
- if (needsReturn) {
- outputln("\t\trc = 0;");
- }
- }
- outputln("\t\tif (!initialized) {");
- output("\t\t\tif (!bundle) bundle = CFBundleGetBundleWithIdentifier(CFSTR(");
- output(name);
- outputln("_LIB));");
- output("\t\t\tif (bundle) fptr = (FPTR)CFBundleGetFunctionPointerForName(bundle, CFSTR(\"");
- output(name);
- outputln("\"));");
- outputln("\t\t\tinitialized = 1;");
- outputln("\t\t}");
- outputln("\t\tif (fptr) {");
- output("\t\t");
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
- output("(*fptr)");
- generateFunctionCallRightSide(method, methodData, paramTypes, 0);
- output(";");
- outputln();
- outputln("\t\t}");
- } else {
- outputln("\t\tstatic int initialized = 0;");
- outputln("\t\tstatic void *handle = NULL;");
- output("\t\ttypedef ");
- output(getTypeSignature2(returnType));
- output(" (*FPTR)(");
- for (int i = 0; i < paramTypes.length; i++) {
- if (i != 0) output(", ");
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- String cast = paramData.getCast();
- if (cast.length() > 2) {
- output(cast.substring(1, cast.length() - 1));
- } else {
- output(getTypeSignature4(paramType, paramData.getFlag(FLAG_STRUCT)));
- }
- }
- outputln(");");
- outputln("\t\tstatic FPTR fptr;");
- if (returnType != Void.TYPE) {
- if (needsReturn) {
- outputln("\t\trc = 0;");
- }
+ output("\t\tLOAD_FUNCTION(fp, ");
+ output(name);
+ outputln(")");
+ outputln("\t\tif (fp) {");
+ output("\t\t");
+ generateFunctionCallLeftSide(method, returnType, returnType64, needsReturn);
+ output("((");
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
+ output(" (CALLING_CONVENTION*)(");
+ for (int i = 0; i < params.length; i++) {
+ if (i != 0) output(", ");
+ JNIParameter param = params[i];
+ String cast = param.getCast();
+ if (cast.length() > 2) {
+ output(cast.substring(1, cast.length() - 1));
+ } else {
+ JNIType paramType = param.getType(), paramType64 = param.getType64();
+ output(paramType.getTypeSignature4(!paramType.equals(paramType64), param.getFlag(FLAG_STRUCT)));
}
- outputln("\t\tif (!initialized) {");
- output("\t\t\tif (!handle) handle = dlopen(");
- output(name);
- outputln("_LIB, RTLD_LAZY);");
- output("\t\t\tif (handle) fptr = (FPTR)dlsym(handle, \"");
- output(name);
- outputln("\");");
- outputln("\t\t\tinitialized = 1;");
- outputln("\t\t}");
- outputln("\t\tif (fptr) {");
- output("\t\t");
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
- output("(*fptr)");
- generateFunctionCallRightSide(method, methodData, paramTypes, 0);
- output(";");
- outputln();
- outputln("\t\t}");
}
-
+ output("))");
+ output("fp");
+ output(")");
+ generateFunctionCallRightSide(method, params, 0);
+ output(";");
+ outputln();
+ outputln("\t\t}");
outputln("\t}");
}
-void generateFunctionCallLeftSide(Method method, MethodData methodData, Class returnType, boolean needsReturn) {
+void generateFunctionCallLeftSide(JNIMethod method, JNIType returnType, JNIType returnType64, boolean needsReturn) {
output("\t");
- if (returnType != Void.TYPE) {
+ if (!returnType.isType("void")) {
if (needsReturn) {
output("rc = ");
} else {
output("return ");
}
output("(");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
output(")");
}
- if (methodData.getFlag(FLAG_ADDRESS)) {
+ if (method.getFlag(FLAG_ADDRESS)) {
output("&");
}
- if (methodData.getFlag(FLAG_JNI)) {
+ if (method.getFlag(FLAG_JNI)) {
output(isCPP ? "env->" : "(*env)->");
}
}
-void generateFunctionCallRightSide(Method method, MethodData methodData, Class[] paramTypes, int paramStart) {
- if (!methodData.getFlag(FLAG_CONST)) {
+void generateFunctionCallRightSide(JNIMethod method, JNIParameter[] params, int paramStart) {
+ if (!method.getFlag(FLAG_CONST)) {
output("(");
- if (methodData.getFlag(FLAG_JNI)) {
+ if (method.getFlag(FLAG_JNI)) {
if (!isCPP) output("env, ");
}
- for (int i = paramStart; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
+ for (int i = paramStart; i < params.length; i++) {
+ JNIParameter param = params[i];
if (i != paramStart) output(", ");
- if (paramData.getFlag(FLAG_STRUCT)) output("*");
- output(paramData.getCast());
- if (paramData.getFlag(FLAG_GCOBJECT)) output("TO_OBJECT(");
- if (i == paramTypes.length - 1 && paramData.getFlag(FLAG_SENTINEL)) {
+ if (param.getFlag(FLAG_STRUCT)) output("*");
+ output(param.getCast());
+ if (param.getFlag(FLAG_GCOBJECT)) output("TO_OBJECT(");
+ if (i == params.length - 1 && param.getFlag(FLAG_SENTINEL)) {
output("NULL");
} else {
+ JNIType paramType = param.getType();
if (!paramType.isPrimitive() && !isSystemClass(paramType)) output("lp");
output("arg" + i);
}
- if (paramData.getFlag(FLAG_GCOBJECT)) output(")");
+ if (param.getFlag(FLAG_GCOBJECT)) output(")");
}
output(")");
}
}
-void generateFunctionCall(Method method, MethodData methodData, Class[] paramTypes, Class returnType, boolean needsReturn) {
+void generateFunctionCall(JNIMethod method, JNIParameter[] params, JNIType returnType, JNIType returnType64, boolean needsReturn) {
String name = method.getName();
boolean objc_struct = false;
if (name.equals("objc_msgSend_stret")) {
@@ -624,63 +557,64 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
outputln("\tif (sizeof(_arg0) > STRUCT_SIZE_LIMIT) {");
output("\t");
}
- String copy = (String)methodData.getParam("copy");
- boolean makeCopy = copy.length() != 0 && isCPP && returnType != Void.TYPE;
+ String copy = (String)method.getParam("copy");
+ boolean makeCopy = copy.length() != 0 && isCPP && !returnType.isType("void");
if (makeCopy) {
output("\t");
output(copy);
output(" temp = ");
} else {
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
+ generateFunctionCallLeftSide(method, returnType, returnType64, needsReturn);
}
int paramStart = 0;
if (name.startsWith("_")) name = name.substring(1);
if (name.equalsIgnoreCase("call")) {
output("(");
- ParameterData paramData = getMetaData().getMetaData(method, 0);
- String cast = paramData.getCast();
+ String cast = params[0].getCast();
if (cast.length() != 0 && !cast.equals("()")) {
output(cast);
} else {
output("(");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
output(" (*)())");
}
output("arg0)");
paramStart = 1;
} else if (name.startsWith("VtblCall")) {
output("((");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
output(" (STDMETHODCALLTYPE *)(");
- for (int i = 1; i < paramTypes.length; i++) {
+ for (int i = 1; i < params.length; i++) {
if (i != 1) output(", ");
- Class paramType = paramTypes[i];
- output(getTypeSignature4(paramType));
+ JNIParameter param = params[i];
+ JNIType paramType = param.getType(), paramType64 = param.getType64();
+ output(paramType.getTypeSignature4(!paramType.equals(paramType64), false));
}
output("))(*(");
- output(getTypeSignature4(paramTypes[1]));
+ JNIType paramType = params[1].getType(), paramType64 = params[1].getType64();
+ output(paramType.getTypeSignature4(!paramType.equals(paramType64), false));
output(" **)arg1)[arg0])");
paramStart = 1;
- } else if (methodData.getFlag(FLAG_CPP) || methodData.getFlag(FLAG_SETTER) || methodData.getFlag(FLAG_GETTER) || methodData.getFlag(FLAG_ADDER)) {
- if (methodData.getFlag(FLAG_GCOBJECT)) {
+ } else if (method.getFlag(FLAG_CPP) || method.getFlag(FLAG_SETTER) || method.getFlag(FLAG_GETTER) || method.getFlag(FLAG_ADDER)) {
+ if (method.getFlag(FLAG_GCOBJECT)) {
output("TO_HANDLE(");
}
output("(");
- ParameterData paramData = getMetaData().getMetaData(method, 0);
- if (paramData.getFlag(FLAG_STRUCT)) output("*");
- String cast = paramData.getCast();
+ JNIParameter param = params[0];
+ if (param.getFlag(FLAG_STRUCT)) output("*");
+ String cast = param.getCast();
if (cast.length() != 0 && !cast.equals("()")) {
output(cast);
}
- if (paramData.getFlag(FLAG_GCOBJECT)) {
+ if (param.getFlag(FLAG_GCOBJECT)) {
output("TO_OBJECT(");
}
output("arg0");
- if (paramData.getFlag(FLAG_GCOBJECT)) {
+ if (param.getFlag(FLAG_GCOBJECT)) {
output(")");
}
output(")->");
- String accessor = methodData.getAccessor();
+ String accessor = method.getAccessor();
if (accessor.length() != 0) {
output(accessor);
} else {
@@ -692,9 +626,9 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
}
}
paramStart = 1;
- } else if (methodData.getFlag(FLAG_GCNEW)) {
+ } else if (method.getFlag(FLAG_GCNEW)) {
output("TO_HANDLE(gcnew ");
- String accessor = methodData.getAccessor();
+ String accessor = method.getAccessor();
if (accessor.length() != 0) {
output(accessor);
} else {
@@ -705,9 +639,9 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
output(name);
}
}
- } else if (methodData.getFlag(FLAG_NEW)) {
+ } else if (method.getFlag(FLAG_NEW)) {
output("new ");
- String accessor = methodData.getAccessor();
+ String accessor = method.getAccessor();
if (accessor.length() != 0) {
output(accessor);
} else {
@@ -718,10 +652,10 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
output(name);
}
}
- } else if (methodData.getFlag(FLAG_DELETE)) {
+ } else if (method.getFlag(FLAG_DELETE)) {
output("delete ");
- ParameterData paramData = getMetaData().getMetaData(method, 0);
- String cast = paramData.getCast();
+ JNIParameter param = params[0];
+ String cast = param.getCast();
if (cast.length() != 0 && !cast.equals("()")) {
output(cast);
} else {
@@ -732,48 +666,53 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
outputln("arg0;");
return;
} else {
- if (methodData.getFlag(FLAG_GCOBJECT)) {
+ if (method.getFlag(FLAG_GCOBJECT)) {
output("TO_HANDLE(");
}
- if (methodData.getFlag(Flags.FLAG_CAST)) {
+ if (method.getFlag(Flags.FLAG_CAST)) {
output("((");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
output(" (*)(");
- for (int i = 0; i < paramTypes.length; i++) {
+ for (int i = 0; i < params.length; i++) {
if (i != 0) output(", ");
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- String cast = paramData.getCast();
+ JNIParameter param = params[i];
+ String cast = param.getCast();
if (cast != null && cast.length() != 0) {
if (cast.startsWith("(")) cast = cast.substring(1);
if (cast.endsWith(")")) cast = cast.substring(0, cast.length() - 1);
output(cast);
} else {
- output(getTypeSignature4(paramType, paramData.getFlag(FLAG_STRUCT)));
+ JNIType paramType = param.getType(), paramType64 = param.getType64();
+ if (!(paramType.isPrimitive() || paramType.isArray())) {
+ if (param.getTypeClass().getFlag(FLAG_STRUCT)) {
+ output("struct ");
+ }
+ }
+ output(paramType.getTypeSignature4(!paramType.equals(paramType64), param.getFlag(FLAG_STRUCT)));
}
}
output("))");
}
- String accessor = methodData.getAccessor();
+ String accessor = method.getAccessor();
if (accessor.length() != 0) {
output(accessor);
} else {
output(name);
}
- if (methodData.getFlag(Flags.FLAG_CAST)) {
+ if (method.getFlag(Flags.FLAG_CAST)) {
output(")");
}
}
- if ((methodData.getFlag(FLAG_SETTER) && paramTypes.length == 3) || (methodData.getFlag(FLAG_GETTER) && paramTypes.length == 2)) {
+ if ((method.getFlag(FLAG_SETTER) && params.length == 3) || (method.getFlag(FLAG_GETTER) && params.length == 2)) {
output("[arg1]");
paramStart++;
}
- if (methodData.getFlag(FLAG_SETTER)) output(" = ");
- if (methodData.getFlag(FLAG_ADDER)) output(" += ");
- if (!methodData.getFlag(FLAG_GETTER)) {
- generateFunctionCallRightSide(method, methodData, paramTypes, paramStart);
+ if (method.getFlag(FLAG_SETTER)) output(" = ");
+ if (method.getFlag(FLAG_ADDER)) output(" += ");
+ if (!method.getFlag(FLAG_GETTER)) {
+ generateFunctionCallRightSide(method, params, paramStart);
}
- if (methodData.getFlag(FLAG_GCNEW) || methodData.getFlag(FLAG_GCOBJECT)) {
+ if (method.getFlag(FLAG_GCNEW) || method.getFlag(FLAG_GCOBJECT)) {
output(")");
}
output(";");
@@ -788,7 +727,7 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
outputln("\t\t*copy = temp;");
output("\t\trc = ");
output("(");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
output(")");
outputln("copy;");
outputln("\t}");
@@ -796,80 +735,81 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
if (objc_struct) {
outputln("\t} else {");
output("\t\t*lparg0 = (*(");
- output(getTypeSignature4(paramTypes[0], true));
+ JNIType paramType = params[0].getType(), paramType64 = params[0].getType64();
+ output(paramType.getTypeSignature4(!paramType.equals(paramType64), true));
output(" (*)(");
- for (int i = 1; i < paramTypes.length; i++) {
+ for (int i = 1; i < params.length; i++) {
if (i != 1) output(", ");
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- String cast = paramData.getCast();
+ JNIParameter param = params[i];
+ String cast = param.getCast();
if (cast != null && cast.length() != 0) {
if (cast.startsWith("(")) cast = cast.substring(1);
if (cast.endsWith(")")) cast = cast.substring(0, cast.length() - 1);
output(cast);
} else {
- output(getTypeSignature4(paramType, paramData.getFlag(FLAG_STRUCT)));
+ paramType = param.getType(); paramType64 = param.getType64();
+ output(paramType.getTypeSignature4(!paramType.equals(paramType64), param.getFlag(FLAG_STRUCT)));
}
}
output("))objc_msgSend)");
- generateFunctionCallRightSide(method, methodData, paramTypes, 1);
+ generateFunctionCallRightSide(method, params, 1);
outputln(";");
outputln("\t}");
}
}
-void generateReturn(Method method, Class returnType, boolean needsReturn) {
- if (needsReturn && returnType != Void.TYPE) {
+void generateReturn(JNIMethod method, JNIType returnType, boolean needsReturn) {
+ if (needsReturn && !returnType.isType("void")) {
outputln("\treturn rc;");
}
}
-void generateMemmove(Method method, String function, Class[] paramTypes) {
- generateEnterMacro(method, function);
+void generateMemmove(JNIMethod method, String function, String function64, JNIParameter[] params) {
+ generateEnterExitMacro(method, function, function64, true);
output("\t");
- boolean get = paramTypes[0].isPrimitive();
- String className = getClassName(paramTypes[get ? 1 : 0]);
+ boolean get = params[0].getType().isPrimitive();
+ String className = params[get ? 1 : 0].getType().getSimpleName();
output(get ? "if (arg1) get" : "if (arg0) set");
output(className);
output(get ? "Fields(env, arg1, (" : "Fields(env, arg0, (");
output(className);
output(get ? " *)arg0)" : " *)arg1)");
outputln(";");
- generateExitMacro(method, function);
+ generateEnterExitMacro(method, function, function64, false);
}
-void generateFunctionBody(Method method, MethodData methodData, String function, Class[] paramTypes, Class returnType) {
+void generateFunctionBody(JNIMethod method, String function, String function64, JNIParameter[] params, JNIType returnType, JNIType returnType64) {
outputln("{");
/* Custom GTK memmoves. */
String name = method.getName();
if (name.startsWith("_")) name = name.substring(1);
- boolean isMemove = (name.equals("memmove") || name.equals("MoveMemory")) && paramTypes.length == 2 && returnType == Void.TYPE;
+ boolean isMemove = (name.equals("memmove") || name.equals("MoveMemory")) && params.length == 2 && returnType.isType("void");
if (isMemove) {
- generateMemmove(method, function, paramTypes);
+ generateMemmove(method, function, function64, params);
} else {
- boolean needsReturn = generateLocalVars(method, paramTypes, returnType);
- generateEnterMacro(method, function);
- boolean genFailTag = generateGetters(method, paramTypes);
- if (methodData.getFlag(FLAG_DYNAMIC)) {
- generateDynamicFunctionCall(method, methodData, paramTypes, returnType, needsReturn);
+ boolean needsReturn = generateLocalVars(method, params, returnType, returnType64);
+ generateEnterExitMacro(method, function, function64, true);
+ boolean genFailTag = generateGetters(method, params);
+ if (method.getFlag(FLAG_DYNAMIC)) {
+ generateDynamicFunctionCall(method, params, returnType, returnType64, needsReturn);
} else {
- generateFunctionCall(method, methodData, paramTypes, returnType, needsReturn);
+ generateFunctionCall(method, params, returnType, returnType64, needsReturn);
}
if (genFailTag) outputln("fail:");
- generateSetters(method, paramTypes);
- generateExitMacro(method, function);
+ generateSetters(method, params);
+ generateEnterExitMacro(method, function, function64, false);
generateReturn(method, returnType, needsReturn);
}
outputln("}");
}
-void generateFunctionPrototype(Method method, String function, Class[] paramTypes, Class returnType, boolean singleLine) {
+void generateFunctionPrototype(JNIMethod method, String function, JNIParameter[] params, JNIType returnType, JNIType returnType64, boolean singleLine) {
output("JNIEXPORT ");
- output(getTypeSignature2(returnType));
+ output(returnType.getTypeSignature2(!returnType.equals(returnType64)));
output(" JNICALL ");
- output(getClassName(method.getDeclaringClass()));
+ output(method.getDeclaringClass().getSimpleName());
output("_NATIVE(");
output(function);
if (singleLine) {
@@ -885,51 +825,44 @@ void generateFunctionPrototype(Method method, String function, Class[] paramType
output("jobject");
}
output(" that");
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
+ for (int i = 0; i < params.length; i++) {
output(", ");
- output(getTypeSignature2(paramType));
+ JNIType paramType = params[i].getType(), paramType64 = params[i].getType64();
+ output(paramType.getTypeSignature2(!paramType.equals(paramType64)));
output(" arg" + i);
}
output(")");
if (!singleLine) outputln();
}
-void generateSourceStart(String function) {
- output("#ifndef NO_");
- outputln(function);
+void generateSourceStart(String function, String function64) {
+ if (function.equals(function64)) {
+ output("#ifndef NO_");
+ outputln(function);
+ } else {
+ output("#if (!defined(NO_");
+ output(function);
+ output(") && !defined(");
+ output(JNI64);
+ output(")) || (!defined(NO_");
+ output(function64);
+ output(") && defined(");
+ output(JNI64);
+ outputln("))");
+ }
}
void generateSourceEnd(String function) {
outputln("#endif");
}
-boolean isCritical(Class paramType, ParameterData paramData) {
- return paramType.isArray() && paramType.getComponentType().isPrimitive() && paramData.getFlag(FLAG_CRITICAL);
+boolean isCritical(JNIParameter param) {
+ JNIType paramType = param.getType();
+ return paramType.isArray() && paramType.getComponentType().isPrimitive() && param.getFlag(FLAG_CRITICAL);
}
-boolean isSystemClass(Class type) {
- return type == Object.class || type == Class.class;
-}
-
-public static void main(String[] args) {
-// args = new String[]{"org.eclipse.swt.internal.win32.OS"};
- if (args.length < 1) {
- System.out.println("Usage: java NativesGenerator <className1> <className2>");
- return;
- }
- try {
- NativesGenerator gen = new NativesGenerator();
- for (int i = 0; i < args.length; i++) {
- String clazzName = args[i];
- Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
-// gen.generate(clazz, "CommandBar_Destroy");
- }
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
+boolean isSystemClass(JNIType type) {
+ return type.isType("java.lang.Object") || type.isType("java.lang.Class") ;
}
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java
deleted file mode 100644
index f95ac2c528..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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.tools.internal;
-
-import java.lang.reflect.Method;
-
-public class ParameterData extends ItemData {
-
- Method method;
- int parameter;
-
-public ParameterData(Method method, int parameter, String str) {
- super(str);
- this.method = method;
- this.parameter = parameter;
-}
-
-public static String[] getAllFlags() {
- return new String[]{FLAG_NO_IN, FLAG_NO_OUT, FLAG_CRITICAL, FLAG_INIT, FLAG_STRUCT, FLAG_UNICODE, FLAG_SENTINEL, FLAG_GCOBJECT};
-}
-
-public String getCast() {
- String cast = ((String)getParam("cast")).trim();
- if (cast.length() > 0) {
- if (!cast.startsWith("(")) cast = "(" + cast;
- if (!cast.endsWith(")")) cast = cast + ")";
- }
- return cast;
-}
-
-public Method getMethod() {
- return method;
-}
-
-public int getParameter() {
- return parameter;
-}
-
-public void setCast(String str) {
- setParam("cast", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectClass.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectClass.java
new file mode 100644
index 0000000000..be9c6042a3
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectClass.java
@@ -0,0 +1,121 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import java.io.File;
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+
+import org.eclipse.jdt.core.dom.AST;
+import org.eclipse.jdt.core.dom.ASTParser;
+import org.eclipse.jdt.core.dom.CompilationUnit;
+
+public class ReflectClass extends ReflectItem implements JNIClass {
+ Class clazz;
+ ReflectField[] fields;
+ ReflectMethod[] methods;
+ MetaData metaData;
+ String sourcePath;
+
+public ReflectClass(Class clazz) {
+ this(clazz, null, null);
+}
+
+public ReflectClass(Class clazz, MetaData data, String sourcePath) {
+ this.clazz = clazz;
+ this.metaData = data;
+ this.sourcePath = sourcePath;
+}
+
+void checkMembers() {
+ if (fields != null) return;
+ String source = null;
+ CompilationUnit unit = null;
+ if (JNIItem.GEN64) {
+ source = JNIGenerator.loadFile(sourcePath);
+ ASTParser parser = ASTParser.newParser(AST.JLS3);
+ parser.setSource(source.toCharArray());
+ unit = (CompilationUnit)parser.createAST(null);
+ }
+ Field[] fields = clazz.getDeclaredFields();
+ this.fields = new ReflectField[fields.length];
+ for (int i = 0; i < fields.length; i++) {
+ this.fields[i] = new ReflectField(this, fields[i], source, unit);
+ }
+ Method[] methods = clazz.getDeclaredMethods();
+ this.methods = new ReflectMethod[methods.length];
+ for (int i = 0; i < methods.length; i++) {
+ this.methods[i] = new ReflectMethod(this, methods[i], source, unit);
+ }
+}
+
+public int hashCode() {
+ return clazz.hashCode();
+}
+
+public boolean equals(Object obj) {
+ if (!(obj instanceof ReflectClass)) return false;
+ return ((ReflectClass)obj).clazz.equals(clazz);
+}
+
+public JNIField[] getDeclaredFields() {
+ checkMembers();
+ JNIField[] result = new JNIField[fields.length];
+ System.arraycopy(fields, 0, result, 0, result.length);
+ return result;
+}
+
+public JNIMethod[] getDeclaredMethods() {
+ checkMembers();
+ JNIMethod[] result = new JNIMethod[methods.length];
+ System.arraycopy(methods, 0, result, 0, result.length);
+ return result;
+}
+
+public String getName() {
+ return clazz.getName();
+}
+
+public JNIClass getSuperclass() {
+ Class superclazz = clazz.getSuperclass();
+ String path = new File(sourcePath).getParent() + "/" + superclazz.getSimpleName() + ".java";
+ return new ReflectClass(superclazz, metaData, path);
+}
+
+public String getSimpleName() {
+ String name = clazz.getName();
+ int index = name.lastIndexOf('.') + 1;
+ return name.substring(index, name.length());
+}
+
+public String getExclude() {
+ return (String)getParam("exclude");
+}
+
+public String getMetaData() {
+ String key = JNIGenerator.toC(clazz.getName());
+ return metaData.getMetaData(key, "");
+}
+
+public void setExclude(String str) {
+ setParam("exclude", str);
+}
+
+public void setMetaData(String value) {
+ String key = JNIGenerator.toC(clazz.getName());
+ metaData.setMetaData(key, value);
+}
+
+public String toString() {
+ return clazz.toString();
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectField.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectField.java
new file mode 100644
index 0000000000..350662fd5e
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectField.java
@@ -0,0 +1,133 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import java.io.File;
+import java.lang.reflect.Field;
+import java.util.Iterator;
+
+import org.eclipse.jdt.core.dom.CompilationUnit;
+import org.eclipse.jdt.core.dom.FieldDeclaration;
+import org.eclipse.jdt.core.dom.TypeDeclaration;
+import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
+
+public class ReflectField extends ReflectItem implements JNIField {
+ Field field;
+ ReflectType type, type64;
+ ReflectClass declaringClass;
+
+public ReflectField(ReflectClass declaringClass, Field field, String source, CompilationUnit unit) {
+ this.declaringClass = declaringClass;
+ this.field = field;
+ Class clazz = field.getType();
+ type = new ReflectType(clazz);
+ type64 = type;
+ boolean changes = canChange64(clazz);
+ if (changes && new File(declaringClass.sourcePath).exists()) {
+ TypeDeclaration type1 = (TypeDeclaration)unit.types().get(0);
+ Class result = null;
+ FieldDeclaration[] fields = type1.getFields();
+ for (int i = 0; i < fields.length && result == null; i++) {
+ FieldDeclaration node = fields[i];
+ for (Iterator iterator = node.fragments().iterator(); iterator.hasNext();) {
+ VariableDeclarationFragment decl = (VariableDeclarationFragment) iterator.next();
+ if (decl.getName().getIdentifier().equals(field.getName())) {
+ String s = source.substring(node.getStartPosition(), node.getStartPosition() + node.getLength());
+ if (clazz == int.class && s.indexOf("int /*long*/") != -1) type64 = new ReflectType(long.class);
+ else if (clazz == float.class && s.indexOf("float /*double*/") != -1) type64 = new ReflectType(double.class);
+ else if (clazz == int[].class && (s.indexOf("int /*long*/") != -1 || s.indexOf("int[] /*long[]*/") != -1)) type64 = new ReflectType(long[].class);
+ else if (clazz == float[].class && (s.indexOf("float /*double*/") != -1|| s.indexOf("float[] /*double[]*/") != -1)) type = new ReflectType(double[].class);
+ else if (clazz == long.class && s.indexOf("long /*int*/") != -1) type = new ReflectType(int.class);
+ else if (clazz == double.class && s.indexOf("double /*float*/") != -1) type = new ReflectType(float.class);
+ else if (clazz == long[].class && (s.indexOf("long /*int*/") != -1|| s.indexOf("long[] /*int[]*/") != -1)) type = new ReflectType(int[].class);
+ else if (clazz == double[].class && (s.indexOf("double /*float*/") != -1|| s.indexOf("double[] /*float[]*/") != -1)) type = new ReflectType(float[].class);
+ break;
+ }
+ }
+ }
+ }
+}
+
+public int hashCode() {
+ return field.hashCode();
+}
+
+public boolean equals(Object obj) {
+ if (!(obj instanceof ReflectField)) return false;
+ return ((ReflectField)obj).field.equals(field);
+}
+
+public JNIClass getDeclaringClass() {
+ return declaringClass;
+}
+
+public int getModifiers() {
+ return field.getModifiers();
+}
+
+public String getName() {
+ return field.getName();
+}
+
+public JNIType getType() {
+ return type;
+}
+
+public JNIType getType64() {
+ return type64;
+}
+
+public String getAccessor() {
+ return (String)getParam("accessor");
+}
+
+public String getCast() {
+ String cast = ((String)getParam("cast")).trim();
+ if (cast.length() > 0) {
+ if (!cast.startsWith("(")) cast = "(" + cast;
+ if (!cast.endsWith(")")) cast = cast + ")";
+ }
+ return cast;
+}
+
+public String getExclude() {
+ return (String)getParam("exclude");
+}
+
+public String getMetaData() {
+ String className = getDeclaringClass().getSimpleName();
+ String key = className + "_" + field.getName();
+ return declaringClass.metaData.getMetaData(key, "");
+}
+
+public void setAccessor(String str) {
+ setParam("accessor", str);
+}
+
+public void setCast(String str) {
+ setParam("cast", str);
+}
+
+public void setExclude(String str) {
+ setParam("exclude", str);
+}
+
+public void setMetaData(String value) {
+ String className = declaringClass.getSimpleName();
+ String key = className + "_" + field.getName();
+ declaringClass.metaData.setMetaData(key, value);
+}
+
+public String toString() {
+ return field.toString();
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectItem.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectItem.java
new file mode 100644
index 0000000000..299de3a588
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectItem.java
@@ -0,0 +1,96 @@
+package org.eclipse.swt.tools.internal;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Set;
+
+public abstract class ReflectItem extends AbstractItem {
+
+static boolean convertTo32Bit(JNIType[] paramTypes, boolean floatingPointTypes) {
+ boolean changed = false;
+ for (int i = 0; i < paramTypes.length; i++) {
+ JNIType paramType = paramTypes[i];
+ if (paramType.isType("long")) {
+ paramTypes[i] = new ReflectType(Integer.TYPE);
+ changed = true;
+ }
+ if (paramType.isType("[J")) {
+ paramTypes[i] = new ReflectType(int[].class);
+ changed = true;
+ }
+ if (floatingPointTypes) {
+ if (paramType.isType("double")) {
+ paramTypes[i] = new ReflectType(Float.TYPE);
+ changed = true;
+ }
+ if (paramType.isType("[D")) {
+ paramTypes[i] = new ReflectType(float[].class);
+ changed = true;
+ }
+ }
+ }
+ return changed;
+}
+
+boolean canChange64(Class clazz) {
+ if (!GEN64) return false;
+ return clazz == Integer.TYPE ||
+ clazz == Long.TYPE ||
+ clazz == Float.TYPE ||
+ clazz == Double.TYPE ||
+ clazz == int[].class ||
+ clazz == long[].class ||
+ clazz == float[].class ||
+ clazz == double[].class;
+}
+
+public String flatten() {
+ checkParams();
+ StringBuffer buffer = new StringBuffer();
+ Set set = params.keySet();
+ String[] keys = (String[])set.toArray(new String[set.size()]);
+ Arrays.sort(keys);
+ for (int j = 0; j < keys.length; j++) {
+ String key = keys[j];
+ Object value = params.get(key);
+ String valueStr = "";
+ if (value instanceof String) {
+ valueStr = (String)value;
+ } else if (value instanceof String[]) {
+ String[] values = (String[])value;
+ StringBuffer valueBuffer = new StringBuffer();
+ for (int i = 0; i < values.length; i++) {
+ if (i != 0) valueBuffer.append(" ");
+ valueBuffer.append(values[i]);
+ }
+ valueStr = valueBuffer.toString();
+ } else {
+ valueStr = value.toString();
+ }
+ if (valueStr.length() > 0) {
+ if (buffer.length() != 0) buffer.append(",");
+ buffer.append(key);
+ buffer.append("=");
+ buffer.append(valueStr);
+ }
+ }
+ return buffer.toString();
+}
+
+public void parse(String str) {
+ this.params = new HashMap();
+ if (str.length() == 0) return;
+ String[] params = split(str, ",");
+ for (int i = 0; i < params.length; i++) {
+ String param = params[i];
+ int equals = param.indexOf('=');
+ if (equals == -1) {
+ System.out.println("Error: " + str + " param " + param);
+ }
+ String key = param.substring(0, equals).trim();
+ String value = param.substring(equals + 1).trim();
+ setParam(key, value);
+ }
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectMethod.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectMethod.java
new file mode 100644
index 0000000000..b8d18bcba0
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectMethod.java
@@ -0,0 +1,240 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 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.tools.internal;
+
+import java.io.File;
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.eclipse.jdt.core.dom.ASTNode;
+import org.eclipse.jdt.core.dom.CompilationUnit;
+import org.eclipse.jdt.core.dom.MethodDeclaration;
+import org.eclipse.jdt.core.dom.Modifier;
+import org.eclipse.jdt.core.dom.SingleVariableDeclaration;
+import org.eclipse.jdt.core.dom.TypeDeclaration;
+
+public class ReflectMethod extends ReflectItem implements JNIMethod {
+ Method method;
+ ReflectType returnType, returnType64;
+ ReflectType[] paramTypes, paramTypes64;
+ ReflectClass declaringClass;
+ Boolean unique;
+
+public ReflectMethod(ReflectClass declaringClass, Method method, String source, CompilationUnit unit) {
+ this.method = method;
+ this.declaringClass = declaringClass;
+ Class returnType = method.getReturnType();
+ Class[] paramTypes = method.getParameterTypes();
+ this.returnType = new ReflectType(returnType);
+ this.returnType64 = this.returnType;
+ this.paramTypes = new ReflectType[paramTypes.length];
+ this.paramTypes64 = new ReflectType[paramTypes.length];
+ for (int i = 0; i < this.paramTypes.length; i++) {
+ this.paramTypes[i] = this.paramTypes64[i] = new ReflectType(paramTypes[i]);
+ }
+ boolean changes = false;
+ if ((method.getModifiers() & Modifier.NATIVE) != 0) {
+ changes = canChange64(returnType);
+ if (!changes) {
+ for (int i = 0; i < paramTypes.length && !changes; i++) {
+ changes |= canChange64(paramTypes[i]);
+ }
+ }
+ }
+ if (changes && new File(declaringClass.sourcePath).exists()) {
+ String name = method.getName();
+ TypeDeclaration type = (TypeDeclaration)unit.types().get(0);
+ MethodDeclaration decl = null;
+ MethodDeclaration[] methods = type.getMethods();
+ for (int i = 0; i < methods.length && decl == null; i++) {
+ MethodDeclaration node = methods[i];
+ if (node.getName().getIdentifier().equals(name)) {
+ if (!returnType.getSimpleName().equals(node.getReturnType2().toString())) continue;
+ List parameters = node.parameters();
+ if (parameters.size() != paramTypes.length) continue;
+ decl = node;
+ for (int j = 0; j < paramTypes.length; j++) {
+ if (!paramTypes[j].getSimpleName().equals(((SingleVariableDeclaration)parameters.get(j)).getType().toString())) {
+ decl = null;
+ break;
+ }
+ }
+ }
+ }
+ for (int i = 0; i < paramTypes.length; i++) {
+ if (canChange64(paramTypes[i])) {
+ Class clazz = paramTypes[i];
+ SingleVariableDeclaration node = (SingleVariableDeclaration)decl.parameters().get(i);
+ String s = source.substring(node.getStartPosition(), node.getStartPosition() + node.getLength());
+ if (clazz == int.class && s.indexOf("int /*long*/") != -1) this.paramTypes64[i] = new ReflectType(long.class);
+ else if (clazz == int[].class && (s.indexOf("int /*long*/") != -1 || s.indexOf("int[] /*long[]*/") != -1)) this.paramTypes64[i] = new ReflectType(long[].class);
+ else if (clazz == float.class && s.indexOf("float /*double*/") != -1) this.paramTypes64[i] = new ReflectType(double.class);
+ else if (clazz == float[].class && (s.indexOf("float /*double*/") != -1|| s.indexOf("float[] /*double[]*/") != -1)) this.paramTypes64[i] = new ReflectType(double[].class);
+ else if (clazz == long.class && s.indexOf("long /*int*/") != -1) this.paramTypes[i] = new ReflectType(int.class);
+ else if (clazz == long[].class && (s.indexOf("long /*int*/") != -1|| s.indexOf("long[] /*int[]*/") != -1)) this.paramTypes[i] = new ReflectType(int[].class);
+ else if (clazz == double.class && s.indexOf("double /*float*/") != -1) this.paramTypes[i] = new ReflectType(float.class);
+ else if (clazz == double[].class && (s.indexOf("double /*float*/") != -1|| s.indexOf("double[] /*float[]*/") != -1)) this.paramTypes[i] = new ReflectType(float[].class);
+ }
+ }
+ if (canChange64(returnType)) {
+ Class clazz = returnType;
+ ASTNode node = decl.getReturnType2();
+ String s = source.substring(node.getStartPosition(), decl.getName().getStartPosition());
+ if (clazz == int.class && s.indexOf("int /*long*/") != -1) this.returnType64 = new ReflectType(long.class);
+ else if (clazz == int[].class && (s.indexOf("int /*long*/") != -1 || s.indexOf("int[] /*long[]*/") != -1)) this.returnType64 = new ReflectType(long[].class);
+ else if (clazz == float.class && s.indexOf("float /*double*/") != -1) this.returnType64 = new ReflectType(double.class);
+ else if (clazz == float[].class && (s.indexOf("float /*double*/") != -1|| s.indexOf("float[] /*double[]*/") != -1)) this.returnType64 = new ReflectType(double[].class);
+ else if (clazz == long.class && s.indexOf("long /*int*/") != -1) this.returnType = new ReflectType(int.class);
+ else if (clazz == long[].class && (s.indexOf("long /*int*/") != -1|| s.indexOf("long[] /*int[]*/") != -1)) this.returnType = new ReflectType(int[].class);
+ else if (clazz == double.class && s.indexOf("double /*float*/") != -1) this.returnType = new ReflectType(float.class);
+ else if (clazz == double[].class && (s.indexOf("double /*float*/") != -1|| s.indexOf("double[] /*float[]*/") != -1)) this.returnType = new ReflectType(float[].class);
+ }
+ }
+}
+
+public int hashCode() {
+ return method.hashCode();
+}
+
+public boolean equals(Object obj) {
+ if (!(obj instanceof ReflectMethod)) return false;
+ return ((ReflectMethod)obj).method.equals(method);
+}
+
+public JNIClass getDeclaringClass() {
+ return declaringClass;
+}
+
+public int getModifiers() {
+ return method.getModifiers();
+}
+
+public String getName() {
+ return method.getName();
+}
+
+public boolean isNativeUnique() {
+ if (unique != null) return unique.booleanValue();
+ boolean result = true;
+ String name = getName();
+ JNIMethod[] methods = declaringClass.getDeclaredMethods();
+ for (int i = 0; i < methods.length; i++) {
+ JNIMethod mth = methods[i];
+ if ((mth.getModifiers() & Modifier.NATIVE) != 0 &&
+ this != mth && !this.equals(mth) &&
+ name.equals(mth.getName()))
+ {
+ result = false;
+ break;
+ }
+ }
+ unique = new Boolean(result);
+ return result;
+}
+
+public JNIType[] getParameterTypes() {
+ return paramTypes;
+}
+
+public JNIType[] getParameterTypes64() {
+ return paramTypes64;
+}
+
+public JNIParameter[] getParameters() {
+ Class[] paramTypes = method.getParameterTypes();
+ ReflectParameter[] result = new ReflectParameter[paramTypes.length];
+ for (int i = 0; i < paramTypes.length; i++) {
+ result[i] = new ReflectParameter(this, i);
+ }
+ return result;
+}
+
+public JNIType getReturnType() {
+ return returnType;
+}
+
+public JNIType getReturnType64() {
+ return returnType64;
+}
+
+public String getAccessor() {
+ return (String)getParam("accessor");
+}
+
+public String getExclude() {
+ return (String)getParam("exclude");
+}
+
+public String getMetaData() {
+ String className = getDeclaringClass().getSimpleName();
+ String key = className + "_" + JNIGenerator.getFunctionName(this);
+ MetaData metaData = declaringClass.metaData;
+ String value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + method.getName();
+ value = metaData.getMetaData(key, null);
+ }
+ /*
+ * Support for 64 bit port.
+ */
+ if (value == null) {
+ JNIType[] paramTypes = getParameterTypes();
+ if (convertTo32Bit(paramTypes, true)) {
+ key = className + "_" + JNIGenerator.getFunctionName(this, paramTypes);
+ value = metaData.getMetaData(key, null);
+ }
+ if (value == null) {
+ paramTypes = getParameterTypes();
+ if (convertTo32Bit(paramTypes, false)) {
+ key = className + "_" + JNIGenerator.getFunctionName(this, paramTypes);
+ value = metaData.getMetaData(key, null);
+ }
+ }
+ }
+ /*
+ * Support for lock.
+ */
+ if (value == null && method.getName().startsWith("_")) {
+ key = className + "_" + JNIGenerator.getFunctionName(this).substring(2);
+ value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + method.getName().substring(1);
+ value = metaData.getMetaData(key, null);
+ }
+ }
+ if (value == null) value = "";
+ return value;
+}
+
+public void setAccessor(String str) {
+ setParam("accessor", str);
+}
+
+public void setExclude(String str) {
+ setParam("exclude", str);
+}
+
+public void setMetaData(String value) {
+ String key;
+ String className = declaringClass.getSimpleName();
+ if (isNativeUnique()) {
+ key = className + "_" + method.getName ();
+ } else {
+ key = className + "_" + JNIGenerator.getFunctionName(this);
+ }
+ declaringClass.metaData.setMetaData(key, value);
+}
+
+public String toString() {
+ return method.toString();
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectParameter.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectParameter.java
new file mode 100644
index 0000000000..1ec4593e22
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectParameter.java
@@ -0,0 +1,102 @@
+package org.eclipse.swt.tools.internal;
+
+import java.io.File;
+
+public class ReflectParameter extends ReflectItem implements JNIParameter {
+ ReflectMethod method;
+ int parameter;
+
+public ReflectParameter(ReflectMethod method, int parameter) {
+ this.method = method;
+ this.parameter = parameter;
+}
+
+public String getCast() {
+ String cast = ((String)getParam("cast")).trim();
+ if (cast.length() > 0) {
+ if (!cast.startsWith("(")) cast = "(" + cast;
+ if (!cast.endsWith(")")) cast = cast + ")";
+ }
+ return cast;
+}
+
+public String getMetaData() {
+ String className = method.getDeclaringClass().getSimpleName();
+ String key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + parameter;
+ MetaData metaData = method.declaringClass.metaData;
+ String value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + method.getName() + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ }
+ /*
+ * Support for 64 bit port.
+ */
+ if (value == null) {
+ JNIType[] paramTypes = method.getParameterTypes();
+ if (ReflectItem.convertTo32Bit(paramTypes, true)) {
+ key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes) + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ }
+ if (value == null) {
+ paramTypes = method.getParameterTypes();
+ if (ReflectItem.convertTo32Bit(paramTypes, false)) {
+ key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes) + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ }
+ }
+ }
+ /*
+ * Support for lock.
+ */
+ if (value == null && method.getName().startsWith("_")) {
+ key = className + "_" + JNIGenerator.getFunctionName(method).substring(2) + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ if (value == null) {
+ key = className + "_" + method.getName().substring(1) + "_" + parameter;
+ value = metaData.getMetaData(key, null);
+ }
+ }
+ if (value == null) value = "";
+ return value;
+}
+
+public JNIMethod getMethod() {
+ return method;
+}
+
+public JNIClass getTypeClass() {
+ ReflectType type = (ReflectType)getType();
+ ReflectClass declaringClass = method.declaringClass;
+ String sourcePath = declaringClass.sourcePath;
+ sourcePath = new File(sourcePath).getParent() + "/" + type.getSimpleName() + ".java";
+ return new ReflectClass(type.clazz, declaringClass.metaData, sourcePath);
+}
+
+public JNIType getType() {
+ return method.getParameterTypes()[parameter];
+}
+
+public JNIType getType64() {
+ return method.getParameterTypes64()[parameter];
+}
+
+public int getParameter() {
+ return parameter;
+}
+
+public void setCast(String str) {
+ setParam("cast", str);
+}
+
+public void setMetaData(String value) {
+ String key;
+ String className = method.getDeclaringClass().getSimpleName();
+ if (method.isNativeUnique()) {
+ key = className + "_" + method.getName () + "_" + parameter;
+ } else {
+ key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + parameter;
+ }
+ method.declaringClass.metaData.setMetaData(key, value);
+}
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectType.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectType.java
new file mode 100644
index 0000000000..6c0a51df9d
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ReflectType.java
@@ -0,0 +1,132 @@
+package org.eclipse.swt.tools.internal;
+
+public class ReflectType implements JNIType {
+ Class clazz;
+
+public ReflectType(Class clazz) {
+ this.clazz = clazz;
+}
+
+public boolean equals(Object obj) {
+ if (obj == this) return true;
+ if (!(obj instanceof ReflectType)) return false;
+ return ((ReflectType)obj).clazz == clazz;
+}
+
+public JNIType getComponentType() {
+ return new ReflectType(clazz.getComponentType());
+}
+
+public String getName() {
+ return clazz.getName();
+}
+
+public String getSimpleName() {
+ String name = clazz.getName();
+ int index = name.lastIndexOf('.') + 1;
+ return name.substring(index, name.length());
+}
+
+public String getTypeSignature(boolean define) {
+ if (clazz == Void.TYPE) return "V";
+ if (clazz == Integer.TYPE) return define ? "I_J" : "I";
+ if (clazz == Boolean.TYPE) return "Z";
+ if (clazz == Long.TYPE) return define ? "J_J" : "J";
+ if (clazz == Short.TYPE) return "S";
+ if (clazz == Character.TYPE) return "C";
+ if (clazz == Byte.TYPE) return "B";
+ if (clazz == Float.TYPE) return define ? "F_D" : "F";
+ if (clazz == Double.TYPE) return define ? "F_D" : "D";
+ if (clazz == String.class) return "Ljava/lang/String;";
+ if (clazz.isArray()) {
+ if (define) return getComponentType().getTypeSignature(define) + "Array";
+ return "[" + getComponentType().getTypeSignature(define);
+ }
+ return "L" + clazz.getName().replace('.', '/') + ";";
+}
+
+public String getTypeSignature1(boolean define) {
+ if (clazz == Void.TYPE) return "Void";
+ if (clazz == Integer.TYPE) return define ? "IntLong" : "Int";
+ if (clazz == Boolean.TYPE) return "Boolean";
+ if (clazz == Long.TYPE) return define ? "IntLong" : "Long";
+ if (clazz == Short.TYPE) return "Short";
+ if (clazz == Character.TYPE) return "Char";
+ if (clazz == Byte.TYPE) return "Byte";
+ if (clazz == Float.TYPE) return define ? "FloatDouble" : "Float";
+ if (clazz == Double.TYPE) return define ? "FloatDouble" : "Double";
+ if (clazz == String.class) return "String";
+ return "Object";
+}
+
+public String getTypeSignature2(boolean define) {
+ if (clazz == Void.TYPE) return "void";
+ if (clazz == Integer.TYPE) return define ? "jintLong" : "jint";
+ if (clazz == Boolean.TYPE) return "jboolean";
+ if (clazz == Long.TYPE) return define ? "jintLong" : "jlong";
+ if (clazz == Short.TYPE) return "jshort";
+ if (clazz == Character.TYPE) return "jchar";
+ if (clazz == Byte.TYPE) return "jbyte";
+ if (clazz == Float.TYPE) return define ? "jfloatDouble" : "jfloat";
+ if (clazz == Double.TYPE) return define ? "jfloatDouble" : "jdouble";
+ if (clazz == String.class) return "jstring";
+ if (clazz == Class.class) return "jclass";
+ if (clazz.isArray()) {
+ return getComponentType().getTypeSignature2(define) + "Array";
+ }
+ return "jobject";
+}
+
+public String getTypeSignature3(boolean define) {
+ if (clazz == Void.TYPE) return "void";
+ if (clazz == Integer.TYPE) return "int";
+ if (clazz == Boolean.TYPE) return "boolean";
+ if (clazz == Long.TYPE) return "long";
+ if (clazz == Short.TYPE) return "short";
+ if (clazz == Character.TYPE) return "char";
+ if (clazz == Byte.TYPE) return "byte";
+ if (clazz == Float.TYPE) return "float";
+ if (clazz == Double.TYPE) return "double";
+ if (clazz == String.class) return "String";
+ if (clazz.isArray()) {
+ return getComponentType().getTypeSignature3(define) + "[]";
+ }
+ return clazz.getName();
+}
+
+public String getTypeSignature4(boolean define, boolean struct) {
+ if (clazz == Void.TYPE) return "void";
+ if (clazz == Integer.TYPE) return define ? "jintLong" : "jint";
+ if (clazz == Boolean.TYPE) return "jboolean";
+ if (clazz == Long.TYPE) return define ? "jintLong" : "jlong";
+ if (clazz == Short.TYPE) return "jshort";
+ if (clazz == Character.TYPE) return "jchar";
+ if (clazz == Byte.TYPE) return "jbyte";
+ if (clazz == Float.TYPE) return define ? "jfloatDouble" : "jfloat";
+ if (clazz == Double.TYPE) return define ? "jfloatDouble" : "jdouble";
+ if (clazz == String.class) return "jstring";
+ if (clazz.isArray()) {
+ String sig = getComponentType().getTypeSignature4(define, struct);
+ return struct ? sig : sig + " *";
+ }
+ String sig = getSimpleName();
+ return struct ? sig : sig + " *";
+}
+
+public int hashCode() {
+ return clazz.hashCode();
+}
+
+public boolean isArray() {
+ return clazz.isArray();
+}
+
+public boolean isPrimitive() {
+ return clazz.isPrimitive();
+}
+
+public boolean isType(String type) {
+ return clazz.getName().equals(type);
+}
+
+}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java
index 8926089d80..408b220c76 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java
@@ -10,13 +10,13 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
public class SizeofGenerator extends JNIGenerator {
-public void generate(Class clazz) {
- String className = getClassName(clazz);
+public void generate(JNIClass clazz) {
+ String className = clazz.getSimpleName();
output("\tprintf(\"");
output(className);
output("=%d\\n\", sizeof(");
@@ -32,16 +32,16 @@ public void generate() {
outputln("}");
}
-public void generate(Field[] fields) {
+public void generate(JNIField[] fields) {
sort(fields);
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if ((field.getModifiers() & Modifier.FINAL) == 0) continue;
generate(field);
}
}
-public void generate(Field field) {
+public void generate(JNIField field) {
output("\tprintf(\"");
output(field.getName());
output("=%d\\n\", sizeof(");
@@ -59,7 +59,7 @@ public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
String clazzName = args[i];
Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
+ gen.generate(new ReflectClass(clazz));
}
} catch (Exception e) {
System.out.println("Problem");
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StatsGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StatsGenerator.java
index e9e048ec48..664f408219 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StatsGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StatsGenerator.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
public class StatsGenerator extends JNIGenerator {
@@ -34,7 +34,7 @@ public void generateIncludes() {
}
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
if (header) {
generateHeaderFile(clazz);
} else {
@@ -50,15 +50,15 @@ public String getSuffix() {
return "_stats";
}
-void generateHeaderFile(Class clazz){
+void generateHeaderFile(JNIClass clazz){
generateNATIVEMacros(clazz);
- Method[] methods = clazz.getDeclaredMethods();
+ JNIMethod[] methods = clazz.getDeclaredMethods();
sort(methods);
generateFunctionEnum(methods);
}
-void generateNATIVEMacros(Class clazz) {
- String className = getClassName(clazz);
+void generateNATIVEMacros(JNIClass clazz) {
+ String className = clazz.getSimpleName();
outputln("#ifdef NATIVE_STATS");
output("extern int ");
output(className);
@@ -96,17 +96,17 @@ void generateNATIVEMacros(Class clazz) {
outputln();
}
-void generateSourceFile(Class clazz) {
+void generateSourceFile(JNIClass clazz) {
outputln("#ifdef NATIVE_STATS");
outputln();
- Method[] methods = clazz.getDeclaredMethods();
+ JNIMethod[] methods = clazz.getDeclaredMethods();
int methodCount = 0;
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
methodCount++;
}
- String className = getClassName(clazz);
+ String className = clazz.getSimpleName();
output("int ");
output(className);
output("_nativeFunctionCount = ");
@@ -122,11 +122,24 @@ void generateSourceFile(Class clazz) {
outputln("_nativeFunctionNames[] = {");
sort(methods);
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
+ String function = getFunctionName(method), function64 = getFunctionName(method, method.getParameterTypes64());
+ if (!function.equals(function64)) {
+ output("#ifndef ");
+ output(JNI64);
+ outputln();
+ }
output("\t\"");
- output(getFunctionName(method));
+ output(function);
outputln("\",");
+ if (!function.equals(function64)) {
+ outputln("#else");
+ output("\t\"");
+ output(function64);
+ outputln("\",");
+ outputln("#endif");
+ }
if (progress != null) progress.step();
}
outputln("};");
@@ -178,20 +191,33 @@ void generateStatsNatives(String className) {
outputln("}");
}
-void generateFunctionEnum(Method[] methods) {
+void generateFunctionEnum(JNIMethod[] methods) {
if (methods.length == 0) return;
outputln("typedef enum {");
for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
+ JNIMethod method = methods[i];
if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
+ String function = getFunctionName(method), function64 = getFunctionName(method, method.getParameterTypes64());
+ if (!function.equals(function64)) {
+ output("#ifndef ");
+ output(JNI64);
+ outputln();
+ }
output("\t");
- output(getFunctionName(method));
+ output(function);
outputln("_FUNC,");
+ if (!function.equals(function64)) {
+ outputln("#else");
+ output("\t");
+ output(function64);
+ outputln("_FUNC,");
+ outputln("#endif");
+ }
if (progress != null) progress.step();
}
- Class clazz = methods[0].getDeclaringClass();
+ JNIClass clazz = methods[0].getDeclaringClass();
output("} ");
- output(getClassName(clazz));
+ output(clazz.getSimpleName());
outputln("_FUNCS;");
}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java
index 0d4312fc8e..beefb06b2b 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.tools.internal;
-import java.lang.reflect.*;
+import java.lang.reflect.Modifier;
import java.util.HashSet;
import java.util.Iterator;
@@ -42,11 +42,11 @@ public void generateIncludes() {
outputln();
}
-public void generate(Class clazz) {
+public void generate(JNIClass clazz) {
int j = 0;
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
for (; j < fields.length; j++) {
- Field field = fields[j];
+ JNIField field = fields[j];
int mods = field.getModifiers();
if ((mods & Modifier.PUBLIC) != 0 && (mods & Modifier.STATIC) == 0) {
break;
@@ -73,12 +73,11 @@ public String getSuffix() {
return "_structs";
}
-void generateExcludes(Class[] classes) {
+void generateExcludes(JNIClass[] classes) {
HashSet excludes = new HashSet();
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = getMetaData().getMetaData(clazz);
- String exclude = classData.getExclude();
+ JNIClass clazz = classes[i];
+ String exclude = clazz.getExclude();
if (exclude.length() != 0) {
excludes.add(exclude);
}
@@ -87,12 +86,11 @@ void generateExcludes(Class[] classes) {
String exclude = (String)iter.next();
outputln(exclude);
for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = getMetaData().getMetaData(clazz);
- String classExclude = classData.getExclude();
+ JNIClass clazz = classes[i];
+ String classExclude = clazz.getExclude();
if (exclude.equals(classExclude)) {
output("#define NO_");
- outputln(getClassName(clazz));
+ outputln(clazz.getSimpleName());
}
}
outputln("#endif");
@@ -100,7 +98,7 @@ void generateExcludes(Class[] classes) {
}
}
-void generateHeaderFile(Class clazz) {
+void generateHeaderFile(JNIClass clazz) {
generateSourceStart(clazz);
generatePrototypes(clazz);
generateBlankMacros(clazz);
@@ -108,7 +106,7 @@ void generateHeaderFile(Class clazz) {
outputln();
}
-void generateSourceFile(Class clazz) {
+void generateSourceFile(JNIClass clazz) {
generateSourceStart(clazz);
generateFIDsStructure(clazz);
outputln();
@@ -119,26 +117,26 @@ void generateSourceFile(Class clazz) {
outputln();
}
-void generateSourceStart(Class clazz) {
- String clazzName = getClassName(clazz);
+void generateSourceStart(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
output("#ifndef NO_");
outputln(clazzName);
}
-void generateSourceEnd(Class clazz) {
+void generateSourceEnd(JNIClass clazz) {
outputln("#endif");
}
-void generateGlobalVar(Class clazz) {
- String clazzName = getClassName(clazz);
+void generateGlobalVar(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
output(clazzName);
output("_FID_CACHE ");
output(clazzName);
outputln("Fc;");
}
-void generateBlankMacros(Class clazz) {
- String clazzName = getClassName(clazz);
+void generateBlankMacros(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
outputln("#else");
output("#define cache");
output(clazzName);
@@ -154,20 +152,19 @@ void generateBlankMacros(Class clazz) {
outputln("_sizeof() 0");
}
-void generatePrototypes(Class clazz) {
- String clazzName = getClassName(clazz);
- ClassData classData = metaData.getMetaData(clazz);
+void generatePrototypes(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
output("void cache");
output(clazzName);
outputln("Fields(JNIEnv *env, jobject lpObject);");
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
output(" *get");
output(clazzName);
output("Fields(JNIEnv *env, jobject lpObject, ");
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
@@ -175,7 +172,7 @@ void generatePrototypes(Class clazz) {
output("void set");
output(clazzName);
output("Fields(JNIEnv *env, jobject lpObject, ");
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
@@ -183,25 +180,25 @@ void generatePrototypes(Class clazz) {
output("#define ");
output(clazzName);
output("_sizeof() sizeof(");
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
outputln(")");
}
-void generateFIDsStructure(Class clazz) {
- String clazzName = getClassName(clazz);
+void generateFIDsStructure(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
output("typedef struct ");
output(clazzName);
outputln("_FID_CACHE {");
outputln("\tint cached;");
outputln("\tjclass clazz;");
output("\tjfieldID ");
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
boolean first = true;
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if (ignoreField(field)) continue;
if (!first) output(", ");
output(field.getName());
@@ -213,8 +210,8 @@ void generateFIDsStructure(Class clazz) {
outputln("_FID_CACHE;");
}
-void generateCacheFunction(Class clazz) {
- String clazzName = getClassName(clazz);
+void generateCacheFunction(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
output("void cache");
output(clazzName);
outputln("Fields(JNIEnv *env, jobject lpObject)");
@@ -222,9 +219,9 @@ void generateCacheFunction(Class clazz) {
output("\tif (");
output(clazzName);
outputln("Fc.cached) return;");
- Class superclazz = clazz.getSuperclass();
- if (superclazz != Object.class) {
- String superName = getClassName(superclazz);
+ JNIClass superclazz = clazz.getSuperclass();
+ if (!superclazz.getName().equals("java.lang.Object")) {
+ String superName = superclazz.getSimpleName();
output("\tcache");
output(superName);
outputln("Fields(env, lpObject);");
@@ -245,9 +242,9 @@ void generateCacheFunction(Class clazz) {
}
}
outputln();
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if (ignoreField(field)) continue;
output("\t");
output(clazzName);
@@ -261,9 +258,12 @@ void generateCacheFunction(Class clazz) {
output(clazzName);
output("Fc.clazz, \"");
output(field.getName());
- output("\", \"");
- output(getTypeSignature(field.getType()));
- outputln("\");");
+ JNIType type = field.getType(), type64 = field.getType64();
+ output("\", ");
+ if (type.equals(type64)) output("\"");
+ output(type.getTypeSignature(!type.equals(type64)));
+ if (type.equals(type64)) output("\"");
+ outputln(");");
}
output("\t");
output(clazzName);
@@ -271,11 +271,11 @@ void generateCacheFunction(Class clazz) {
outputln("}");
}
-void generateGetFields(Class clazz) {
- Class superclazz = clazz.getSuperclass();
- String clazzName = getClassName(clazz);
- String superName = getClassName(superclazz);
- if (superclazz != Object.class) {
+void generateGetFields(JNIClass clazz) {
+ JNIClass superclazz = clazz.getSuperclass();
+ String clazzName = clazz.getSimpleName();
+ String superName = superclazz.getSimpleName();
+ if (!superclazz.getName().equals("java.lang.Object")) {
/* Windows exception - cannot call get/set function of super class in this case */
if (!(clazzName.equals(superName + "A") || clazzName.equals(superName + "W"))) {
output("\tget");
@@ -287,57 +287,56 @@ void generateGetFields(Class clazz) {
generateGetFields(superclazz);
}
}
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if (ignoreField(field)) continue;
- FieldData fieldData = getMetaData().getMetaData(field);
- String exclude = fieldData.getExclude();
+ String exclude = field.getExclude();
if (exclude.length() != 0) {
outputln(exclude);
}
- boolean noWinCE = fieldData.getFlag(FLAG_NO_WINCE);
+ boolean noWinCE = field.getFlag(FLAG_NO_WINCE);
if (noWinCE) {
outputln("#ifndef _WIN32_WCE");
}
- Class type = field.getType();
- String typeName = getClassName(type);
- String accessor = fieldData.getAccessor();
+ JNIType type = field.getType(), type64 = field.getType64();
+ String typeName = type.getSimpleName();
+ String accessor = field.getAccessor();
if (accessor == null || accessor.length() == 0) accessor = field.getName();
if (type.isPrimitive()) {
output("\tlpStruct->");
output(accessor);
output(" = ");
- output(fieldData.getCast());
+ output(field.getCast());
if (isCPP) {
output("env->Get");
} else {
output("(*env)->Get");
}
- output(getTypeSignature1(field.getType()));
+ output(type.getTypeSignature1(!type.equals(type64)));
if (isCPP) {
output("Field(lpObject, ");
} else {
output("Field(env, lpObject, ");
}
- output(getClassName(field.getDeclaringClass()));
+ output(field.getDeclaringClass().getSimpleName());
output("Fc.");
output(field.getName());
output(");");
} else if (type.isArray()) {
- Class componentType = type.getComponentType();
+ JNIType componentType = type.getComponentType(), componentType64 = type64.getComponentType();
if (componentType.isPrimitive()) {
outputln("\t{");
output("\t");
- output(getTypeSignature2(field.getType()));
+ output(type.getTypeSignature2(!type.equals(type64)));
output(" lpObject1 = (");
- output(getTypeSignature2(field.getType()));
+ output(type.getTypeSignature2(!type.equals(type64)));
if (isCPP) {
output(")env->GetObjectField(lpObject, ");
} else {
output(")(*env)->GetObjectField(env, lpObject, ");
}
- output(getClassName(field.getDeclaringClass()));
+ output(field.getDeclaringClass().getSimpleName());
output("Fc.");
output(field.getName());
outputln(");");
@@ -346,7 +345,7 @@ void generateGetFields(Class clazz) {
} else {
output("\t(*env)->Get");
}
- output(getTypeSignature1(componentType));
+ output(componentType.getTypeSignature1(!componentType.equals(componentType64)));
if (isCPP) {
output("ArrayRegion(lpObject1, 0, sizeof(lpStruct->");
} else {
@@ -354,13 +353,13 @@ void generateGetFields(Class clazz) {
}
output(accessor);
output(")");
- int byteCount = getByteCount(componentType);
- if (byteCount > 1) {
- output(" / ");
- output(String.valueOf(byteCount));
+ if (!componentType.isType("byte")) {
+ output(" / sizeof(");
+ output(componentType.getTypeSignature2(!componentType.equals(componentType64)));
+ output(")");
}
output(", (");
- output(getTypeSignature4(type));
+ output(type.getTypeSignature4(!type.equals(type64), false));
output(")lpStruct->");
output(accessor);
outputln(");");
@@ -375,7 +374,7 @@ void generateGetFields(Class clazz) {
} else {
output("\tjobject lpObject1 = (*env)->GetObjectField(env, lpObject, ");
}
- output(getClassName(field.getDeclaringClass()));
+ output(field.getDeclaringClass().getSimpleName());
output("Fc.");
output(field.getName());
outputln(");");
@@ -396,17 +395,16 @@ void generateGetFields(Class clazz) {
}
}
-void generateGetFunction(Class clazz) {
- String clazzName = getClassName(clazz);
- ClassData classData = metaData.getMetaData(clazz);
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+void generateGetFunction(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
output(" *get");
output(clazzName);
output("Fields(JNIEnv *env, jobject lpObject, ");
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
@@ -422,11 +420,11 @@ void generateGetFunction(Class clazz) {
outputln("}");
}
-void generateSetFields(Class clazz) {
- Class superclazz = clazz.getSuperclass();
- String clazzName = getClassName(clazz);
- String superName = getClassName(superclazz);
- if (superclazz != Object.class) {
+void generateSetFields(JNIClass clazz) {
+ JNIClass superclazz = clazz.getSuperclass();
+ String clazzName = clazz.getSimpleName();
+ String superName = superclazz.getSimpleName();
+ if (!superclazz.getName().equals("java.lang.Object")) {
/* Windows exception - cannot call get/set function of super class in this case */
if (!(clazzName.equals(superName + "A") || clazzName.equals(superName + "W"))) {
output("\tset");
@@ -438,22 +436,21 @@ void generateSetFields(Class clazz) {
generateSetFields(superclazz);
}
}
- Field[] fields = clazz.getDeclaredFields();
+ JNIField[] fields = clazz.getDeclaredFields();
for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
+ JNIField field = fields[i];
if (ignoreField(field)) continue;
- FieldData fieldData = getMetaData().getMetaData(field);
- String exclude = fieldData.getExclude();
+ String exclude = field.getExclude();
if (exclude.length() != 0) {
outputln(exclude);
}
- boolean noWinCE = fieldData.getFlag(FLAG_NO_WINCE);
+ boolean noWinCE = field.getFlag(FLAG_NO_WINCE);
if (noWinCE) {
outputln("#ifndef _WIN32_WCE");
}
- Class type = field.getType();
- String typeName = getClassName(type);
- String accessor = fieldData.getAccessor();
+ JNIType type = field.getType(), type64 = field.getType64();
+ String typeName = type.getSimpleName();
+ String accessor = field.getAccessor();
if (accessor == null || accessor.length() == 0) accessor = field.getName();
if (type.isPrimitive()) {
if (isCPP) {
@@ -461,34 +458,34 @@ void generateSetFields(Class clazz) {
} else {
output("\t(*env)->Set");
}
- output(getTypeSignature1(field.getType()));
+ output(type.getTypeSignature1(!type.equals(type64)));
if (isCPP) {
output("Field(lpObject, ");
} else {
output("Field(env, lpObject, ");
}
- output(getClassName(field.getDeclaringClass()));
+ output(field.getDeclaringClass().getSimpleName());
output("Fc.");
output(field.getName());
output(", (");
- output(getTypeSignature2(field.getType()));
+ output(type.getTypeSignature2(!type.equals(type64)));
output(")lpStruct->");
output(accessor);
output(");");
} else if (type.isArray()) {
- Class componentType = type.getComponentType();
+ JNIType componentType = type.getComponentType(), componentType64 = type64.getComponentType();
if (componentType.isPrimitive()) {
outputln("\t{");
output("\t");
- output(getTypeSignature2(field.getType()));
+ output(type.getTypeSignature2(!type.equals(type64)));
output(" lpObject1 = (");
- output(getTypeSignature2(field.getType()));
+ output(type.getTypeSignature2(!type.equals(type64)));
if (isCPP) {
output(")env->GetObjectField(lpObject, ");
} else {
output(")(*env)->GetObjectField(env, lpObject, ");
}
- output(getClassName(field.getDeclaringClass()));
+ output(field.getDeclaringClass().getSimpleName());
output("Fc.");
output(field.getName());
outputln(");");
@@ -497,7 +494,7 @@ void generateSetFields(Class clazz) {
} else {
output("\t(*env)->Set");
}
- output(getTypeSignature1(componentType));
+ output(componentType.getTypeSignature1(!componentType.equals(componentType64)));
if (isCPP) {
output("ArrayRegion(lpObject1, 0, sizeof(lpStruct->");
} else {
@@ -505,13 +502,13 @@ void generateSetFields(Class clazz) {
}
output(accessor);
output(")");
- int byteCount = getByteCount(componentType);
- if (byteCount > 1) {
- output(" / ");
- output(String.valueOf(byteCount));
+ if (!componentType.isType("byte")) {
+ output(" / sizeof(");
+ output(componentType.getTypeSignature2(!componentType.equals(componentType64)));
+ output(")");
}
output(", (");
- output(getTypeSignature4(type));
+ output(type.getTypeSignature4(!type.equals(type64), false));
output(")lpStruct->");
output(accessor);
outputln(");");
@@ -522,7 +519,7 @@ void generateSetFields(Class clazz) {
} else {
outputln("\t{");
output("\tjobject lpObject1 = (*env)->GetObjectField(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
+ output(field.getDeclaringClass().getSimpleName());
output("Fc.");
output(field.getName());
outputln(");");
@@ -543,13 +540,12 @@ void generateSetFields(Class clazz) {
}
}
-void generateSetFunction(Class clazz) {
- String clazzName = getClassName(clazz);
+void generateSetFunction(JNIClass clazz) {
+ String clazzName = clazz.getSimpleName();
output("void set");
output(clazzName);
output("Fields(JNIEnv *env, jobject lpObject, ");
- ClassData classData = metaData.getMetaData(clazz);
- if (classData.getFlag(Flags.FLAG_STRUCT)) {
+ if (clazz.getFlag(Flags.FLAG_STRUCT)) {
output("struct ");
}
output(clazzName);
@@ -564,7 +560,7 @@ void generateSetFunction(Class clazz) {
outputln("}");
}
-void generateFunctions(Class clazz) {
+void generateFunctions(JNIClass clazz) {
generateCacheFunction(clazz);
outputln();
generateGetFunction(clazz);
@@ -572,7 +568,7 @@ void generateFunctions(Class clazz) {
generateSetFunction(clazz);
}
-boolean ignoreField(Field field) {
+boolean ignoreField(JNIField field) {
int mods = field.getModifiers();
return
((mods & Modifier.PUBLIC) == 0) ||
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.C.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.C.properties
index ccbfb4cb77..1c3e23ab6c 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.C.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.C.properties
@@ -8,8 +8,6 @@
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
-org_eclipse_swt_internal_BidiUtil=flags=no_gen
-
org_eclipse_swt_internal_C=
C_PTR_sizeof=
@@ -116,50 +114,8 @@ C_strlen=
C_strlen_0=cast=(char *)
-org_eclipse_swt_internal_Callback=flags=no_gen
-Callback_bind=
-Callback_bind_0=
-Callback_bind_1=
-Callback_bind_2=
-Callback_bind_3=
-Callback_bind_4=
-Callback_bind_5=
-Callback_bind_6=
-Callback_bind_7=
-
-Callback_getEnabled=
-
-Callback_getEntryCount=
-
-Callback_getPlatform=
-
-Callback_reset=
-
-Callback_setEnabled=
-Callback_setEnabled_0=
-
-Callback_unbind=
-Callback_unbind_0=
-
-
-org_eclipse_swt_internal_CloneableCompatibility=flags=no_gen
-
-org_eclipse_swt_internal_Compatibility=flags=no_gen
-
-org_eclipse_swt_internal_ImageList=flags=no_gen
-
org_eclipse_swt_internal_LONG=flags=no_gen
LONG_value=
-org_eclipse_swt_internal_Library=flags=no_gen
-
org_eclipse_swt_internal_Lock=flags=no_gen
-org_eclipse_swt_internal_Platform=flags=no_gen
-
-org_eclipse_swt_internal_SWTEventListener=flags=no_gen
-
-org_eclipse_swt_internal_SWTEventObject=flags=no_gen
-
-org_eclipse_swt_internal_SerializableCompatibility=flags=no_gen
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.cocoa.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.cocoa.OS.properties
deleted file mode 100755
index 6a1f04a43b..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.cocoa.OS.properties
+++ /dev/null
@@ -1,1325 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-org_eclipse_swt_internal_cocoa_CGPoint=
-CGPoint_x=
-CGPoint_y=
-
-org_eclipse_swt_internal_cocoa_CGRect=
-CGRect_origin=
-CGRect_size=
-
-org_eclipse_swt_internal_cocoa_CGSize=
-CGSize_width=
-CGSize_height=
-
-org_eclipse_swt_internal_cocoa_DOMDocument=
-
-org_eclipse_swt_internal_cocoa_DOMEvent=
-
-org_eclipse_swt_internal_cocoa_DOMKeyboardEvent=
-
-org_eclipse_swt_internal_cocoa_DOMMouseEvent=
-
-org_eclipse_swt_internal_cocoa_DOMUIEvent=
-
-org_eclipse_swt_internal_cocoa_DOMWheelEvent=
-
-org_eclipse_swt_internal_cocoa_NSActionCell=
-
-org_eclipse_swt_internal_cocoa_NSAffineTransform=
-
-org_eclipse_swt_internal_cocoa_NSAffineTransformStruct=
-NSAffineTransformStruct_m11=
-NSAffineTransformStruct_m12=
-NSAffineTransformStruct_m21=
-NSAffineTransformStruct_m22=
-NSAffineTransformStruct_tX=
-NSAffineTransformStruct_tY=
-
-org_eclipse_swt_internal_cocoa_NSAlert=
-
-org_eclipse_swt_internal_cocoa_NSAppleEventDescriptor=
-
-org_eclipse_swt_internal_cocoa_NSApplication=flags=no_gen
-
-org_eclipse_swt_internal_cocoa_NSArray=
-
-org_eclipse_swt_internal_cocoa_NSAttributedString=
-
-org_eclipse_swt_internal_cocoa_NSAutoreleasePool=flags=no_gen
-
-org_eclipse_swt_internal_cocoa_NSBezierPath=
-
-org_eclipse_swt_internal_cocoa_NSBitmapImageRep=
-
-org_eclipse_swt_internal_cocoa_NSBox=
-
-org_eclipse_swt_internal_cocoa_NSBrowserCell=
-
-org_eclipse_swt_internal_cocoa_NSBundle=
-
-org_eclipse_swt_internal_cocoa_NSButton=
-
-org_eclipse_swt_internal_cocoa_NSButtonCell=
-
-org_eclipse_swt_internal_cocoa_NSCalendarDate=
-
-org_eclipse_swt_internal_cocoa_NSCell=
-
-org_eclipse_swt_internal_cocoa_NSClipView=
-
-org_eclipse_swt_internal_cocoa_NSCoder=
-
-org_eclipse_swt_internal_cocoa_NSColor=
-
-org_eclipse_swt_internal_cocoa_NSColorPanel=
-
-org_eclipse_swt_internal_cocoa_NSColorSpace=
-
-org_eclipse_swt_internal_cocoa_NSComboBox=
-
-org_eclipse_swt_internal_cocoa_NSControl=
-
-org_eclipse_swt_internal_cocoa_NSCursor=
-
-org_eclipse_swt_internal_cocoa_NSData=
-
-org_eclipse_swt_internal_cocoa_NSDate=
-
-org_eclipse_swt_internal_cocoa_NSDatePicker=
-
-org_eclipse_swt_internal_cocoa_NSDictionary=
-
-org_eclipse_swt_internal_cocoa_NSDirectoryEnumerator=
-
-org_eclipse_swt_internal_cocoa_NSEnumerator=
-
-org_eclipse_swt_internal_cocoa_NSError=
-
-org_eclipse_swt_internal_cocoa_NSEvent=
-
-org_eclipse_swt_internal_cocoa_NSFileManager=
-
-org_eclipse_swt_internal_cocoa_NSFont=
-
-org_eclipse_swt_internal_cocoa_NSFontManager=
-
-org_eclipse_swt_internal_cocoa_NSFontPanel=
-
-org_eclipse_swt_internal_cocoa_NSGradient=
-
-org_eclipse_swt_internal_cocoa_NSGraphicsContext=
-
-org_eclipse_swt_internal_cocoa_NSHTTPCookie=
-
-org_eclipse_swt_internal_cocoa_NSHTTPCookieStorage=
-
-org_eclipse_swt_internal_cocoa_NSImage=
-
-org_eclipse_swt_internal_cocoa_NSImageRep=
-
-org_eclipse_swt_internal_cocoa_NSImageView=
-
-org_eclipse_swt_internal_cocoa_NSIndexSet=
-
-org_eclipse_swt_internal_cocoa_NSInputManager=
-
-org_eclipse_swt_internal_cocoa_NSKeyedArchiver=
-
-org_eclipse_swt_internal_cocoa_NSKeyedUnarchiver=
-
-org_eclipse_swt_internal_cocoa_NSLayoutManager=
-
-org_eclipse_swt_internal_cocoa_NSMenu=
-
-org_eclipse_swt_internal_cocoa_NSMenuItem=
-
-org_eclipse_swt_internal_cocoa_NSMutableArray=
-
-org_eclipse_swt_internal_cocoa_NSMutableAttributedString=
-
-org_eclipse_swt_internal_cocoa_NSMutableDictionary=
-
-org_eclipse_swt_internal_cocoa_NSMutableIndexSet=
-
-org_eclipse_swt_internal_cocoa_NSMutableParagraphStyle=
-
-org_eclipse_swt_internal_cocoa_NSMutableSet=
-
-org_eclipse_swt_internal_cocoa_NSMutableString=
-
-org_eclipse_swt_internal_cocoa_NSMutableURLRequest=
-
-org_eclipse_swt_internal_cocoa_NSNotification=
-
-org_eclipse_swt_internal_cocoa_NSNotificationCenter=
-
-org_eclipse_swt_internal_cocoa_NSNumber=
-
-org_eclipse_swt_internal_cocoa_NSObject=flags=no_gen
-
-org_eclipse_swt_internal_cocoa_NSOpenGLContext=
-
-org_eclipse_swt_internal_cocoa_NSOpenGLPixelFormat=
-
-org_eclipse_swt_internal_cocoa_NSOpenGLView=
-
-org_eclipse_swt_internal_cocoa_NSOpenPanel=
-
-org_eclipse_swt_internal_cocoa_NSOutlineView=
-
-org_eclipse_swt_internal_cocoa_NSPanel=
-
-org_eclipse_swt_internal_cocoa_NSParagraphStyle=
-
-org_eclipse_swt_internal_cocoa_NSPasteboard=
-
-org_eclipse_swt_internal_cocoa_NSPoint=
-NSPoint_x=
-NSPoint_y=
-
-org_eclipse_swt_internal_cocoa_NSPopUpButton=
-
-org_eclipse_swt_internal_cocoa_NSPrintInfo=
-
-org_eclipse_swt_internal_cocoa_NSPrintOperation=
-
-org_eclipse_swt_internal_cocoa_NSPrintPanel=
-
-org_eclipse_swt_internal_cocoa_NSPrinter=
-
-org_eclipse_swt_internal_cocoa_NSProgressIndicator=
-
-org_eclipse_swt_internal_cocoa_NSRange=
-NSRange_location=
-NSRange_length=
-
-org_eclipse_swt_internal_cocoa_NSRect=
-NSRect_x=accessor=origin.x
-NSRect_y=accessor=origin.y
-NSRect_width=accessor=size.width
-NSRect_height=accessor=size.height
-
-org_eclipse_swt_internal_cocoa_NSResponder=
-
-org_eclipse_swt_internal_cocoa_NSRunLoop=
-
-org_eclipse_swt_internal_cocoa_NSSavePanel=
-
-org_eclipse_swt_internal_cocoa_NSScreen=
-
-org_eclipse_swt_internal_cocoa_NSScrollView=
-
-org_eclipse_swt_internal_cocoa_NSScroller=
-
-org_eclipse_swt_internal_cocoa_NSSearchField=
-
-org_eclipse_swt_internal_cocoa_NSSecureTextField=
-
-org_eclipse_swt_internal_cocoa_NSSet=
-
-org_eclipse_swt_internal_cocoa_NSSize=
-NSSize_width=
-NSSize_height=
-
-org_eclipse_swt_internal_cocoa_NSSlider=
-
-org_eclipse_swt_internal_cocoa_NSStatusBar=
-
-org_eclipse_swt_internal_cocoa_NSStatusItem=
-
-org_eclipse_swt_internal_cocoa_NSStepper=
-
-org_eclipse_swt_internal_cocoa_NSString=
-
-org_eclipse_swt_internal_cocoa_NSTabView=
-
-org_eclipse_swt_internal_cocoa_NSTabViewItem=
-
-org_eclipse_swt_internal_cocoa_NSTableColumn=
-
-org_eclipse_swt_internal_cocoa_NSTableHeaderCell=
-
-org_eclipse_swt_internal_cocoa_NSTableHeaderView=
-
-org_eclipse_swt_internal_cocoa_NSTableView=
-
-org_eclipse_swt_internal_cocoa_NSText=
-
-org_eclipse_swt_internal_cocoa_NSTextContainer=
-
-org_eclipse_swt_internal_cocoa_NSTextField=
-
-org_eclipse_swt_internal_cocoa_NSTextFieldCell=
-
-org_eclipse_swt_internal_cocoa_NSTextStorage=
-
-org_eclipse_swt_internal_cocoa_NSTextView=
-
-org_eclipse_swt_internal_cocoa_NSTimeZone=
-
-org_eclipse_swt_internal_cocoa_NSTimer=
-
-org_eclipse_swt_internal_cocoa_NSTypesetter=
-
-org_eclipse_swt_internal_cocoa_NSURL=
-
-org_eclipse_swt_internal_cocoa_NSURLDownload=
-
-org_eclipse_swt_internal_cocoa_NSURLRequest=
-
-org_eclipse_swt_internal_cocoa_NSValue=
-
-org_eclipse_swt_internal_cocoa_NSView=
-
-org_eclipse_swt_internal_cocoa_NSWindow=flags=no_gen
-
-org_eclipse_swt_internal_cocoa_NSWorkspace=
-
-org_eclipse_swt_internal_cocoa_OS=
-OS_CGPoint_sizeof=
-
-OS_CGRect_sizeof=
-
-OS_CGSize_sizeof=
-
-OS_CGWarpMouseCursorPosition=
-OS_CGWarpMouseCursorPosition_0=flags=struct
-
-OS_CPSSetProcessName=
-OS_CPSSetProcessName_0=
-OS_CPSSetProcessName_1=
-
-OS_CloseRgn=flags=dynamic
-OS_CloseRgn_0=
-
-OS_CopyRgn=flags=dynamic
-OS_CopyRgn_0=
-OS_CopyRgn_1=
-
-OS_DeleteGlobalRef=flags=jni
-OS_DeleteGlobalRef_0=cast=(jobject)
-
-OS_DiffRgn=flags=dynamic
-OS_DiffRgn_0=
-OS_DiffRgn_1=
-OS_DiffRgn_2=
-
-OS_DisposeRgn=flags=dynamic
-OS_DisposeRgn_0=
-
-OS_EmptyRgn=flags=dynamic
-OS_EmptyRgn_0=
-
-OS_Gestalt=
-OS_Gestalt_0=
-OS_Gestalt_1=
-
-OS_GetCurrentProcess=
-OS_GetCurrentProcess_0=cast=(ProcessSerialNumber *)
-
-OS_GetRegionBounds=flags=dynamic
-OS_GetRegionBounds_0=
-OS_GetRegionBounds_1=
-
-OS_JNIGetObject=flags=no_gen
-OS_JNIGetObject_0=
-
-OS_LineTo=flags=dynamic
-OS_LineTo_0=
-OS_LineTo_1=
-
-OS_MoveTo=flags=dynamic
-OS_MoveTo_0=
-OS_MoveTo_1=
-
-OS_NSAccessibilityPositionAttribute=flags=const
-
-OS_NSAccessibilitySizeAttribute=flags=const
-
-OS_NSAffineTransformStruct_sizeof=
-
-OS_NSBackgroundColorAttributeName=flags=const
-
-OS_NSBaselineOffsetAttributeName=flags=const
-
-OS_NSBitsPerPixelFromDepth=
-OS_NSBitsPerPixelFromDepth_0=
-
-OS_NSCalibratedRGBColorSpace=flags=const
-
-OS_NSDefaultRunLoopMode=flags=const
-
-OS_NSDeviceRGBColorSpace=flags=const
-
-OS_NSDeviceResolution=flags=const
-
-OS_NSErrorFailingURLStringKey=flags=const
-
-OS_NSFileTypeForHFSTypeCode=
-OS_NSFileTypeForHFSTypeCode_0=
-
-OS_NSFilenamesPboardType=flags=const
-
-OS_NSFontAttributeName=flags=const
-
-OS_NSForegroundColorAttributeName=flags=const
-
-OS_NSGetSizeAndAlignment=
-OS_NSGetSizeAndAlignment_0=cast=(char*)
-OS_NSGetSizeAndAlignment_1=cast=(NSUInteger*)
-OS_NSGetSizeAndAlignment_2=cast=(NSUInteger*)
-
-OS_NSIntersectionRect=flags=no_gen
-OS_NSIntersectionRect_0=
-OS_NSIntersectionRect_1=
-OS_NSIntersectionRect_2=
-
-OS_NSLinkAttributeName=flags=const
-
-OS_NSParagraphStyleAttributeName=flags=const
-
-OS_NSPoint_sizeof=
-
-OS_NSPrintAllPages=flags=const
-
-OS_NSPrintCopies=flags=const
-
-OS_NSPrintFirstPage=flags=const
-
-OS_NSPrintJobDisposition=flags=const
-
-OS_NSPrintLastPage=flags=const
-
-OS_NSPrintMustCollate=flags=const
-
-OS_NSPrintPreviewJob=flags=const
-
-OS_NSPrintSaveJob=flags=const
-
-OS_NSPrintSavePath=flags=const
-
-OS_NSPrintSpoolJob=flags=const
-
-OS_NSRTFPboardType=flags=const
-
-OS_NSRange_sizeof=
-
-OS_NSRect_sizeof=
-
-OS_NSSearchPathForDirectoriesInDomains=
-OS_NSSearchPathForDirectoriesInDomains_0=
-OS_NSSearchPathForDirectoriesInDomains_1=
-OS_NSSearchPathForDirectoriesInDomains_2=
-
-OS_NSSize_sizeof=
-
-OS_NSStrikethroughColorAttributeName=flags=const
-
-OS_NSStrikethroughStyleAttributeName=flags=const
-
-OS_NSStringPboardType=flags=const
-
-OS_NSTIFFPboardType=flags=const
-
-OS_NSTemporaryDirectory=
-
-OS_NSURLPboardType=flags=const
-
-OS_NSUnderlineColorAttributeName=flags=const
-
-OS_NSUnderlineStyleAttributeName=flags=const
-
-OS_NewGlobalRef=flags=jni
-OS_NewGlobalRef_0=cast=(jobject)
-
-OS_NewRgn=flags=dynamic
-
-OS_OffsetRgn=flags=dynamic
-OS_OffsetRgn_0=
-OS_OffsetRgn_1=
-OS_OffsetRgn_2=
-
-OS_OpenRgn=flags=dynamic
-
-OS_PtInRgn=flags=dynamic
-OS_PtInRgn_0=
-OS_PtInRgn_1=
-
-OS_QDRegionToRects=flags=dynamic
-OS_QDRegionToRects_0=
-OS_QDRegionToRects_1=
-OS_QDRegionToRects_2=
-OS_QDRegionToRects_3=
-
-OS_RectInRgn=flags=dynamic
-OS_RectInRgn_0=
-OS_RectInRgn_1=
-
-OS_RectRgn=flags=dynamic
-OS_RectRgn_0=
-OS_RectRgn_1=
-
-OS_SectRgn=flags=dynamic
-OS_SectRgn_0=
-OS_SectRgn_1=
-OS_SectRgn_2=
-
-OS_SetFrontProcess=
-OS_SetFrontProcess_0=cast=(ProcessSerialNumber *)
-
-OS_SetRect=flags=dynamic
-OS_SetRect_0=
-OS_SetRect_1=
-OS_SetRect_2=
-OS_SetRect_3=
-OS_SetRect_4=
-
-OS_TransformProcessType=
-OS_TransformProcessType_0=cast=(ProcessSerialNumber *)
-OS_TransformProcessType_1=
-
-OS_UnionRgn=flags=dynamic
-OS_UnionRgn_0=
-OS_UnionRgn_1=
-OS_UnionRgn_2=
-
-OS_attributedSubstringFromRange_CALLBACK=flags=no_gen
-OS_attributedSubstringFromRange_CALLBACK_0=
-
-OS_characterIndexForPoint_CALLBACK=flags=no_gen
-OS_characterIndexForPoint_CALLBACK_0=
-
-OS_class_addIvar=
-OS_class_addIvar_0=cast=(Class)
-OS_class_addIvar_1=cast=(const char *)
-OS_class_addIvar_2=cast=(size_t)
-OS_class_addIvar_3=
-OS_class_addIvar_4=cast=(const char *)
-
-OS_class_addMethod=
-OS_class_addMethod_0=cast=(Class)
-OS_class_addMethod_1=cast=(SEL)
-OS_class_addMethod_2=cast=(IMP)
-OS_class_addMethod_3=cast=(const char *)
-
-OS_class_addProtocol=
-OS_class_addProtocol_0=cast=Class
-OS_class_addProtocol_1=cast=Protocol *
-
-OS_drawInteriorWithFrame_inView_CALLBACK=flags=no_gen
-OS_drawInteriorWithFrame_inView_CALLBACK_0=
-
-OS_drawRect_CALLBACK=flags=no_gen
-OS_drawRect_CALLBACK_0=
-
-OS_firstRectForCharacterRange_CALLBACK=flags=no_gen
-OS_firstRectForCharacterRange_CALLBACK_0=
-
-OS_getpid=
-
-OS_hitTest_CALLBACK=flags=no_gen
-OS_hitTest_CALLBACK_0=
-
-OS_instrumentObjcMessageSends=flags=dynamic
-OS_instrumentObjcMessageSends_0=
-
-OS_markedRange_CALLBACK=flags=no_gen
-OS_markedRange_CALLBACK_0=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGPoint_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGRect_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_CGSize_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSPoint_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRange_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSRect_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I=
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I_1=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_cocoa_NSSize_2I_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGPoint_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGRect_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_CGSize_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II=
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_1=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_2=
-
-OS_objc_allocateClassPair=
-OS_objc_allocateClassPair_0=cast=(Class)
-OS_objc_allocateClassPair_1=cast=(const char *)
-OS_objc_allocateClassPair_2=cast=(size_t)
-
-OS_objc_getClass=
-OS_objc_getClass_0=cast=(const char *)
-
-OS_objc_getProtocol=
-OS_objc_getProtocol_0=
-
-OS_objc_lookUpClass=
-OS_objc_lookUpClass_0=cast=(const char *)
-
-OS_objc_1msgSend__II=flags=cast
-OS_objc_1msgSend__II_0=cast=(id)
-OS_objc_1msgSend__II_1=cast=(SEL)
-
-OS_objc_1msgSend__IID=flags=cast
-OS_objc_1msgSend__IID_0=cast=(id)
-OS_objc_1msgSend__IID_1=cast=(SEL)
-OS_objc_1msgSend__IID_2=
-
-OS_objc_1msgSend__IIDIIIZ=flags=cast
-OS_objc_1msgSend__IIDIIIZ_0=cast=(id)
-OS_objc_1msgSend__IIDIIIZ_1=cast=(SEL)
-OS_objc_1msgSend__IIDIIIZ_2=
-OS_objc_1msgSend__IIDIIIZ_3=
-OS_objc_1msgSend__IIDIIIZ_4=
-OS_objc_1msgSend__IIDIIIZ_5=
-OS_objc_1msgSend__IIDIIIZ_6=
-
-OS_objc_1msgSend__IIF=flags=cast
-OS_objc_1msgSend__IIF_0=cast=(id)
-OS_objc_1msgSend__IIF_1=cast=(SEL)
-OS_objc_1msgSend__IIF_2=
-
-OS_objc_1msgSend__IIFF=flags=cast
-OS_objc_1msgSend__IIFF_0=cast=(id)
-OS_objc_1msgSend__IIFF_1=cast=(SEL)
-OS_objc_1msgSend__IIFF_2=
-OS_objc_1msgSend__IIFF_3=
-
-OS_objc_1msgSend__IIFFFF=flags=cast
-OS_objc_1msgSend__IIFFFF_0=cast=(id)
-OS_objc_1msgSend__IIFFFF_1=cast=(SEL)
-OS_objc_1msgSend__IIFFFF_2=
-OS_objc_1msgSend__IIFFFF_3=
-OS_objc_1msgSend__IIFFFF_4=
-OS_objc_1msgSend__IIFFFF_5=
-
-OS_objc_1msgSend__III=flags=cast
-OS_objc_1msgSend__III_0=cast=(id)
-OS_objc_1msgSend__III_1=cast=(SEL)
-OS_objc_1msgSend__III_2=
-
-OS_objc_1msgSend__IIIF=flags=cast
-OS_objc_1msgSend__IIIF_0=cast=(id)
-OS_objc_1msgSend__IIIF_1=cast=(SEL)
-OS_objc_1msgSend__IIIF_2=
-OS_objc_1msgSend__IIIF_3=
-
-OS_objc_1msgSend__IIII=flags=cast
-OS_objc_1msgSend__IIII_0=cast=(id)
-OS_objc_1msgSend__IIII_1=cast=(SEL)
-OS_objc_1msgSend__IIII_2=
-OS_objc_1msgSend__IIII_3=
-
-OS_objc_1msgSend__IIIII=flags=cast
-OS_objc_1msgSend__IIIII_0=cast=(id)
-OS_objc_1msgSend__IIIII_1=cast=(SEL)
-OS_objc_1msgSend__IIIII_2=
-OS_objc_1msgSend__IIIII_3=
-OS_objc_1msgSend__IIIII_4=
-
-OS_objc_1msgSend__IIIIII=flags=cast
-OS_objc_1msgSend__IIIIII_0=cast=(id)
-OS_objc_1msgSend__IIIIII_1=cast=(SEL)
-OS_objc_1msgSend__IIIIII_2=
-OS_objc_1msgSend__IIIIII_3=
-OS_objc_1msgSend__IIIIII_4=
-OS_objc_1msgSend__IIIIII_5=
-
-OS_objc_1msgSend__IIIIIII=flags=cast
-OS_objc_1msgSend__IIIIIII_0=cast=(id)
-OS_objc_1msgSend__IIIIIII_1=cast=(SEL)
-OS_objc_1msgSend__IIIIIII_2=
-OS_objc_1msgSend__IIIIIII_3=
-OS_objc_1msgSend__IIIIIII_4=
-OS_objc_1msgSend__IIIIIII_5=
-OS_objc_1msgSend__IIIIIII_6=
-
-OS_objc_1msgSend__IIIIIIIII=flags=cast
-OS_objc_1msgSend__IIIIIIIII_0=cast=(id)
-OS_objc_1msgSend__IIIIIIIII_1=cast=(SEL)
-OS_objc_1msgSend__IIIIIIIII_2=
-OS_objc_1msgSend__IIIIIIIII_3=
-OS_objc_1msgSend__IIIIIIIII_4=
-OS_objc_1msgSend__IIIIIIIII_5=
-OS_objc_1msgSend__IIIIIIIII_6=
-OS_objc_1msgSend__IIIIIIIII_7=
-OS_objc_1msgSend__IIIIIIIII_8=
-
-OS_objc_1msgSend__IIIIIIIZZIII=flags=cast
-OS_objc_1msgSend__IIIIIIIZZIII_0=cast=(id)
-OS_objc_1msgSend__IIIIIIIZZIII_1=cast=(SEL)
-OS_objc_1msgSend__IIIIIIIZZIII_2=
-OS_objc_1msgSend__IIIIIIIZZIII_3=
-OS_objc_1msgSend__IIIIIIIZZIII_4=
-OS_objc_1msgSend__IIIIIIIZZIII_5=
-OS_objc_1msgSend__IIIIIIIZZIII_6=
-OS_objc_1msgSend__IIIIIIIZZIII_7=
-OS_objc_1msgSend__IIIIIIIZZIII_8=
-OS_objc_1msgSend__IIIIIIIZZIII_9=
-OS_objc_1msgSend__IIIIIIIZZIII_10=
-OS_objc_1msgSend__IIIIIIIZZIII_11=
-
-OS_objc_1msgSend__IIIIIIIZZIIII=flags=cast
-OS_objc_1msgSend__IIIIIIIZZIIII_0=cast=(id)
-OS_objc_1msgSend__IIIIIIIZZIIII_1=cast=(SEL)
-OS_objc_1msgSend__IIIIIIIZZIIII_2=
-OS_objc_1msgSend__IIIIIIIZZIIII_3=
-OS_objc_1msgSend__IIIIIIIZZIIII_4=
-OS_objc_1msgSend__IIIIIIIZZIIII_5=
-OS_objc_1msgSend__IIIIIIIZZIIII_6=
-OS_objc_1msgSend__IIIIIIIZZIIII_7=
-OS_objc_1msgSend__IIIIIIIZZIIII_8=
-OS_objc_1msgSend__IIIIIIIZZIIII_9=
-OS_objc_1msgSend__IIIIIIIZZIIII_10=
-OS_objc_1msgSend__IIIIIIIZZIIII_11=
-OS_objc_1msgSend__IIIIIIIZZIIII_12=
-
-OS_objc_1msgSend__IIIIIZ=flags=cast
-OS_objc_1msgSend__IIIIIZ_0=cast=(id)
-OS_objc_1msgSend__IIIIIZ_1=cast=(SEL)
-OS_objc_1msgSend__IIIIIZ_2=
-OS_objc_1msgSend__IIIIIZ_3=
-OS_objc_1msgSend__IIIIIZ_4=
-OS_objc_1msgSend__IIIIIZ_5=
-
-OS_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2=flags=cast
-OS_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_0=cast=(id)
-OS_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_1=cast=(SEL)
-OS_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_2=
-OS_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_3=
-OS_objc_1msgSend__IIIILorg_eclipse_swt_internal_cocoa_NSRange_2_4=flags=struct
-
-OS_objc_1msgSend__IIIIZ=flags=cast
-OS_objc_1msgSend__IIIIZ_0=cast=(id)
-OS_objc_1msgSend__IIIIZ_1=cast=(SEL)
-OS_objc_1msgSend__IIIIZ_2=
-OS_objc_1msgSend__IIIIZ_3=
-OS_objc_1msgSend__IIIIZ_4=
-
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_0=cast=(id)
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(SEL)
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_2=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_3=flags=struct
-
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII=flags=cast
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_0=cast=(id)
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_1=cast=(SEL)
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_2=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_3=flags=struct
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_4=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_5=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_6=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_7=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_8=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_9=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2IDIISII_10=
-
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2=flags=cast
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_0=cast=(id)
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_1=cast=(SEL)
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_2=
-OS_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRange_2_3=flags=struct
-
-OS_objc_1msgSend__IIIZ=flags=cast
-OS_objc_1msgSend__IIIZ_0=cast=(id)
-OS_objc_1msgSend__IIIZ_1=cast=(SEL)
-OS_objc_1msgSend__IIIZ_2=
-OS_objc_1msgSend__IIIZ_3=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2_2=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_2=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFF_5=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_5=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2FFFZ_6=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3F_4=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_3=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2I_4=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_3=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_4=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_3=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_5=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2_2=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2I_3=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_3=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_2=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2F_3=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2FF_4=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_3=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_4=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZ_5=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_5=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IIZI_6=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_3=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2IZI_5=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_3=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_3=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRect_2_4=flags=struct
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_3=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_4=
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2IF_5=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_2=flags=struct
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2Z_3=
-
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2=flags=cast
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_0=cast=(id)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_1=cast=(SEL)
-OS_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_2=flags=struct
-
-OS_objc_1msgSend__IIZ=flags=cast
-OS_objc_1msgSend__IIZ_0=cast=(id)
-OS_objc_1msgSend__IIZ_1=cast=(SEL)
-OS_objc_1msgSend__IIZ_2=
-
-OS_objc_1msgSend__IIZI=flags=cast
-OS_objc_1msgSend__IIZI_0=cast=(id)
-OS_objc_1msgSend__IIZI_1=cast=(SEL)
-OS_objc_1msgSend__IIZI_2=
-OS_objc_1msgSend__IIZI_3=
-
-OS_objc_1msgSend__II_3B=flags=cast
-OS_objc_1msgSend__II_3B_0=cast=(id)
-OS_objc_1msgSend__II_3B_1=cast=(SEL)
-OS_objc_1msgSend__II_3B_2=
-
-OS_objc_1msgSend__II_3BI=flags=cast
-OS_objc_1msgSend__II_3BI_0=cast=(id)
-OS_objc_1msgSend__II_3BI_1=cast=(SEL)
-OS_objc_1msgSend__II_3BI_2=
-OS_objc_1msgSend__II_3BI_3=
-
-OS_objc_1msgSend__II_3C=
-OS_objc_1msgSend__II_3C_0=cast=(id)
-OS_objc_1msgSend__II_3C_1=cast=(SEL)
-OS_objc_1msgSend__II_3C_2=
-
-OS_objc_1msgSend__II_3CI=
-OS_objc_1msgSend__II_3CI_0=cast=(id)
-OS_objc_1msgSend__II_3CI_1=cast=SEL
-OS_objc_1msgSend__II_3CI_2=
-OS_objc_1msgSend__II_3CI_3=
-
-OS_objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2=flags=cast
-OS_objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_0=cast=(id)
-OS_objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_1=cast=(SEL)
-OS_objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_2=
-OS_objc_1msgSend__II_3CLorg_eclipse_swt_internal_cocoa_NSRange_2_3=flags=struct
-
-OS_objc_1msgSend__II_3F=flags=cast
-OS_objc_1msgSend__II_3F_0=cast=(id)
-OS_objc_1msgSend__II_3F_1=cast=(SEL)
-OS_objc_1msgSend__II_3F_2=
-
-OS_objc_1msgSend__II_3FIF=flags=cast
-OS_objc_1msgSend__II_3FIF_0=cast=(id)
-OS_objc_1msgSend__II_3FIF_1=cast=(SEL)
-OS_objc_1msgSend__II_3FIF_2=
-OS_objc_1msgSend__II_3FIF_3=
-OS_objc_1msgSend__II_3FIF_4=
-
-OS_objc_1msgSend__II_3I=flags=cast
-OS_objc_1msgSend__II_3I_0=cast=(id)
-OS_objc_1msgSend__II_3I_1=cast=(SEL)
-OS_objc_1msgSend__II_3I_2=
-
-OS_objc_1msgSend__II_3III=flags=cast
-OS_objc_1msgSend__II_3III_0=cast=(id)
-OS_objc_1msgSend__II_3III_1=cast=(SEL)
-OS_objc_1msgSend__II_3III_2=
-OS_objc_1msgSend__II_3III_3=
-OS_objc_1msgSend__II_3III_4=
-
-OS_objc_1msgSend__JJFD=flags=cast
-OS_objc_1msgSend__JJFD_0=cast=(id)
-OS_objc_1msgSend__JJFD_1=cast=(SEL)
-OS_objc_1msgSend__JJFD_2=
-OS_objc_1msgSend__JJFD_3=
-
-OS_objc_1msgSend__JJI=flags=cast
-OS_objc_1msgSend__JJI_0=cast=(id)
-OS_objc_1msgSend__JJI_1=cast=(SEL)
-OS_objc_1msgSend__JJI_2=
-
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I=flags=cast
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_0=cast=(id)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2I_1=cast=(SEL)
-
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II=flags=cast
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II_0=cast=(id)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II_1=cast=(SEL)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2II_2=
-
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ=flags=cast
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_0=cast=(id)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_1=cast=(SEL)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_2=
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_3=
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_4=
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2IIIIZ_5=
-
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2_0=cast=(id)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(SEL)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSPoint_2_2=flags=struct
-
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2=flags=cast
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_0=cast=(id)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_1=cast=(SEL)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSRect_2_2=flags=struct
-
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2=flags=cast
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2_0=cast=(id)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2_1=cast=(SEL)
-OS_objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2ILorg_eclipse_swt_internal_cocoa_NSSize_2_2=flags=struct
-
-OS_objc_1msgSend_1fpret__II=flags=cast
-OS_objc_1msgSend_1fpret__II_0=cast=(id)
-OS_objc_1msgSend_1fpret__II_1=cast=(SEL)
-
-OS_objc_1msgSend_1fpret__III=flags=cast
-OS_objc_1msgSend_1fpret__III_0=cast=(id)
-OS_objc_1msgSend_1fpret__III_1=cast=(SEL)
-OS_objc_1msgSend_1fpret__III_2=
-
-OS_objc_1msgSend_1fpret__IIII=flags=cast
-OS_objc_1msgSend_1fpret__IIII_0=cast=(id)
-OS_objc_1msgSend_1fpret__IIII_1=cast=(SEL)
-OS_objc_1msgSend_1fpret__IIII_2=
-OS_objc_1msgSend_1fpret__IIII_3=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2II_2=cast=(SEL)
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2II_2=cast=(SEL)
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2III_3=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2_3=flags=struct
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_3=flags=struct
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_4=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2II_2=cast=(SEL)
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2III_3=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_2=cast=(SEL)
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2III_3=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_3=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIII_4=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_3=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_4=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IIIIZ_5=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_3=flags=struct
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRange_2I_4=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2_3=flags=struct
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_3=flags=struct
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_4=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2II_2=cast=(SEL)
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2_3=flags=struct
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_3=flags=struct
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2I_4=
-
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI=flags=cast
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_0=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_1=cast=(id)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_2=cast=(SEL)
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_3=flags=struct
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_4=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_5=
-OS_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2IILorg_eclipse_swt_internal_cocoa_NSSize_2ZZI_6=
-
-OS_objc_registerClassPair=
-OS_objc_registerClassPair_0=cast=(Class)
-
-OS_objc_super_sizeof=
-
-OS_object_getClassName=
-OS_object_getClassName_0=cast=(id)
-
-OS_object_getInstanceVariable=
-OS_object_getInstanceVariable_0=cast=(id)
-OS_object_getInstanceVariable_1=cast=(const char *)
-OS_object_getInstanceVariable_2=cast=(void **)
-
-OS_object_setClass=
-OS_object_setClass_0=cast=(id)
-OS_object_setClass_1=cast=(Class)
-
-OS_object_setInstanceVariable=
-OS_object_setInstanceVariable_0=cast=(id)
-OS_object_setInstanceVariable_1=cast=(const char *)
-OS_object_setInstanceVariable_2=cast=(void *)
-
-OS_sel_registerName=
-OS_sel_registerName_0=cast=(const char *)
-
-OS_selectedRange_CALLBACK=flags=no_gen
-OS_selectedRange_CALLBACK_0=
-
-OS_setFrameOrigin_CALLBACK=flags=no_gen
-OS_setFrameOrigin_CALLBACK_0=
-
-OS_setFrameSize_CALLBACK=flags=no_gen
-OS_setFrameSize_CALLBACK_0=
-
-OS_setFrame_CALLBACK=flags=no_gen
-OS_setFrame_CALLBACK_0=
-
-OS_setMarkedText_selectedRange_CALLBACK=flags=no_gen
-OS_setMarkedText_selectedRange_CALLBACK_0=
-
-OS_textView_willChangeSelectionFromCharacterRange_toCharacterRange_CALLBACK=flags=no_gen
-OS_textView_willChangeSelectionFromCharacterRange_toCharacterRange_CALLBACK_0=
-
-OS_webView_setFrame_CALLBACK=flags=no_gen
-OS_webView_setFrame_CALLBACK_0=
-
-
-org_eclipse_swt_internal_cocoa_Protocol=
-
-org_eclipse_swt_internal_cocoa_SWTApplicationDelegate=
-
-org_eclipse_swt_internal_cocoa_SWTBox=
-
-org_eclipse_swt_internal_cocoa_SWTButton=
-
-org_eclipse_swt_internal_cocoa_SWTComboBox=
-
-org_eclipse_swt_internal_cocoa_SWTDatePicker=
-
-org_eclipse_swt_internal_cocoa_SWTImageView=
-
-org_eclipse_swt_internal_cocoa_SWTMenu=
-
-org_eclipse_swt_internal_cocoa_SWTMenuItem=
-
-org_eclipse_swt_internal_cocoa_SWTOutlineView=
-
-org_eclipse_swt_internal_cocoa_SWTPanelDelegate=
-
-org_eclipse_swt_internal_cocoa_SWTPopUpButton=
-
-org_eclipse_swt_internal_cocoa_SWTProgressIndicator=
-
-org_eclipse_swt_internal_cocoa_SWTScrollView=
-
-org_eclipse_swt_internal_cocoa_SWTScroller=
-
-org_eclipse_swt_internal_cocoa_SWTSearchField=
-
-org_eclipse_swt_internal_cocoa_SWTSecureTextField=
-
-org_eclipse_swt_internal_cocoa_SWTSlider=
-
-org_eclipse_swt_internal_cocoa_SWTStepper=
-
-org_eclipse_swt_internal_cocoa_SWTTabView=
-
-org_eclipse_swt_internal_cocoa_SWTTableHeaderCell=
-
-org_eclipse_swt_internal_cocoa_SWTTableView=
-
-org_eclipse_swt_internal_cocoa_SWTTextField=
-
-org_eclipse_swt_internal_cocoa_SWTTextView=
-
-org_eclipse_swt_internal_cocoa_SWTTreeItem=
-
-org_eclipse_swt_internal_cocoa_SWTView=
-
-org_eclipse_swt_internal_cocoa_SWTWebViewDelegate=
-
-org_eclipse_swt_internal_cocoa_SWTWindow=
-
-org_eclipse_swt_internal_cocoa_SWTWindowDelegate=
-
-org_eclipse_swt_internal_cocoa_WebDataSource=
-
-org_eclipse_swt_internal_cocoa_WebDocumentRepresentation=
-
-org_eclipse_swt_internal_cocoa_WebFrame=
-
-org_eclipse_swt_internal_cocoa_WebFrameView=
-
-org_eclipse_swt_internal_cocoa_WebOpenPanelResultListener=
-
-org_eclipse_swt_internal_cocoa_WebPolicyDecisionListener=
-
-org_eclipse_swt_internal_cocoa_WebPreferences=
-
-org_eclipse_swt_internal_cocoa_WebView=
-
-org_eclipse_swt_internal_cocoa_id=flags=no_gen
-id_id=
-
-org_eclipse_swt_internal_cocoa_objc_1super=flags=struct
-objc_super_receiver=cast=(id)
-objc_super_super_class=cast=(Class)
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gdip.Gdip.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gdip.Gdip.properties
index cf70023b18..45d2dcde49 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gdip.Gdip.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gdip.Gdip.properties
@@ -265,15 +265,15 @@ Gdip_Graphics_1DrawDriverString__IIIIILorg_eclipse_swt_internal_gdip_PointF_2II_
Gdip_Graphics_1DrawDriverString__IIIIILorg_eclipse_swt_internal_gdip_PointF_2II_6=
Gdip_Graphics_1DrawDriverString__IIIIILorg_eclipse_swt_internal_gdip_PointF_2II_7=cast=const Matrix *
-Gdip_Graphics_1DrawDriverString__IIIII_3FII=flags=no_gen
-Gdip_Graphics_1DrawDriverString__IIIII_3FII_0=
-Gdip_Graphics_1DrawDriverString__IIIII_3FII_1=
+Gdip_Graphics_1DrawDriverString__IIIII_3FII=flags=no_gen cpp
+Gdip_Graphics_1DrawDriverString__IIIII_3FII_0=cast=(Graphics *)
+Gdip_Graphics_1DrawDriverString__IIIII_3FII_1=cast=(const UINT16 *)
Gdip_Graphics_1DrawDriverString__IIIII_3FII_2=
-Gdip_Graphics_1DrawDriverString__IIIII_3FII_3=
-Gdip_Graphics_1DrawDriverString__IIIII_3FII_4=
-Gdip_Graphics_1DrawDriverString__IIIII_3FII_5=
+Gdip_Graphics_1DrawDriverString__IIIII_3FII_3=cast=const Font *
+Gdip_Graphics_1DrawDriverString__IIIII_3FII_4=cast=const Brush *
+Gdip_Graphics_1DrawDriverString__IIIII_3FII_5=cast=const PointF *
Gdip_Graphics_1DrawDriverString__IIIII_3FII_6=
-Gdip_Graphics_1DrawDriverString__IIIII_3FII_7=
+Gdip_Graphics_1DrawDriverString__IIIII_3FII_7=cast=const Matrix *
Gdip_Graphics_DrawEllipse=flags=cpp
Gdip_Graphics_DrawEllipse_0=cast=(Graphics *)
@@ -426,6 +426,16 @@ Gdip_Graphics_GetVisibleClipBounds=flags=cpp
Gdip_Graphics_GetVisibleClipBounds_0=cast=(Graphics *)
Gdip_Graphics_GetVisibleClipBounds_1=
+Gdip_Graphics_MeasureDriverString=flags=no_gen
+Gdip_Graphics_MeasureDriverString_0=
+Gdip_Graphics_MeasureDriverString_1=
+Gdip_Graphics_MeasureDriverString_2=
+Gdip_Graphics_MeasureDriverString_3=
+Gdip_Graphics_MeasureDriverString_4=
+Gdip_Graphics_MeasureDriverString_5=
+Gdip_Graphics_MeasureDriverString_6=
+Gdip_Graphics_MeasureDriverString_7=
+
Gdip_Graphics_1MeasureString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2ILorg_eclipse_swt_internal_gdip_RectF_2=flags=cpp
Gdip_Graphics_1MeasureString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2ILorg_eclipse_swt_internal_gdip_RectF_2_0=cast=(Graphics *)
Gdip_Graphics_1MeasureString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2ILorg_eclipse_swt_internal_gdip_RectF_2_1=cast=const WCHAR *
@@ -667,16 +677,6 @@ Gdip_Matrix_new_3=cast=(REAL)
Gdip_Matrix_new_4=cast=(REAL)
Gdip_Matrix_new_5=cast=(REAL)
-Gdip_Graphics_1MeasureDriverString=flags=no_gen
-Gdip_Graphics_1MeasureDriverString_0=
-Gdip_Graphics_1MeasureDriverString_1=
-Gdip_Graphics_1MeasureDriverString_2=
-Gdip_Graphics_1MeasureDriverString_3=
-Gdip_Graphics_1MeasureDriverString_4=
-Gdip_Graphics_1MeasureDriverString_5=
-Gdip_Graphics_1MeasureDriverString_6=
-Gdip_Graphics_1MeasureDriverString_7=
-
Gdip_MoveMemory__Lorg_eclipse_swt_internal_gdip_BitmapData_2I=
Gdip_MoveMemory__Lorg_eclipse_swt_internal_gdip_BitmapData_2I_0=cast=PVOID
Gdip_MoveMemory__Lorg_eclipse_swt_internal_gdip_BitmapData_2I_1=cast=CONST VOID*
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties
index 898e4d6780..145866bd0d 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties
@@ -833,9 +833,6 @@ COM_put_accValue_CALLBACK=flags=no_gen
COM_put_accValue_CALLBACK_0=
-org_eclipse_swt_internal_ole_win32_COMObject=flags=no_gen
-COMObject_ppVtable=
-
org_eclipse_swt_internal_ole_win32_CONTROLINFO=
CONTROLINFO_cb=
CONTROLINFO_hAccel=cast=(HACCEL)
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties
index 82b37ce80c..fd4d06ba78 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2007 IBM Corporation and others.
+# 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
@@ -254,6 +254,9 @@ OS_PgSetMultiClip=
OS_PgSetMultiClip_0=
OS_PgSetMultiClip_1=cast=(PhRect_t const *)
+OS_PgSetMultiClipTiles=
+OS_PgSetMultiClipTiles_0=
+
OS_PgSetPalette=
OS_PgSetPalette_0=cast=(PgColor_t const *)
OS_PgSetPalette_1=
@@ -289,6 +292,10 @@ OS_PgSetTextXORColor=
OS_PgSetTextXORColor_0=cast=(PgColor_t)
OS_PgSetTextXORColor_1=cast=(PgColor_t)
+OS_PgSetTranslation=
+OS_PgSetTranslation_0=
+OS_PgSetTranslation_1=
+
OS_PgSetUserClip=
OS_PgSetUserClip_0=cast=(PhRect_t const *)
@@ -734,6 +741,9 @@ OS_PtGetResources_0=cast=(PtWidget_t *)
OS_PtGetResources_1=
OS_PtGetResources_2=cast=(PtArg_t *)
+OS_PtGetVisibleTiles=
+OS_PtGetVisibleTiles_0=
+
OS_PtGlobalFocusNext=
OS_PtGlobalFocusNext_0=cast=(PtWidget_t *)
OS_PtGlobalFocusNext_1=cast=(PhEvent_t *)
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties
index b17e15bf56..394d5c5bb6 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.Win32.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2007 IBM Corporation and others.
+# 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
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties
index f9a29c3ad0..32ecc17dba 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.wpf.OS.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2007 IBM Corporation and others.
+# 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
diff --git a/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF b/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF
new file mode 100755
index 0000000000..3330e6578e
--- /dev/null
+++ b/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Bundle-Name: %pluginName
+Bundle-Vendor: %providerName
+Bundle-SymbolicName: org.eclipse.swt.tools; singleton:=true
+Bundle-Version: 3.5.0.qualifier
+Bundle-Activator: org.eclipse.swt.tools.Activator
+Bundle-ManifestVersion: 2
+Export-Package: org.eclipse.swt.tools,
+ org.eclipse.swt.tools.internal; x-internal:=true
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.swt;bundle-version="3.4.0",
+ org.eclipse.core.runtime;bundle-version="3.4.0",
+ org.eclipse.core.resources;bundle-version="3.4.0",
+ org.eclipse.jdt.core;bundle-version="3.4.0",
+ org.eclipse.ui;bundle-version="3.4.0",
+ org.eclipse.ui.editors;bundle-version="3.4.0"
diff --git a/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/AppKitFull.bridgesupport b/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/AppKitFull.bridgesupport
deleted file mode 100644
index 1c681dfef6..0000000000
--- a/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/AppKitFull.bridgesupport
+++ /dev/null
@@ -1,25393 +0,0 @@
-<?xml version='1.0'?>
-<signatures version='0.9'>
- <depends_on path='/System/Library/Frameworks/ApplicationServices.framework'/>
- <depends_on path='/System/Library/Frameworks/AudioToolbox.framework'/>
- <depends_on path='/System/Library/Frameworks/AudioUnit.framework'/>
- <depends_on path='/System/Library/Frameworks/CoreData.framework'/>
- <depends_on path='/System/Library/Frameworks/Foundation.framework'/>
- <depends_on path='/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework'/>
- <depends_on path='/System/Library/Frameworks/IOKit.framework'/>
- <depends_on path='/System/Library/Frameworks/QuartzCore.framework'/>
- <depends_on path='/System/Library/Frameworks/Security.framework'/>
- <depends_on path='/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework'/>
- <depends_on path='/System/Library/Frameworks/CoreAudio.framework'/>
- <depends_on path='/System/Library/Frameworks/DiskArbitration.framework'/>
- <depends_on path='/System/Library/Frameworks/CoreServices.framework'/>
- <depends_on path='/System/Library/Frameworks/CoreFoundation.framework'/>
- <opaque name='NSModalSession' type='^{_NSModalSession=}'/>
- <constant name='NSAbortModalException' declared_type='NSString*' type='@'/>
- <constant name='NSAbortPrintingException' declared_type='NSString*' type='@'/>
- <constant name='NSAccessibilityAllowedValuesAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityApplicationActivatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityApplicationDeactivatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityApplicationHiddenNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityApplicationRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityApplicationShownNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityAscendingSortDirectionValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityAttachmentTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityAttributedStringForRangeParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityBackgroundColorTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityBoundsForRangeParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityBrowserRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityBusyIndicatorRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityButtonRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCancelAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCancelButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCenterTabStopMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCentimetersUnitValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCheckBoxRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityChildrenAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityClearButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCloseButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCloseButtonSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityColorWellRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityColumnCountAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityColumnRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityColumnTitlesAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityColumnsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityComboBoxRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityConfirmAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityContentsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityCreatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDecimalTabStopMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDecrementAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDecrementArrowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDecrementButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDecrementPageSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDefaultButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDeleteAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDescendingSortDirectionValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDescriptionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDialogSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDisclosedByRowAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDisclosedRowsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDisclosingAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDisclosureLevelAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDisclosureTriangleRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDocumentAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDrawerCreatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityDrawerRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityEditedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityEnabledAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityErrorCodeExceptionInfo' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityException' declared_type='NSString*' type='@'/>
- <constant name='NSAccessibilityExpandedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFilenameAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFirstLineIndentMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFloatingWindowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFocusedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFocusedUIElementAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFocusedUIElementChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFocusedWindowAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFocusedWindowChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFontFamilyKey' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFontNameKey' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFontSizeKey' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFontTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityForegroundColorTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityFrontmostAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityGridRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityGroupRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityGrowAreaAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityGrowAreaRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHeadIndentMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHeaderAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHelpAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHelpTagCreatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHelpTagRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHiddenAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHorizontalOrientationValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityHorizontalScrollBarAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityImageRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityInchesUnitValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityIncrementAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityIncrementArrowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityIncrementButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityIncrementPageSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityIncrementorRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityIndexAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityInsertionPointLineNumberAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLabelUIElementsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLabelValueAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLeftTabStopMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLineForIndexParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLinkRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLinkTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityLinkedUIElementsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityListRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMainAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMainWindowAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMainWindowChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMarkerGroupUIElementAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMarkerTypeAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMarkerTypeDescriptionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMarkerUIElementsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMarkerValuesAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMatteContentUIElementAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMatteHoleAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMatteRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMaxValueAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMenuBarAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMenuBarRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMenuButtonRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMenuItemRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMenuRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMinValueAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMinimizeButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMinimizeButtonSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMinimizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMisspelledTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityModalAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityMovedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityNextContentsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityNumberOfCharactersAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityOrderedByRowAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityOrientationAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityOutlineRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityOutlineRowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityOverflowButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityParentAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPicasUnitValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPickAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPointsUnitValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPopUpButtonRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPositionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPressAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityPreviousContentsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityProgressIndicatorRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityProxyAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRTFForRangeParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRadioButtonRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRadioGroupRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRaiseAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRangeForIndexParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRangeForLineParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRangeForPositionParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityResizedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRightTabStopMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRoleAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRoleDescriptionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRowCountAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRowCountChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRowRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRowsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRulerMarkerRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityRulerRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityScrollAreaRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityScrollBarRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySearchButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySearchFieldSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySearchMenuAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySecureTextFieldSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedChildrenAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedChildrenChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedColumnsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedColumnsChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedRowsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedRowsChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedTextChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedTextRangeAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySelectedTextRangesAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityServesAsTitleForUIElementsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityShadowTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySharedCharacterRangeAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySharedTextUIElementsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySheetCreatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySheetRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityShowMenuAction' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityShownMenuAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySizeAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySliderRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySortButtonRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySortDirectionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySplitGroupRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySplitterRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySplittersAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityStandardWindowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityStaticTextRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityStrikethroughColorTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityStrikethroughTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityStringForRangeParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityStyleRangeForIndexParameterizedAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySubroleAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySuperscriptTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySystemDialogSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySystemFloatingWindowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilitySystemWideRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTabGroupRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTableRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTableRowSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTabsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTailIndentMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTextAreaRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTextAttachmentSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTextFieldRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTextLinkSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTimelineSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTitleAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTitleChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTitleUIElementAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityToolbarButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityToolbarButtonSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityToolbarRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityTopLevelUIElementAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUIElementDestroyedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityURLAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnderlineColorTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnderlineTextAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnitDescriptionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnitsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnknownMarkerTypeValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnknownRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnknownSortDirectionValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnknownSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityUnknownUnitValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityValueAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityValueChangedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityValueDescriptionAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityValueIndicatorRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVerticalOrientationValue' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVerticalScrollBarAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVisibleCharacterRangeAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVisibleChildrenAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVisibleColumnsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVisibleNameKey' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityVisibleRowsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowCreatedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowDeminiaturizedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowMiniaturizedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowMovedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowResizedNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowRole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityWindowsAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityZoomButtonAttribute' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAccessibilityZoomButtonSubrole' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSAlignmentBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAllRomanInputSourcesLocaleIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSAllowsEditingMultipleValuesSelectionBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSAllowsNullArgumentBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSAlternateImageBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAlternateTitleBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAlwaysPresentsApplicationModalAlertsBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSAnimateBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAnimationDelayBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAnimationProgressMark' declared_type='NSString*' type='@'/>
- <constant name='NSAnimationProgressMarkNotification' declared_type='NSString*' type='@'/>
- <constant name='NSAnimationTriggerOrderIn' declared_type='NSString*' type='@'/>
- <constant name='NSAnimationTriggerOrderOut' declared_type='NSString*' type='@'/>
- <constant name='NSAntialiasThresholdChangedNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApp' declared_type='id' type='@'/>
- <constant name='NSAppKitIgnoredException' declared_type='NSString*' type='@'/>
- <constant name='NSAppKitVersionNumber' declared_type='double' type='d' const='true'/>
- <constant name='NSAppKitVirtualMemoryException' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidBecomeActiveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidChangeScreenParametersNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidFinishLaunchingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidHideNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidResignActiveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidUnhideNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationDidUpdateNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationFileType' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillBecomeActiveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillFinishLaunchingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillHideNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillResignActiveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillTerminateNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillUnhideNotification' declared_type='NSString*' type='@'/>
- <constant name='NSApplicationWillUpdateNotification' declared_type='NSString*' type='@'/>
- <constant name='NSArgumentBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAttachmentAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSAttributedStringBinding' declared_type='NSString*' type='@'/>
- <constant name='NSAuthorDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSBackgroundColorAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSBackgroundColorDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSBadBitmapParametersException' declared_type='NSString*' type='@'/>
- <constant name='NSBadComparisonException' declared_type='NSString*' type='@'/>
- <constant name='NSBadRTFColorTableException' declared_type='NSString*' type='@'/>
- <constant name='NSBadRTFDirectiveException' declared_type='NSString*' type='@'/>
- <constant name='NSBadRTFFontTableException' declared_type='NSString*' type='@'/>
- <constant name='NSBadRTFStyleSheetException' declared_type='NSString*' type='@'/>
- <constant name='NSBaseURLDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSBaselineOffsetAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSBlack' declared_type='CGFloat' type='f' type64='d' const='true'/>
- <constant name='NSBottomMarginDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSBrowserColumnConfigurationDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSBrowserIllegalDelegateException' declared_type='NSString*' type='@'/>
- <constant name='NSCalibratedBlackColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSCalibratedRGBColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSCalibratedWhiteColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSCharacterEncodingDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSCharacterEncodingDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSCharacterShapeAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSCocoaVersionDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSColorListDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSColorListIOException' declared_type='NSString*' type='@'/>
- <constant name='NSColorListNotEditableException' declared_type='NSString*' type='@'/>
- <constant name='NSColorPanelColorDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSColorPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSComboBoxSelectionDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSComboBoxSelectionIsChangingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSComboBoxWillDismissNotification' declared_type='NSString*' type='@'/>
- <constant name='NSComboBoxWillPopUpNotification' declared_type='NSString*' type='@'/>
- <constant name='NSCommentDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSCompanyDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSConditionallySetsEditableBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSConditionallySetsEnabledBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSConditionallySetsHiddenBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSContentArrayBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentArrayForMultipleSelectionBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentDictionaryBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentHeightBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentObjectBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentObjectsBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentPlacementTagBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSContentSetBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentValuesBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContentWidthBinding' declared_type='NSString*' type='@'/>
- <constant name='NSContextHelpModeDidActivateNotification' declared_type='NSString*' type='@'/>
- <constant name='NSContextHelpModeDidDeactivateNotification' declared_type='NSString*' type='@'/>
- <constant name='NSContinuouslyUpdatesValueBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSControlTextDidBeginEditingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSControlTextDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSControlTextDidEndEditingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSControlTintDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSConvertedDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSCopyrightDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSCreatesSortDescriptorBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSCreationTimeDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSCriticalValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSCursorAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSCustomColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSDarkGray' declared_type='CGFloat' type='f' type64='d' const='true'/>
- <constant name='NSDataBinding' declared_type='NSString*' type='@'/>
- <constant name='NSDefaultAttributesDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSDefaultTabIntervalDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSDeletesObjectsOnRemoveBindingsOption' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceBitsPerSample' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceBlackColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceCMYKColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceColorSpaceName' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceIsPrinter' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceIsScreen' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceRGBColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceResolution' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceSize' declared_type='NSString*' type='@'/>
- <constant name='NSDeviceWhiteColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSDirectoryFileType' declared_type='NSString*' type='@'/>
- <constant name='NSDisplayNameBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSDisplayPatternBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSDisplayPatternTitleBinding' declared_type='NSString*' type='@'/>
- <constant name='NSDisplayPatternValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSDocFormatTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSDocumentEditedBinding' declared_type='NSString*' type='@'/>
- <constant name='NSDocumentTypeDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSDocumentTypeDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSDoubleClickArgumentBinding' declared_type='NSString*' type='@'/>
- <constant name='NSDoubleClickTargetBinding' declared_type='NSString*' type='@'/>
- <constant name='NSDragPboard' declared_type='NSString*' type='@'/>
- <constant name='NSDraggingException' declared_type='NSString*' type='@'/>
- <constant name='NSDrawerDidCloseNotification' declared_type='NSString*' type='@'/>
- <constant name='NSDrawerDidOpenNotification' declared_type='NSString*' type='@'/>
- <constant name='NSDrawerWillCloseNotification' declared_type='NSString*' type='@'/>
- <constant name='NSDrawerWillOpenNotification' declared_type='NSString*' type='@'/>
- <constant name='NSEditableBinding' declared_type='NSString*' type='@'/>
- <constant name='NSEditorDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSEnabledBinding' declared_type='NSString*' type='@'/>
- <constant name='NSEventTrackingRunLoopMode' declared_type='NSString*' type='@'/>
- <constant name='NSExcludedElementsDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSExcludedKeysBinding' declared_type='NSString*' type='@'/>
- <constant name='NSExpansionAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSFileContentsPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSFilenamesPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSFilesPromisePboardType' declared_type='NSString*' type='@'/>
- <constant name='NSFilesystemFileType' declared_type='NSString*' type='@'/>
- <constant name='NSFilterPredicateBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFindPanelCaseInsensitiveSearch' declared_type='NSString*' type='@'/>
- <constant name='NSFindPanelSearchOptionsPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSFindPanelSubstringMatch' declared_type='NSString*' type='@'/>
- <constant name='NSFindPboard' declared_type='NSString*' type='@'/>
- <constant name='NSFontAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSFontBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFontBoldBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFontCascadeListAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontCharacterSetAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontFaceAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontFamilyAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontFamilyNameBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFontFeatureSelectorIdentifierKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontFeatureSettingsAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontFeatureTypeIdentifierKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontFixedAdvanceAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontIdentityMatrix' declared_type='CGFloat*' type='^f' type64='^d' const='true'/>
- <constant name='NSFontItalicBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFontMatrixAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontNameAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontNameBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFontPboard' declared_type='NSString*' type='@'/>
- <constant name='NSFontPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSFontSetChangedNotification' declared_type='NSString*' type='@'/>
- <constant name='NSFontSizeAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontSizeBinding' declared_type='NSString*' type='@'/>
- <constant name='NSFontSlantTrait' declared_type='NSString*' type='@'/>
- <constant name='NSFontSymbolicTrait' declared_type='NSString*' type='@'/>
- <constant name='NSFontTraitsAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontUnavailableException' declared_type='NSString*' type='@'/>
- <constant name='NSFontVariationAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontVariationAxisDefaultValueKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontVariationAxisIdentifierKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontVariationAxisMaximumValueKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontVariationAxisMinimumValueKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontVariationAxisNameKey' declared_type='NSString*' type='@'/>
- <constant name='NSFontVisibleNameAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSFontWeightTrait' declared_type='NSString*' type='@'/>
- <constant name='NSFontWidthTrait' declared_type='NSString*' type='@'/>
- <constant name='NSForegroundColorAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSFullScreenModeAllScreens' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSFullScreenModeSetting' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSFullScreenModeWindowLevel' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSGeneralPboard' declared_type='NSString*' type='@'/>
- <constant name='NSGlyphInfoAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSGraphicsContextDestinationAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSGraphicsContextPDFFormat' declared_type='NSString*' type='@'/>
- <constant name='NSGraphicsContextPSFormat' declared_type='NSString*' type='@'/>
- <constant name='NSGraphicsContextRepresentationFormatAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSHTMLPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSHTMLTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSHandlesContentAsCompoundValueBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSHeaderTitleBinding' declared_type='NSString*' type='@'/>
- <constant name='NSHiddenBinding' declared_type='NSString*' type='@'/>
- <constant name='NSHyphenationFactorDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSIllegalSelectorException' declared_type='NSString*' type='@'/>
- <constant name='NSImageBinding' declared_type='NSString*' type='@'/>
- <constant name='NSImageCacheException' declared_type='NSString*' type='@'/>
- <constant name='NSImageColorSyncProfileData' declared_type='NSString*' type='@'/>
- <constant name='NSImageCompressionFactor' declared_type='NSString*' type='@'/>
- <constant name='NSImageCompressionMethod' declared_type='NSString*' type='@'/>
- <constant name='NSImageCurrentFrame' declared_type='NSString*' type='@'/>
- <constant name='NSImageCurrentFrameDuration' declared_type='NSString*' type='@'/>
- <constant name='NSImageDitherTransparency' declared_type='NSString*' type='@'/>
- <constant name='NSImageEXIFData' declared_type='NSString*' type='@'/>
- <constant name='NSImageFallbackBackgroundColor' declared_type='NSString*' type='@'/>
- <constant name='NSImageFrameCount' declared_type='NSString*' type='@'/>
- <constant name='NSImageGamma' declared_type='NSString*' type='@'/>
- <constant name='NSImageInterlaced' declared_type='NSString*' type='@'/>
- <constant name='NSImageLoopCount' declared_type='NSString*' type='@'/>
- <constant name='NSImageNameActionTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameAddTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameAdvanced' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameBluetoothTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameBonjour' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameColorPanel' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameColumnViewTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameComputer' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameDotMac' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameEnterFullScreenTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameEveryone' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameExitFullScreenTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameFlowViewTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameFolderBurnable' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameFolderSmart' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameFollowLinkFreestandingTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameFontPanel' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameGoLeftTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameGoRightTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameIChatTheaterTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameIconViewTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameInfo' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameInvalidDataFreestandingTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameLeftFacingTriangleTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameListViewTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameLockLockedTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameLockUnlockedTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameMultipleDocuments' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameNetwork' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNamePathTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNamePreferencesGeneral' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameQuickLookTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameRefreshFreestandingTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameRefreshTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameRemoveTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameRevealFreestandingTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameRightFacingTriangleTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameSlideshowTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameSmartBadgeTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameStopProgressFreestandingTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameStopProgressTemplate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameUser' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameUserAccounts' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageNameUserGroup' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSImageProgressive' declared_type='NSString*' type='@'/>
- <constant name='NSImageRGBColorTable' declared_type='NSString*' type='@'/>
- <constant name='NSImageRepRegistryDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSIncludedKeysBinding' declared_type='NSString*' type='@'/>
- <constant name='NSInitialKeyBinding' declared_type='NSString*' type='@'/>
- <constant name='NSInitialValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSInkTextPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSInsertsNullPlaceholderBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSInterfaceStyleDefault' declared_type='NSString*' type='@'/>
- <constant name='NSInvokesSeparatelyWithArrayObjectsBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSIsIndeterminateBinding' declared_type='NSString*' type='@'/>
- <constant name='NSKernAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSKeywordsDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSLabelBinding' declared_type='NSString*' type='@'/>
- <constant name='NSLeftMarginDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSLigatureAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSLightGray' declared_type='CGFloat' type='f' type64='d' const='true'/>
- <constant name='NSLinkAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSLocalizedKeyDictionaryBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMacSimpleTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSManagedObjectContextBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMarkedClauseSegmentAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSMaxValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMaxWidthBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMaximumRecentsBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMenuDidAddItemNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMenuDidBeginTrackingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMenuDidChangeItemNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMenuDidEndTrackingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMenuDidRemoveItemNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMenuDidSendActionNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMenuWillSendActionNotification' declared_type='NSString*' type='@'/>
- <constant name='NSMinValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMinWidthBinding' declared_type='NSString*' type='@'/>
- <constant name='NSMixedStateImageBinding' declared_type='NSString*' type='@'/>
- <constant name='NSModalPanelRunLoopMode' declared_type='NSString*' type='@'/>
- <constant name='NSModificationTimeDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSMultipleTextSelectionPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSMultipleValuesMarker' declared_type='id' type='@'/>
- <constant name='NSMultipleValuesPlaceholderBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSNamedColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSNibLoadingException' declared_type='NSString*' type='@'/>
- <constant name='NSNibOwner' declared_type='NSString*' type='@'/>
- <constant name='NSNibTopLevelObjects' declared_type='NSString*' type='@'/>
- <constant name='NSNoSelectionMarker' declared_type='id' type='@'/>
- <constant name='NSNoSelectionPlaceholderBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSNotApplicableMarker' declared_type='id' type='@'/>
- <constant name='NSNotApplicablePlaceholderBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSNullPlaceholderBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSObliquenessAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSObservedKeyPathKey' declared_type='NSString*' type='@'/>
- <constant name='NSObservedObjectKey' declared_type='NSString*' type='@'/>
- <constant name='NSOffStateImageBinding' declared_type='NSString*' type='@'/>
- <constant name='NSOfficeOpenXMLTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSOnStateImageBinding' declared_type='NSString*' type='@'/>
- <constant name='NSOpenDocumentTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSOptionsKey' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewColumnDidMoveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewColumnDidResizeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewItemDidCollapseNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewItemDidExpandNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewItemWillCollapseNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewItemWillExpandNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewSelectionDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSOutlineViewSelectionIsChangingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSPDFPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSPICTPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSPPDIncludeNotFoundException' declared_type='NSString*' type='@'/>
- <constant name='NSPPDIncludeStackOverflowException' declared_type='NSString*' type='@'/>
- <constant name='NSPPDIncludeStackUnderflowException' declared_type='NSString*' type='@'/>
- <constant name='NSPPDParseException' declared_type='NSString*' type='@'/>
- <constant name='NSPaperSizeDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSParagraphStyleAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSPasteboardCommunicationException' declared_type='NSString*' type='@'/>
- <constant name='NSPatternColorSpace' declared_type='NSString*' type='@'/>
- <constant name='NSPlainFileType' declared_type='NSString*' type='@'/>
- <constant name='NSPlainTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSPopUpButtonCellWillPopUpNotification' declared_type='NSString*' type='@'/>
- <constant name='NSPopUpButtonWillPopUpNotification' declared_type='NSString*' type='@'/>
- <constant name='NSPostScriptPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSPredicateBinding' declared_type='NSString*' type='@'/>
- <constant name='NSPredicateFormatBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSPrefixSpacesDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSPrintAllPages' declared_type='NSString*' type='@'/>
- <constant name='NSPrintBottomMargin' declared_type='NSString*' type='@'/>
- <constant name='NSPrintCancelJob' declared_type='NSString*' type='@'/>
- <constant name='NSPrintCopies' declared_type='NSString*' type='@'/>
- <constant name='NSPrintDetailedErrorReporting' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxCoverSheetName' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxHighResolution' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxJob' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxModem' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxNumber' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxReceiverNames' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxReceiverNumbers' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxReturnReceipt' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxSendTime' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxTrimPageEnds' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFaxUseCoverSheet' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFirstPage' declared_type='NSString*' type='@'/>
- <constant name='NSPrintFormName' declared_type='NSString*' type='@'/>
- <constant name='NSPrintHeaderAndFooter' declared_type='NSString*' type='@'/>
- <constant name='NSPrintHorizontalPagination' declared_type='NSString*' type='@'/>
- <constant name='NSPrintHorizontallyCentered' declared_type='NSString*' type='@'/>
- <constant name='NSPrintJobDisposition' declared_type='NSString*' type='@'/>
- <constant name='NSPrintJobFeatures' declared_type='NSString*' type='@'/>
- <constant name='NSPrintLastPage' declared_type='NSString*' type='@'/>
- <constant name='NSPrintLeftMargin' declared_type='NSString*' type='@'/>
- <constant name='NSPrintManualFeed' declared_type='NSString*' type='@'/>
- <constant name='NSPrintMustCollate' declared_type='NSString*' type='@'/>
- <constant name='NSPrintOperationExistsException' declared_type='NSString*' type='@'/>
- <constant name='NSPrintOrientation' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPackageException' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPagesAcross' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPagesDown' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPagesPerSheet' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPanelAccessorySummaryItemDescriptionKey' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPanelAccessorySummaryItemNameKey' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPaperFeed' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPaperName' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPaperSize' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPhotoJobStyleHint' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPreviewJob' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPrinter' declared_type='NSString*' type='@'/>
- <constant name='NSPrintPrinterName' declared_type='NSString*' type='@'/>
- <constant name='NSPrintReversePageOrder' declared_type='NSString*' type='@'/>
- <constant name='NSPrintRightMargin' declared_type='NSString*' type='@'/>
- <constant name='NSPrintSaveJob' declared_type='NSString*' type='@'/>
- <constant name='NSPrintSavePath' declared_type='NSString*' type='@'/>
- <constant name='NSPrintScalingFactor' declared_type='NSString*' type='@'/>
- <constant name='NSPrintSpoolJob' declared_type='NSString*' type='@'/>
- <constant name='NSPrintTime' declared_type='NSString*' type='@'/>
- <constant name='NSPrintTopMargin' declared_type='NSString*' type='@'/>
- <constant name='NSPrintVerticalPagination' declared_type='NSString*' type='@'/>
- <constant name='NSPrintVerticallyCentered' declared_type='NSString*' type='@'/>
- <constant name='NSPrintingCommunicationException' declared_type='NSString*' type='@'/>
- <constant name='NSRTFDPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSRTFDTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSRTFPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSRTFPropertyStackOverflowException' declared_type='NSString*' type='@'/>
- <constant name='NSRTFTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSRaisesForNotApplicableKeysBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSReadOnlyDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSRecentSearchesBinding' declared_type='NSString*' type='@'/>
- <constant name='NSRepresentedFilenameBinding' declared_type='NSString*' type='@'/>
- <constant name='NSRightMarginDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSRowHeightBinding' declared_type='NSString*' type='@'/>
- <constant name='NSRuleEditorPredicateComparisonModifier' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorPredicateCompoundType' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorPredicateCustomSelector' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorPredicateLeftExpression' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorPredicateOperatorType' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorPredicateOptions' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorPredicateRightExpression' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRuleEditorRowsDidChangeNotification' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSRulerPboard' declared_type='NSString*' type='@'/>
- <constant name='NSRulerPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedIdentifierBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedIndexBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedLabelBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedObjectBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedObjectsBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedTagBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectedValuesBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectionIndexPathsBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectionIndexesBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSelectorNameBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSSelectsAllWhenSettingContentBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSShadowAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSShellCommandFileType' declared_type='NSString*' type='@'/>
- <constant name='NSSortDescriptorsBinding' declared_type='NSString*' type='@'/>
- <constant name='NSSoundPboardType' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechCharacterModeProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechCommandDelimiterProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechCommandPrefix' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechCommandSuffix' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechCurrentVoiceProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechDictionaryAbbreviations' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechDictionaryEntryPhonemes' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechDictionaryEntrySpelling' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechDictionaryLocaleIdentifier' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechDictionaryModificationDate' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechDictionaryPronunciations' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechErrorCount' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechErrorNewestCharacterOffset' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechErrorNewestCode' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechErrorOldestCharacterOffset' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechErrorOldestCode' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechErrorsProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechInputModeProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechModeLiteral' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechModeNormal' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechModePhoneme' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechModeText' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechNumberModeProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechOutputToFileURLProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPhonemeInfoExample' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPhonemeInfoHiliteEnd' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPhonemeInfoHiliteStart' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPhonemeInfoOpcode' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPhonemeInfoSymbol' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPhonemeSymbolsProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPitchBaseProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechPitchModProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechRateProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechRecentSyncProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechResetProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechStatusNumberOfCharactersLeft' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechStatusOutputBusy' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechStatusOutputPaused' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechStatusPhonemeCode' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechStatusProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechSynthesizerInfoIdentifier' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechSynthesizerInfoProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechSynthesizerInfoVersion' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpeechVolumeProperty' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSSpellingStateAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSSplitViewDidResizeSubviewsNotification' declared_type='NSString*' type='@'/>
- <constant name='NSSplitViewWillResizeSubviewsNotification' declared_type='NSString*' type='@'/>
- <constant name='NSStrikethroughColorAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSStrikethroughStyleAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSStringPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSStrokeColorAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSStrokeWidthAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSSubjectDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSSuperscriptAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSSystemColorsDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTIFFException' declared_type='NSString*' type='@'/>
- <constant name='NSTIFFPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSTabColumnTerminatorsAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSTableViewColumnDidMoveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTableViewColumnDidResizeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTableViewSelectionDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTableViewSelectionIsChangingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTabularTextPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSTargetBinding' declared_type='NSString*' type='@'/>
- <constant name='NSTextColorBinding' declared_type='NSString*' type='@'/>
- <constant name='NSTextDidBeginEditingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextDidEndEditingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextEncodingNameDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSTextEncodingNameDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSTextLineTooLongException' declared_type='NSString*' type='@'/>
- <constant name='NSTextNoSelectionException' declared_type='NSString*' type='@'/>
- <constant name='NSTextReadException' declared_type='NSString*' type='@'/>
- <constant name='NSTextSizeMultiplierDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSTextStorageDidProcessEditingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextStorageWillProcessEditingNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextViewDidChangeSelectionNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextViewDidChangeTypingAttributesNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextViewWillChangeNotifyingTextViewNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTextWriteException' declared_type='NSString*' type='@'/>
- <constant name='NSTimeoutDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSTitleBinding' declared_type='NSString*' type='@'/>
- <constant name='NSTitleDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSToolTipAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSToolTipBinding' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarCustomizeToolbarItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarDidRemoveItemNotification' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarFlexibleSpaceItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarPrintItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarSeparatorItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarShowColorsItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarShowFontsItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarSpaceItemIdentifier' declared_type='NSString*' type='@'/>
- <constant name='NSToolbarWillAddItemNotification' declared_type='NSString*' type='@'/>
- <constant name='NSTopMarginDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSTransparentBinding' declared_type='NSString*' type='@'/>
- <constant name='NSTypedStreamVersionException' declared_type='NSString*' type='@'/>
- <constant name='NSURLPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSUnderlineByWordMask' declared_type='NSUInteger' type='I' type64='Q'/>
- <constant name='NSUnderlineColorAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSUnderlineStrikethroughMask' declared_type='NSUInteger' type='I' type64='Q'/>
- <constant name='NSUnderlineStyleAttributeName' declared_type='NSString*' type='@'/>
- <constant name='NSVCardPboardType' declared_type='NSString*' type='@'/>
- <constant name='NSValidatesImmediatelyBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSValuePathBinding' declared_type='NSString*' type='@'/>
- <constant name='NSValueTransformerBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSValueTransformerNameBindingOption' declared_type='NSString*' type='@'/>
- <constant name='NSValueURLBinding' declared_type='NSString*' type='@'/>
- <constant name='NSViewAnimationEffectKey' declared_type='NSString*' type='@'/>
- <constant name='NSViewAnimationEndFrameKey' declared_type='NSString*' type='@'/>
- <constant name='NSViewAnimationFadeInEffect' declared_type='NSString*' type='@'/>
- <constant name='NSViewAnimationFadeOutEffect' declared_type='NSString*' type='@'/>
- <constant name='NSViewAnimationStartFrameKey' declared_type='NSString*' type='@'/>
- <constant name='NSViewAnimationTargetKey' declared_type='NSString*' type='@'/>
- <constant name='NSViewBoundsDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSViewDidUpdateTrackingAreasNotification' declared_type='NSString*' type='@'/>
- <constant name='NSViewFocusDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSViewFrameDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSViewGlobalFrameDidChangeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSViewModeDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSViewSizeDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSViewZoomDocumentAttribute' declared_type='NSString*' type='@'/>
- <constant name='NSVisibleBinding' declared_type='NSString*' type='@'/>
- <constant name='NSVoiceAge' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceDemoText' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceGender' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceGenderFemale' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceGenderMale' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceGenderNeuter' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceIdentifier' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceIndividuallySpokenCharacters' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceLocaleIdentifier' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceName' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSVoiceSupportedCharacters' declared_type='NSString*' type='@' const='true'/>
- <constant name='NSWarningValueBinding' declared_type='NSString*' type='@'/>
- <constant name='NSWebArchiveTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSWebPreferencesDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSWebResourceLoadDelegateDocumentOption' declared_type='NSString*' type='@'/>
- <constant name='NSWhite' declared_type='CGFloat' type='f' type64='d' const='true'/>
- <constant name='NSWidthBinding' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidBecomeKeyNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidBecomeMainNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidChangeScreenNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidChangeScreenProfileNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidDeminiaturizeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidEndSheetNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidExposeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidMiniaturizeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidMoveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidResignKeyNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidResignMainNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidResizeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowDidUpdateNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowServerCommunicationException' declared_type='NSString*' type='@'/>
- <constant name='NSWindowWillBeginSheetNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowWillCloseNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowWillMiniaturizeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWindowWillMoveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWordMLTextDocumentType' declared_type='NSString*' type='@'/>
- <constant name='NSWordTablesReadException' declared_type='NSString*' type='@'/>
- <constant name='NSWordTablesWriteException' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceCompressOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceCopyOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDecompressOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDecryptOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDestroyOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDidLaunchApplicationNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDidMountNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDidPerformFileOperationNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDidTerminateApplicationNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDidUnmountNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDidWakeNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceDuplicateOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceEncryptOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceLinkOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceMoveOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceRecycleOperation' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceSessionDidBecomeActiveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceSessionDidResignActiveNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceWillLaunchApplicationNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceWillPowerOffNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceWillSleepNotification' declared_type='NSString*' type='@'/>
- <constant name='NSWorkspaceWillUnmountNotification' declared_type='NSString*' type='@'/>
- <enum name='NSAWTEventType' value='16'/>
- <enum name='NSAboveBottom' value='4'/>
- <enum name='NSAboveTop' value='1'/>
- <enum name='NSAddTraitFontAction' value='2'/>
- <enum name='NSAdobeCNS1CharacterCollection' value='1'/>
- <enum name='NSAdobeGB1CharacterCollection' value='2'/>
- <enum name='NSAdobeJapan1CharacterCollection' value='3'/>
- <enum name='NSAdobeJapan2CharacterCollection' value='4'/>
- <enum name='NSAdobeKorea1CharacterCollection' value='5'/>
- <enum name='NSAlertAlternateReturn' value='0'/>
- <enum name='NSAlertDefaultReturn' value='1'/>
- <enum name='NSAlertErrorReturn' value='-2'/>
- <enum name='NSAlertFirstButtonReturn' value='1000'/>
- <enum name='NSAlertOtherReturn' value='-1'/>
- <enum name='NSAlertSecondButtonReturn' value='1001'/>
- <enum name='NSAlertThirdButtonReturn' value='1002'/>
- <enum name='NSAllScrollerParts' value='2'/>
- <enum name='NSAlphaFirstBitmapFormat' value='1'/>
- <enum name='NSAlphaNonpremultipliedBitmapFormat' value='2'/>
- <enum name='NSAlphaShiftKeyMask' value='65536'/>
- <enum name='NSAlternateKeyMask' value='524288'/>
- <enum name='NSAnimationBlocking' value='0'/>
- <enum name='NSAnimationEaseIn' value='1'/>
- <enum name='NSAnimationEaseInOut' value='0'/>
- <enum name='NSAnimationEaseOut' value='2'/>
- <enum name='NSAnimationEffectDisappearingItemDefault' value='0'/>
- <enum name='NSAnimationEffectPoof' value='10'/>
- <enum name='NSAnimationLinear' value='3'/>
- <enum name='NSAnimationNonblocking' value='1'/>
- <enum name='NSAnimationNonblockingThreaded' value='2'/>
- <enum name='NSAnyEventMask' value='-1'/>
- <enum name='NSAnyType' value='0'/>
- <enum name='NSAppKitDefined' value='13'/>
- <enum name='NSAppKitDefinedMask' value='8192'/>
- <enum name='NSAppKitVersionNumber10_0' value='577'/>
- <enum name='NSAppKitVersionNumber10_1' value='620'/>
- <enum name='NSAppKitVersionNumber10_2' value='663'/>
- <enum name='NSAppKitVersionNumber10_2_3' value='663.60000000000002'/>
- <enum name='NSAppKitVersionNumber10_3' value='743'/>
- <enum name='NSAppKitVersionNumber10_3_2' value='743.13999999999999'/>
- <enum name='NSAppKitVersionNumber10_3_3' value='743.20000000000005'/>
- <enum name='NSAppKitVersionNumber10_3_5' value='743.24000000000001'/>
- <enum name='NSAppKitVersionNumber10_3_7' value='743.33000000000004'/>
- <enum name='NSAppKitVersionNumber10_3_9' value='743.36000000000001'/>
- <enum name='NSAppKitVersionNumber10_4' value='824'/>
- <enum name='NSAppKitVersionNumberWithColumnResizingBrowser' value='685.00000000000000'/>
- <enum name='NSAppKitVersionNumberWithContinuousScrollingBrowser' value='680.00000000000000'/>
- <enum name='NSAppKitVersionNumberWithCursorSizeSupport' value='682.00000000000000'/>
- <enum name='NSAppKitVersionNumberWithCustomSheetPosition' value='686.00000000000000'/>
- <enum name='NSAppKitVersionNumberWithDirectionalTabs' value='631.00000000000000'/>
- <enum name='NSAppKitVersionNumberWithPatternColorLeakFix' value='641.00000000000000'/>
- <enum name='NSApplicationActivatedEventType' value='1'/>
- <enum name='NSApplicationDeactivatedEventType' value='2'/>
- <enum name='NSApplicationDefined' value='15'/>
- <enum name='NSApplicationDefinedMask' value='32768'/>
- <enum name='NSApplicationDelegateReplyCancel' value='1'/>
- <enum name='NSApplicationDelegateReplyFailure' value='2'/>
- <enum name='NSApplicationDelegateReplySuccess' value='0'/>
- <enum name='NSAscendingPageOrder' value='1'/>
- <enum name='NSAtBottom' value='5'/>
- <enum name='NSAtTop' value='2'/>
- <enum name='NSAttachmentCharacter' value='65532'/>
- <enum name='NSAutoPagination' value='0'/>
- <enum name='NSAutosaveOperation' value='3'/>
- <enum name='NSBMPFileType' value='1'/>
- <enum name='NSBackTabCharacter' value='25'/>
- <enum name='NSBackgroundStyleDark' value='1'/>
- <enum name='NSBackgroundStyleLight' value='0'/>
- <enum name='NSBackgroundStyleLowered' value='3'/>
- <enum name='NSBackgroundStyleRaised' value='2'/>
- <enum name='NSBackgroundTab' value='1'/>
- <enum name='NSBackingStoreBuffered' value='2'/>
- <enum name='NSBackingStoreNonretained' value='1'/>
- <enum name='NSBackingStoreRetained' value='0'/>
- <enum name='NSBackspaceCharacter' value='8'/>
- <enum name='NSBacktabTextMovement' value='18'/>
- <enum name='NSBeginFunctionKey' value='63274'/>
- <enum name='NSBelowBottom' value='6'/>
- <enum name='NSBelowTop' value='3'/>
- <enum name='NSBevelLineJoinStyle' value='2'/>
- <enum name='NSBezelBorder' value='2'/>
- <enum name='NSBlueControlTint' value='1'/>
- <enum name='NSBoldFontMask' value='2'/>
- <enum name='NSBorderlessWindowMask' value='0'/>
- <enum name='NSBottomTabsBezelBorder' value='2'/>
- <enum name='NSBoxCustom' value='4'/>
- <enum name='NSBoxOldStyle' value='3'/>
- <enum name='NSBoxPrimary' value='0'/>
- <enum name='NSBoxSecondary' value='1'/>
- <enum name='NSBoxSeparator' value='2'/>
- <enum name='NSBreakFunctionKey' value='63282'/>
- <enum name='NSBrowserAutoColumnResizing' value='1'/>
- <enum name='NSBrowserDropAbove' value='1'/>
- <enum name='NSBrowserDropOn' value='0'/>
- <enum name='NSBrowserNoColumnResizing' value='0'/>
- <enum name='NSBrowserUserColumnResizing' value='2'/>
- <enum name='NSButtLineCapStyle' value='0'/>
- <enum name='NSCMYKColorSpaceModel' value='2'/>
- <enum name='NSCMYKModeColorPanel' value='2'/>
- <enum name='NSCancelButton' value='0'/>
- <enum name='NSCancelTextMovement' value='23'/>
- <enum name='NSCarriageReturnCharacter' value='13'/>
- <enum name='NSCellAllowsMixedState' value='16'/>
- <enum name='NSCellChangesContents' value='14'/>
- <enum name='NSCellDisabled' value='0'/>
- <enum name='NSCellEditable' value='3'/>
- <enum name='NSCellHasImageHorizontal' value='12'/>
- <enum name='NSCellHasImageOnLeftOrBottom' value='13'/>
- <enum name='NSCellHasOverlappingImage' value='11'/>
- <enum name='NSCellHighlighted' value='5'/>
- <enum name='NSCellHitContentArea' value='1'/>
- <enum name='NSCellHitEditableTextArea' value='2'/>
- <enum name='NSCellHitNone' value='0'/>
- <enum name='NSCellHitTrackableArea' value='4'/>
- <enum name='NSCellIsBordered' value='10'/>
- <enum name='NSCellIsInsetButton' value='15'/>
- <enum name='NSCellLightsByBackground' value='9'/>
- <enum name='NSCellLightsByContents' value='6'/>
- <enum name='NSCellLightsByGray' value='7'/>
- <enum name='NSCellState' value='1'/>
- <enum name='NSCenterTabStopType' value='2'/>
- <enum name='NSCenterTextAlignment' value='2'/>
- <enum name='NSChangeAutosaved' value='4'/>
- <enum name='NSChangeBackgroundCell' value='8'/>
- <enum name='NSChangeBackgroundCellMask' value='8'/>
- <enum name='NSChangeCleared' value='2'/>
- <enum name='NSChangeDone' value='0'/>
- <enum name='NSChangeGrayCell' value='4'/>
- <enum name='NSChangeGrayCellMask' value='4'/>
- <enum name='NSChangeReadOtherContents' value='3'/>
- <enum name='NSChangeRedone' value='5'/>
- <enum name='NSChangeUndone' value='1'/>
- <enum name='NSCircularBezelStyle' value='7'/>
- <enum name='NSCircularSlider' value='1'/>
- <enum name='NSClearControlTint' value='7'/>
- <enum name='NSClearDisplayFunctionKey' value='63290'/>
- <enum name='NSClearLineFunctionKey' value='63289'/>
- <enum name='NSClipPagination' value='2'/>
- <enum name='NSClockAndCalendarDatePickerStyle' value='1'/>
- <enum name='NSClosableWindowMask' value='2'/>
- <enum name='NSClosePathBezierPathElement' value='3'/>
- <enum name='NSColorListModeColorPanel' value='5'/>
- <enum name='NSColorPanelAllModesMask' value='65535'/>
- <enum name='NSColorPanelCMYKModeMask' value='4'/>
- <enum name='NSColorPanelColorListModeMask' value='32'/>
- <enum name='NSColorPanelCrayonModeMask' value='128'/>
- <enum name='NSColorPanelCustomPaletteModeMask' value='16'/>
- <enum name='NSColorPanelGrayModeMask' value='1'/>
- <enum name='NSColorPanelHSBModeMask' value='8'/>
- <enum name='NSColorPanelRGBModeMask' value='2'/>
- <enum name='NSColorPanelWheelModeMask' value='64'/>
- <enum name='NSColorRenderingIntentAbsoluteColorimetric' value='1'/>
- <enum name='NSColorRenderingIntentDefault' value='0'/>
- <enum name='NSColorRenderingIntentPerceptual' value='3'/>
- <enum name='NSColorRenderingIntentRelativeColorimetric' value='2'/>
- <enum name='NSColorRenderingIntentSaturation' value='4'/>
- <enum name='NSCommandKeyMask' value='1048576'/>
- <enum name='NSCompositeClear' value='0'/>
- <enum name='NSCompositeCopy' value='1'/>
- <enum name='NSCompositeDestinationAtop' value='9'/>
- <enum name='NSCompositeDestinationIn' value='7'/>
- <enum name='NSCompositeDestinationOut' value='8'/>
- <enum name='NSCompositeDestinationOver' value='6'/>
- <enum name='NSCompositeHighlight' value='12'/>
- <enum name='NSCompositePlusDarker' value='11'/>
- <enum name='NSCompositePlusLighter' value='13'/>
- <enum name='NSCompositeSourceAtop' value='5'/>
- <enum name='NSCompositeSourceIn' value='3'/>
- <enum name='NSCompositeSourceOut' value='4'/>
- <enum name='NSCompositeSourceOver' value='2'/>
- <enum name='NSCompositeXOR' value='10'/>
- <enum name='NSCompressedFontMask' value='512'/>
- <enum name='NSCondensedFontMask' value='64'/>
- <enum name='NSContentsCellMask' value='1'/>
- <enum name='NSContinuousCapacityLevelIndicatorStyle' value='1'/>
- <enum name='NSControlGlyph' value='16777215'/>
- <enum name='NSControlKeyMask' value='262144'/>
- <enum name='NSCrayonModeColorPanel' value='7'/>
- <enum name='NSCriticalAlertStyle' value='2'/>
- <enum name='NSCriticalRequest' value='0'/>
- <enum name='NSCursorPointingDevice' value='2'/>
- <enum name='NSCursorUpdate' value='17'/>
- <enum name='NSCursorUpdateMask' value='131072'/>
- <enum name='NSCurveToBezierPathElement' value='2'/>
- <enum name='NSCustomPaletteModeColorPanel' value='4'/>
- <enum name='NSDecimalTabStopType' value='3'/>
- <enum name='NSDefaultControlTint' value='0'/>
- <enum name='NSDefaultTokenStyle' value='0'/>
- <enum name='NSDeleteCharFunctionKey' value='63294'/>
- <enum name='NSDeleteCharacter' value='127'/>
- <enum name='NSDeleteFunctionKey' value='63272'/>
- <enum name='NSDeleteLineFunctionKey' value='63292'/>
- <enum name='NSDescendingPageOrder' value='-1'/>
- <enum name='NSDeviceIndependentModifierFlagsMask' value='-65536'/>
- <enum name='NSDeviceNColorSpaceModel' value='4'/>
- <enum name='NSDirectSelection' value='0'/>
- <enum name='NSDisclosureBezelStyle' value='5'/>
- <enum name='NSDiscreteCapacityLevelIndicatorStyle' value='2'/>
- <enum name='NSDisplayWindowRunLoopOrdering' value='600000'/>
- <enum name='NSDocModalWindowMask' value='64'/>
- <enum name='NSDockWindowLevel' value='20'/>
- <enum name='NSDoubleType' value='6'/>
- <enum name='NSDownArrowFunctionKey' value='63233'/>
- <enum name='NSDownTextMovement' value='22'/>
- <enum name='NSDragOperationAll' value='15'/>
- <enum name='NSDragOperationAll_Obsolete' value='15'/>
- <enum name='NSDragOperationCopy' value='1'/>
- <enum name='NSDragOperationDelete' value='32'/>
- <enum name='NSDragOperationEvery' value='-1'/>
- <enum name='NSDragOperationGeneric' value='4'/>
- <enum name='NSDragOperationLink' value='2'/>
- <enum name='NSDragOperationMove' value='16'/>
- <enum name='NSDragOperationNone' value='0'/>
- <enum name='NSDragOperationPrivate' value='8'/>
- <enum name='NSDrawerClosedState' value='0'/>
- <enum name='NSDrawerClosingState' value='3'/>
- <enum name='NSDrawerOpenState' value='2'/>
- <enum name='NSDrawerOpeningState' value='1'/>
- <enum name='NSEndFunctionKey' value='63275'/>
- <enum name='NSEnterCharacter' value='3'/>
- <enum name='NSEraDatePickerElementFlag' value='256'/>
- <enum name='NSEraserPointingDevice' value='3'/>
- <enum name='NSEvenOddWindingRule' value='1'/>
- <enum name='NSExclude10_4ElementsIconCreationOption' value='4'/>
- <enum name='NSExcludeQuickDrawElementsIconCreationOption' value='2'/>
- <enum name='NSExecuteFunctionKey' value='63298'/>
- <enum name='NSExpandedFontMask' value='32'/>
- <enum name='NSF10FunctionKey' value='63245'/>
- <enum name='NSF11FunctionKey' value='63246'/>
- <enum name='NSF12FunctionKey' value='63247'/>
- <enum name='NSF13FunctionKey' value='63248'/>
- <enum name='NSF14FunctionKey' value='63249'/>
- <enum name='NSF15FunctionKey' value='63250'/>
- <enum name='NSF16FunctionKey' value='63251'/>
- <enum name='NSF17FunctionKey' value='63252'/>
- <enum name='NSF18FunctionKey' value='63253'/>
- <enum name='NSF19FunctionKey' value='63254'/>
- <enum name='NSF1FunctionKey' value='63236'/>
- <enum name='NSF20FunctionKey' value='63255'/>
- <enum name='NSF21FunctionKey' value='63256'/>
- <enum name='NSF22FunctionKey' value='63257'/>
- <enum name='NSF23FunctionKey' value='63258'/>
- <enum name='NSF24FunctionKey' value='63259'/>
- <enum name='NSF25FunctionKey' value='63260'/>
- <enum name='NSF26FunctionKey' value='63261'/>
- <enum name='NSF27FunctionKey' value='63262'/>
- <enum name='NSF28FunctionKey' value='63263'/>
- <enum name='NSF29FunctionKey' value='63264'/>
- <enum name='NSF2FunctionKey' value='63237'/>
- <enum name='NSF30FunctionKey' value='63265'/>
- <enum name='NSF31FunctionKey' value='63266'/>
- <enum name='NSF32FunctionKey' value='63267'/>
- <enum name='NSF33FunctionKey' value='63268'/>
- <enum name='NSF34FunctionKey' value='63269'/>
- <enum name='NSF35FunctionKey' value='63270'/>
- <enum name='NSF3FunctionKey' value='63238'/>
- <enum name='NSF4FunctionKey' value='63239'/>
- <enum name='NSF5FunctionKey' value='63240'/>
- <enum name='NSF6FunctionKey' value='63241'/>
- <enum name='NSF7FunctionKey' value='63242'/>
- <enum name='NSF8FunctionKey' value='63243'/>
- <enum name='NSF9FunctionKey' value='63244'/>
- <enum name='NSFPCurrentField' value='134'/>
- <enum name='NSFPPreviewButton' value='131'/>
- <enum name='NSFPPreviewField' value='128'/>
- <enum name='NSFPRevertButton' value='130'/>
- <enum name='NSFPSetButton' value='132'/>
- <enum name='NSFPSizeField' value='129'/>
- <enum name='NSFPSizeTitle' value='133'/>
- <enum name='NSFileHandlingPanelCancelButton' value='0'/>
- <enum name='NSFileHandlingPanelOKButton' value='1'/>
- <enum name='NSFindFunctionKey' value='63301'/>
- <enum name='NSFindPanelActionNext' value='2'/>
- <enum name='NSFindPanelActionPrevious' value='3'/>
- <enum name='NSFindPanelActionReplace' value='5'/>
- <enum name='NSFindPanelActionReplaceAll' value='4'/>
- <enum name='NSFindPanelActionReplaceAllInSelection' value='8'/>
- <enum name='NSFindPanelActionReplaceAndFind' value='6'/>
- <enum name='NSFindPanelActionSelectAll' value='9'/>
- <enum name='NSFindPanelActionSelectAllInSelection' value='10'/>
- <enum name='NSFindPanelActionSetFindString' value='7'/>
- <enum name='NSFindPanelActionShowFindPanel' value='1'/>
- <enum name='NSFindPanelSubstringMatchTypeContains' value='0'/>
- <enum name='NSFindPanelSubstringMatchTypeEndsWith' value='3'/>
- <enum name='NSFindPanelSubstringMatchTypeFullWord' value='2'/>
- <enum name='NSFindPanelSubstringMatchTypeStartsWith' value='1'/>
- <enum name='NSFitPagination' value='1'/>
- <enum name='NSFixedPitchFontMask' value='1024'/>
- <enum name='NSFlagsChanged' value='12'/>
- <enum name='NSFlagsChangedMask' value='4096'/>
- <enum name='NSFloatType' value='3'/>
- <enum name='NSFloatingPointSamplesBitmapFormat' value='4'/>
- <enum name='NSFloatingWindowLevel' value='3'/>
- <enum name='NSFocusRingAbove' value='2'/>
- <enum name='NSFocusRingBelow' value='1'/>
- <enum name='NSFocusRingOnly' value='0'/>
- <enum name='NSFocusRingTypeDefault' value='0'/>
- <enum name='NSFocusRingTypeExterior' value='2'/>
- <enum name='NSFocusRingTypeNone' value='1'/>
- <enum name='NSFontAntialiasedIntegerAdvancementsRenderingMode' value='3'/>
- <enum name='NSFontAntialiasedRenderingMode' value='1'/>
- <enum name='NSFontBoldTrait' value='2'/>
- <enum name='NSFontClarendonSerifsClass' value='1073741824'/>
- <enum name='NSFontCollectionApplicationOnlyMask' value='1'/>
- <enum name='NSFontCondensedTrait' value='64'/>
- <enum name='NSFontDefaultRenderingMode' value='0'/>
- <enum name='NSFontExpandedTrait' value='32'/>
- <enum name='NSFontFamilyClassMask' value='-268435456'/>
- <enum name='NSFontFreeformSerifsClass' value='1879048192'/>
- <enum name='NSFontIntegerAdvancementsRenderingMode' value='2'/>
- <enum name='NSFontItalicTrait' value='1'/>
- <enum name='NSFontModernSerifsClass' value='805306368'/>
- <enum name='NSFontMonoSpaceTrait' value='1024'/>
- <enum name='NSFontOldStyleSerifsClass' value='268435456'/>
- <enum name='NSFontOrnamentalsClass' value='-1879048192'/>
- <enum name='NSFontPanelAllEffectsModeMask' value='1048320'/>
- <enum name='NSFontPanelAllModesMask' value='-1'/>
- <enum name='NSFontPanelCollectionModeMask' value='4'/>
- <enum name='NSFontPanelDocumentColorEffectModeMask' value='2048'/>
- <enum name='NSFontPanelFaceModeMask' value='1'/>
- <enum name='NSFontPanelShadowEffectModeMask' value='4096'/>
- <enum name='NSFontPanelSizeModeMask' value='2'/>
- <enum name='NSFontPanelStandardModesMask' value='65535'/>
- <enum name='NSFontPanelStrikethroughEffectModeMask' value='512'/>
- <enum name='NSFontPanelTextColorEffectModeMask' value='1024'/>
- <enum name='NSFontPanelUnderlineEffectModeMask' value='256'/>
- <enum name='NSFontSansSerifClass' value='-2147483648'/>
- <enum name='NSFontScriptsClass' value='-1610612736'/>
- <enum name='NSFontSlabSerifsClass' value='1342177280'/>
- <enum name='NSFontSymbolicClass' value='-1073741824'/>
- <enum name='NSFontTransitionalSerifsClass' value='536870912'/>
- <enum name='NSFontUIOptimizedTrait' value='4096'/>
- <enum name='NSFontUnknownClass' value='0'/>
- <enum name='NSFontVerticalTrait' value='2048'/>
- <enum name='NSFormFeedCharacter' value='12'/>
- <enum name='NSFunctionKeyMask' value='8388608'/>
- <enum name='NSGIFFileType' value='2'/>
- <enum name='NSGlyphAttributeBidiLevel' value='2'/>
- <enum name='NSGlyphAttributeElastic' value='1'/>
- <enum name='NSGlyphAttributeInscribe' value='5'/>
- <enum name='NSGlyphAttributeSoft' value='0'/>
- <enum name='NSGlyphInscribeAbove' value='2'/>
- <enum name='NSGlyphInscribeBase' value='0'/>
- <enum name='NSGlyphInscribeBelow' value='1'/>
- <enum name='NSGlyphInscribeOverBelow' value='4'/>
- <enum name='NSGlyphInscribeOverstrike' value='3'/>
- <enum name='NSGradientConcaveStrong' value='2'/>
- <enum name='NSGradientConcaveWeak' value='1'/>
- <enum name='NSGradientConvexStrong' value='4'/>
- <enum name='NSGradientConvexWeak' value='3'/>
- <enum name='NSGradientDrawsAfterEndingLocation' value='2'/>
- <enum name='NSGradientDrawsBeforeStartingLocation' value='1'/>
- <enum name='NSGradientNone' value='0'/>
- <enum name='NSGraphiteControlTint' value='6'/>
- <enum name='NSGrayColorSpaceModel' value='0'/>
- <enum name='NSGrayModeColorPanel' value='0'/>
- <enum name='NSGrooveBorder' value='3'/>
- <enum name='NSHSBModeColorPanel' value='3'/>
- <enum name='NSHUDWindowMask' value='8192'/>
- <enum name='NSHeavierFontAction' value='5'/>
- <enum name='NSHelpButtonBezelStyle' value='9'/>
- <enum name='NSHelpFunctionKey' value='63302'/>
- <enum name='NSHelpKeyMask' value='4194304'/>
- <enum name='NSHighlightModeMatrix' value='1'/>
- <enum name='NSHomeFunctionKey' value='63273'/>
- <enum name='NSHorizontalRuler' value='0'/>
- <enum name='NSHourMinuteDatePickerElementFlag' value='12'/>
- <enum name='NSHourMinuteSecondDatePickerElementFlag' value='14'/>
- <enum name='NSIdentityMappingCharacterCollection' value='0'/>
- <enum name='NSIllegalTextMovement' value='0'/>
- <enum name='NSImageAbove' value='5'/>
- <enum name='NSImageAlignBottom' value='5'/>
- <enum name='NSImageAlignBottomLeft' value='6'/>
- <enum name='NSImageAlignBottomRight' value='7'/>
- <enum name='NSImageAlignCenter' value='0'/>
- <enum name='NSImageAlignLeft' value='4'/>
- <enum name='NSImageAlignRight' value='8'/>
- <enum name='NSImageAlignTop' value='1'/>
- <enum name='NSImageAlignTopLeft' value='2'/>
- <enum name='NSImageAlignTopRight' value='3'/>
- <enum name='NSImageBelow' value='4'/>
- <enum name='NSImageCacheAlways' value='1'/>
- <enum name='NSImageCacheBySize' value='2'/>
- <enum name='NSImageCacheDefault' value='0'/>
- <enum name='NSImageCacheNever' value='3'/>
- <enum name='NSImageCellType' value='2'/>
- <enum name='NSImageFrameButton' value='4'/>
- <enum name='NSImageFrameGrayBezel' value='2'/>
- <enum name='NSImageFrameGroove' value='3'/>
- <enum name='NSImageFrameNone' value='0'/>
- <enum name='NSImageFramePhoto' value='1'/>
- <enum name='NSImageInterpolationDefault' value='0'/>
- <enum name='NSImageInterpolationHigh' value='3'/>
- <enum name='NSImageInterpolationLow' value='2'/>
- <enum name='NSImageInterpolationNone' value='1'/>
- <enum name='NSImageLeft' value='2'/>
- <enum name='NSImageLoadStatusCancelled' value='1'/>
- <enum name='NSImageLoadStatusCompleted' value='0'/>
- <enum name='NSImageLoadStatusInvalidData' value='2'/>
- <enum name='NSImageLoadStatusReadError' value='4'/>
- <enum name='NSImageLoadStatusUnexpectedEOF' value='3'/>
- <enum name='NSImageOnly' value='1'/>
- <enum name='NSImageOverlaps' value='6'/>
- <enum name='NSImageRepLoadStatusCompleted' value='-6'/>
- <enum name='NSImageRepLoadStatusInvalidData' value='-4'/>
- <enum name='NSImageRepLoadStatusReadingHeader' value='-2'/>
- <enum name='NSImageRepLoadStatusUnexpectedEOF' value='-5'/>
- <enum name='NSImageRepLoadStatusUnknownType' value='-1'/>
- <enum name='NSImageRepLoadStatusWillNeedAllData' value='-3'/>
- <enum name='NSImageRepMatchesDevice' value='0'/>
- <enum name='NSImageRight' value='3'/>
- <enum name='NSImageScaleAxesIndependently' value='1'/>
- <enum name='NSImageScaleNone' value='2'/>
- <enum name='NSImageScaleProportionallyDown' value='0'/>
- <enum name='NSImageScaleProportionallyUpOrDown' value='3'/>
- <enum name='NSIndexedColorSpaceModel' value='5'/>
- <enum name='NSInformationalAlertStyle' value='1'/>
- <enum name='NSInformationalRequest' value='10'/>
- <enum name='NSInsertCharFunctionKey' value='63293'/>
- <enum name='NSInsertFunctionKey' value='63271'/>
- <enum name='NSInsertLineFunctionKey' value='63291'/>
- <enum name='NSIntType' value='1'/>
- <enum name='NSItalicFontMask' value='1'/>
- <enum name='NSJPEG2000FileType' value='5'/>
- <enum name='NSJPEGFileType' value='3'/>
- <enum name='NSJustifiedTextAlignment' value='3'/>
- <enum name='NSKeyDown' value='10'/>
- <enum name='NSKeyDownMask' value='1024'/>
- <enum name='NSKeyUp' value='11'/>
- <enum name='NSKeyUpMask' value='2048'/>
- <enum name='NSLABColorSpaceModel' value='3'/>
- <enum name='NSLandscapeOrientation' value='1'/>
- <enum name='NSLeftArrowFunctionKey' value='63234'/>
- <enum name='NSLeftMouseDown' value='1'/>
- <enum name='NSLeftMouseDownMask' value='2'/>
- <enum name='NSLeftMouseDragged' value='6'/>
- <enum name='NSLeftMouseDraggedMask' value='64'/>
- <enum name='NSLeftMouseUp' value='2'/>
- <enum name='NSLeftMouseUpMask' value='4'/>
- <enum name='NSLeftTabStopType' value='0'/>
- <enum name='NSLeftTabsBezelBorder' value='1'/>
- <enum name='NSLeftTextAlignment' value='0'/>
- <enum name='NSLeftTextMovement' value='19'/>
- <enum name='NSLighterFontAction' value='6'/>
- <enum name='NSLineBorder' value='1'/>
- <enum name='NSLineBreakByCharWrapping' value='1'/>
- <enum name='NSLineBreakByClipping' value='2'/>
- <enum name='NSLineBreakByTruncatingHead' value='3'/>
- <enum name='NSLineBreakByTruncatingMiddle' value='5'/>
- <enum name='NSLineBreakByTruncatingTail' value='4'/>
- <enum name='NSLineBreakByWordWrapping' value='0'/>
- <enum name='NSLineDoesntMove' value='0'/>
- <enum name='NSLineMovesDown' value='3'/>
- <enum name='NSLineMovesLeft' value='1'/>
- <enum name='NSLineMovesRight' value='2'/>
- <enum name='NSLineMovesUp' value='4'/>
- <enum name='NSLineSeparatorCharacter' value='8232'/>
- <enum name='NSLineSweepDown' value='2'/>
- <enum name='NSLineSweepLeft' value='0'/>
- <enum name='NSLineSweepRight' value='1'/>
- <enum name='NSLineSweepUp' value='3'/>
- <enum name='NSLineToBezierPathElement' value='1'/>
- <enum name='NSLinearSlider' value='0'/>
- <enum name='NSListModeMatrix' value='2'/>
- <enum name='NSMacintoshInterfaceStyle' value='3'/>
- <enum name='NSMainMenuWindowLevel' value='24'/>
- <enum name='NSMenuFunctionKey' value='63285'/>
- <enum name='NSMiniControlSize' value='2'/>
- <enum name='NSMiniaturizableWindowMask' value='4'/>
- <enum name='NSMiterLineJoinStyle' value='0'/>
- <enum name='NSMixedState' value='-1'/>
- <enum name='NSModalPanelWindowLevel' value='8'/>
- <enum name='NSModeSwitchFunctionKey' value='63303'/>
- <enum name='NSMomentaryChangeButton' value='5'/>
- <enum name='NSMomentaryLight' value='7'/>
- <enum name='NSMomentaryLightButton' value='0'/>
- <enum name='NSMomentaryPushButton' value='0'/>
- <enum name='NSMomentaryPushInButton' value='7'/>
- <enum name='NSMouseEntered' value='8'/>
- <enum name='NSMouseEnteredMask' value='256'/>
- <enum name='NSMouseEventSubtype' value='0'/>
- <enum name='NSMouseExited' value='9'/>
- <enum name='NSMouseExitedMask' value='512'/>
- <enum name='NSMouseMoved' value='5'/>
- <enum name='NSMouseMovedMask' value='32'/>
- <enum name='NSMoveToBezierPathElement' value='0'/>
- <enum name='NSNarrowFontMask' value='16'/>
- <enum name='NSNativeShortGlyphPacking' value='5'/>
- <enum name='NSNaturalTextAlignment' value='4'/>
- <enum name='NSNewlineCharacter' value='10'/>
- <enum name='NSNextFunctionKey' value='63296'/>
- <enum name='NSNextStepInterfaceStyle' value='1'/>
- <enum name='NSNoBorder' value='0'/>
- <enum name='NSNoCellMask' value='0'/>
- <enum name='NSNoFontChangeAction' value='0'/>
- <enum name='NSNoImage' value='0'/>
- <enum name='NSNoInterfaceStyle' value='0'/>
- <enum name='NSNoModeColorPanel' value='-1'/>
- <enum name='NSNoScrollerParts' value='0'/>
- <enum name='NSNoTabsBezelBorder' value='4'/>
- <enum name='NSNoTabsLineBorder' value='5'/>
- <enum name='NSNoTabsNoBorder' value='6'/>
- <enum name='NSNoTitle' value='0'/>
- <enum name='NSNoUnderlineStyle' value='0'/>
- <enum name='NSNonStandardCharacterSetFontMask' value='8'/>
- <enum name='NSNonZeroWindingRule' value='0'/>
- <enum name='NSNonactivatingPanelMask' value='128'/>
- <enum name='NSNormalWindowLevel' value='0'/>
- <enum name='NSNullCellType' value='0'/>
- <enum name='NSNullGlyph' value='0'/>
- <enum name='NSNumericPadKeyMask' value='2097152'/>
- <enum name='NSOKButton' value='1'/>
- <enum name='NSOPENGL_CURRENT_VERSION' value='1'/>
- <enum name='NSOffState' value='0'/>
- <enum name='NSOnOffButton' value='6'/>
- <enum name='NSOnState' value='1'/>
- <enum name='NSOnlyScrollerArrows' value='1'/>
- <enum name='NSOpenGLCPRasterizationEnable' value='221'/>
- <enum name='NSOpenGLCPStateValidation' value='301'/>
- <enum name='NSOpenGLCPSurfaceOpacity' value='236'/>
- <enum name='NSOpenGLCPSurfaceOrder' value='235'/>
- <enum name='NSOpenGLCPSwapInterval' value='222'/>
- <enum name='NSOpenGLCPSwapRectangle' value='200'/>
- <enum name='NSOpenGLCPSwapRectangleEnable' value='201'/>
- <enum name='NSOpenGLGOClearFormatCache' value='502'/>
- <enum name='NSOpenGLGOFormatCacheSize' value='501'/>
- <enum name='NSOpenGLGOResetLibrary' value='504'/>
- <enum name='NSOpenGLGORetainRenderers' value='503'/>
- <enum name='NSOpenGLPFAAccelerated' value='73'/>
- <enum name='NSOpenGLPFAAccumSize' value='14'/>
- <enum name='NSOpenGLPFAAllRenderers' value='1'/>
- <enum name='NSOpenGLPFAAllowOfflineRenderers' value='96'/>
- <enum name='NSOpenGLPFAAlphaSize' value='11'/>
- <enum name='NSOpenGLPFAAuxBuffers' value='7'/>
- <enum name='NSOpenGLPFAAuxDepthStencil' value='57'/>
- <enum name='NSOpenGLPFABackingStore' value='76'/>
- <enum name='NSOpenGLPFAClosestPolicy' value='74'/>
- <enum name='NSOpenGLPFAColorFloat' value='58'/>
- <enum name='NSOpenGLPFAColorSize' value='8'/>
- <enum name='NSOpenGLPFACompliant' value='83'/>
- <enum name='NSOpenGLPFADepthSize' value='12'/>
- <enum name='NSOpenGLPFADoubleBuffer' value='5'/>
- <enum name='NSOpenGLPFAFullScreen' value='54'/>
- <enum name='NSOpenGLPFAMPSafe' value='78'/>
- <enum name='NSOpenGLPFAMaximumPolicy' value='52'/>
- <enum name='NSOpenGLPFAMinimumPolicy' value='51'/>
- <enum name='NSOpenGLPFAMultiScreen' value='81'/>
- <enum name='NSOpenGLPFAMultisample' value='59'/>
- <enum name='NSOpenGLPFANoRecovery' value='72'/>
- <enum name='NSOpenGLPFAOffScreen' value='53'/>
- <enum name='NSOpenGLPFAPixelBuffer' value='90'/>
- <enum name='NSOpenGLPFARendererID' value='70'/>
- <enum name='NSOpenGLPFARobust' value='75'/>
- <enum name='NSOpenGLPFASampleAlpha' value='61'/>
- <enum name='NSOpenGLPFASampleBuffers' value='55'/>
- <enum name='NSOpenGLPFASamples' value='56'/>
- <enum name='NSOpenGLPFAScreenMask' value='84'/>
- <enum name='NSOpenGLPFASingleRenderer' value='71'/>
- <enum name='NSOpenGLPFAStencilSize' value='13'/>
- <enum name='NSOpenGLPFAStereo' value='6'/>
- <enum name='NSOpenGLPFASupersample' value='60'/>
- <enum name='NSOpenGLPFAVirtualScreenCount' value='128'/>
- <enum name='NSOpenGLPFAWindow' value='80'/>
- <enum name='NSOtherMouseDown' value='25'/>
- <enum name='NSOtherMouseDownMask' value='33554432'/>
- <enum name='NSOtherMouseDragged' value='27'/>
- <enum name='NSOtherMouseDraggedMask' value='134217728'/>
- <enum name='NSOtherMouseUp' value='26'/>
- <enum name='NSOtherMouseUpMask' value='67108864'/>
- <enum name='NSOtherTextMovement' value='0'/>
- <enum name='NSOutlineViewDropOnItemIndex' value='-1'/>
- <enum name='NSPNGFileType' value='4'/>
- <enum name='NSPageDownFunctionKey' value='63277'/>
- <enum name='NSPageUpFunctionKey' value='63276'/>
- <enum name='NSParagraphSeparatorCharacter' value='8233'/>
- <enum name='NSPathStyleNavigationBar' value='1'/>
- <enum name='NSPathStylePopUp' value='2'/>
- <enum name='NSPathStyleStandard' value='0'/>
- <enum name='NSPatternColorSpaceModel' value='6'/>
- <enum name='NSPauseFunctionKey' value='63280'/>
- <enum name='NSPenLowerSideMask' value='2'/>
- <enum name='NSPenPointingDevice' value='1'/>
- <enum name='NSPenTipMask' value='1'/>
- <enum name='NSPenUpperSideMask' value='4'/>
- <enum name='NSPeriodic' value='16'/>
- <enum name='NSPeriodicMask' value='65536'/>
- <enum name='NSPlainTextTokenStyle' value='1'/>
- <enum name='NSPopUpArrowAtBottom' value='2'/>
- <enum name='NSPopUpArrowAtCenter' value='1'/>
- <enum name='NSPopUpMenuWindowLevel' value='101'/>
- <enum name='NSPopUpNoArrow' value='0'/>
- <enum name='NSPortraitOrientation' value='0'/>
- <enum name='NSPositiveDoubleType' value='7'/>
- <enum name='NSPositiveFloatType' value='4'/>
- <enum name='NSPositiveIntType' value='2'/>
- <enum name='NSPosterFontMask' value='256'/>
- <enum name='NSPowerOffEventType' value='1'/>
- <enum name='NSPressedTab' value='2'/>
- <enum name='NSPrevFunctionKey' value='63295'/>
- <enum name='NSPrintFunctionKey' value='63288'/>
- <enum name='NSPrintPanelShowsCopies' value='1'/>
- <enum name='NSPrintPanelShowsOrientation' value='8'/>
- <enum name='NSPrintPanelShowsPageRange' value='2'/>
- <enum name='NSPrintPanelShowsPageSetupAccessory' value='256'/>
- <enum name='NSPrintPanelShowsPaperSize' value='4'/>
- <enum name='NSPrintPanelShowsPreview' value='131072'/>
- <enum name='NSPrintPanelShowsScaling' value='16'/>
- <enum name='NSPrintScreenFunctionKey' value='63278'/>
- <enum name='NSPrinterTableError' value='2'/>
- <enum name='NSPrinterTableNotFound' value='1'/>
- <enum name='NSPrinterTableOK' value='0'/>
- <enum name='NSPrintingCancelled' value='0'/>
- <enum name='NSPrintingFailure' value='3'/>
- <enum name='NSPrintingReplyLater' value='2'/>
- <enum name='NSPrintingSuccess' value='1'/>
- <enum name='NSProgressIndicatorBarStyle' value='0'/>
- <enum name='NSProgressIndicatorPreferredAquaThickness' value='12'/>
- <enum name='NSProgressIndicatorPreferredLargeThickness' value='18'/>
- <enum name='NSProgressIndicatorPreferredSmallThickness' value='10'/>
- <enum name='NSProgressIndicatorPreferredThickness' value='14'/>
- <enum name='NSProgressIndicatorSpinningStyle' value='1'/>
- <enum name='NSPushInCell' value='2'/>
- <enum name='NSPushInCellMask' value='2'/>
- <enum name='NSPushOnPushOffButton' value='1'/>
- <enum name='NSQTMovieLoopingBackAndForthPlayback' value='2'/>
- <enum name='NSQTMovieLoopingPlayback' value='1'/>
- <enum name='NSQTMovieNormalPlayback' value='0'/>
- <enum name='NSRGBColorSpaceModel' value='1'/>
- <enum name='NSRGBModeColorPanel' value='1'/>
- <enum name='NSRadioButton' value='4'/>
- <enum name='NSRadioModeMatrix' value='0'/>
- <enum name='NSRangeDateMode' value='1'/>
- <enum name='NSRatingLevelIndicatorStyle' value='3'/>
- <enum name='NSRecessedBezelStyle' value='13'/>
- <enum name='NSRedoFunctionKey' value='63300'/>
- <enum name='NSRegularControlSize' value='0'/>
- <enum name='NSRegularSquareBezelStyle' value='2'/>
- <enum name='NSRelevancyLevelIndicatorStyle' value='0'/>
- <enum name='NSRemoveTraitFontAction' value='7'/>
- <enum name='NSResetCursorRectsRunLoopOrdering' value='700000'/>
- <enum name='NSResetFunctionKey' value='63283'/>
- <enum name='NSResizableWindowMask' value='8'/>
- <enum name='NSReturnTextMovement' value='16'/>
- <enum name='NSRightArrowFunctionKey' value='63235'/>
- <enum name='NSRightMouseDown' value='3'/>
- <enum name='NSRightMouseDownMask' value='8'/>
- <enum name='NSRightMouseDragged' value='7'/>
- <enum name='NSRightMouseDraggedMask' value='128'/>
- <enum name='NSRightMouseUp' value='4'/>
- <enum name='NSRightMouseUpMask' value='16'/>
- <enum name='NSRightTabStopType' value='1'/>
- <enum name='NSRightTabsBezelBorder' value='3'/>
- <enum name='NSRightTextAlignment' value='1'/>
- <enum name='NSRightTextMovement' value='20'/>
- <enum name='NSRoundLineCapStyle' value='1'/>
- <enum name='NSRoundLineJoinStyle' value='1'/>
- <enum name='NSRoundRectBezelStyle' value='12'/>
- <enum name='NSRoundedBezelStyle' value='1'/>
- <enum name='NSRoundedDisclosureBezelStyle' value='14'/>
- <enum name='NSRoundedTokenStyle' value='2'/>
- <enum name='NSRuleEditorNestingModeCompound' value='2'/>
- <enum name='NSRuleEditorNestingModeList' value='1'/>
- <enum name='NSRuleEditorNestingModeSimple' value='3'/>
- <enum name='NSRuleEditorNestingModeSingle' value='0'/>
- <enum name='NSRuleEditorRowTypeCompound' value='1'/>
- <enum name='NSRuleEditorRowTypeSimple' value='0'/>
- <enum name='NSRunAbortedResponse' value='-1001'/>
- <enum name='NSRunContinuesResponse' value='-1002'/>
- <enum name='NSRunStoppedResponse' value='-1000'/>
- <enum name='NSSaveAsOperation' value='1'/>
- <enum name='NSSaveOperation' value='0'/>
- <enum name='NSSaveToOperation' value='2'/>
- <enum name='NSScaleNone' value='2'/>
- <enum name='NSScaleProportionally' value='0'/>
- <enum name='NSScaleToFit' value='1'/>
- <enum name='NSScreenChangedEventType' value='8'/>
- <enum name='NSScreenSaverWindowLevel' value='1000'/>
- <enum name='NSScrollLockFunctionKey' value='63279'/>
- <enum name='NSScrollWheel' value='22'/>
- <enum name='NSScrollWheelMask' value='4194304'/>
- <enum name='NSScrollerArrowsDefaultSetting' value='0'/>
- <enum name='NSScrollerArrowsMaxEnd' value='0'/>
- <enum name='NSScrollerArrowsMinEnd' value='1'/>
- <enum name='NSScrollerArrowsNone' value='2'/>
- <enum name='NSScrollerDecrementArrow' value='1'/>
- <enum name='NSScrollerDecrementLine' value='4'/>
- <enum name='NSScrollerDecrementPage' value='1'/>
- <enum name='NSScrollerIncrementArrow' value='0'/>
- <enum name='NSScrollerIncrementLine' value='5'/>
- <enum name='NSScrollerIncrementPage' value='3'/>
- <enum name='NSScrollerKnob' value='2'/>
- <enum name='NSScrollerKnobSlot' value='6'/>
- <enum name='NSScrollerNoPart' value='0'/>
- <enum name='NSSearchFieldClearRecentsMenuItemTag' value='1002'/>
- <enum name='NSSearchFieldNoRecentsMenuItemTag' value='1003'/>
- <enum name='NSSearchFieldRecentsMenuItemTag' value='1001'/>
- <enum name='NSSearchFieldRecentsTitleMenuItemTag' value='1000'/>
- <enum name='NSSegmentStyleAutomatic' value='0'/>
- <enum name='NSSegmentStyleCapsule' value='5'/>
- <enum name='NSSegmentStyleRoundRect' value='3'/>
- <enum name='NSSegmentStyleRounded' value='1'/>
- <enum name='NSSegmentStyleSmallSquare' value='6'/>
- <enum name='NSSegmentStyleTexturedRounded' value='2'/>
- <enum name='NSSegmentStyleTexturedSquare' value='4'/>
- <enum name='NSSegmentSwitchTrackingMomentary' value='2'/>
- <enum name='NSSegmentSwitchTrackingSelectAny' value='1'/>
- <enum name='NSSegmentSwitchTrackingSelectOne' value='0'/>
- <enum name='NSSelectByCharacter' value='0'/>
- <enum name='NSSelectByParagraph' value='2'/>
- <enum name='NSSelectByWord' value='1'/>
- <enum name='NSSelectFunctionKey' value='63297'/>
- <enum name='NSSelectedTab' value='0'/>
- <enum name='NSSelectingNext' value='1'/>
- <enum name='NSSelectingPrevious' value='2'/>
- <enum name='NSSelectionAffinityDownstream' value='1'/>
- <enum name='NSSelectionAffinityUpstream' value='0'/>
- <enum name='NSServiceApplicationLaunchFailedError' value='66561'/>
- <enum name='NSServiceApplicationNotFoundError' value='66560'/>
- <enum name='NSServiceErrorMaximum' value='66817'/>
- <enum name='NSServiceErrorMinimum' value='66560'/>
- <enum name='NSServiceInvalidPasteboardDataError' value='66563'/>
- <enum name='NSServiceMalformedServiceDictionaryError' value='66564'/>
- <enum name='NSServiceMiscellaneousError' value='66800'/>
- <enum name='NSServiceRequestTimedOutError' value='66562'/>
- <enum name='NSShadowlessSquareBezelStyle' value='6'/>
- <enum name='NSShiftKeyMask' value='131072'/>
- <enum name='NSShowControlGlyphs' value='1'/>
- <enum name='NSShowInvisibleGlyphs' value='2'/>
- <enum name='NSSingleDateMode' value='0'/>
- <enum name='NSSingleUnderlineStyle' value='1'/>
- <enum name='NSSizeDownFontAction' value='4'/>
- <enum name='NSSizeUpFontAction' value='3'/>
- <enum name='NSSmallCapsFontMask' value='128'/>
- <enum name='NSSmallControlSize' value='1'/>
- <enum name='NSSmallIconButtonBezelStyle' value='2'/>
- <enum name='NSSmallSquareBezelStyle' value='10'/>
- <enum name='NSSpecialPageOrder' value='0'/>
- <enum name='NSSpeechImmediateBoundary' value='0'/>
- <enum name='NSSpeechSentenceBoundary' value='2'/>
- <enum name='NSSpeechWordBoundary' value='1'/>
- <enum name='NSSpellingStateGrammarFlag' value='2'/>
- <enum name='NSSpellingStateSpellingFlag' value='1'/>
- <enum name='NSSplitViewDividerStyleThick' value='1'/>
- <enum name='NSSplitViewDividerStyleThin' value='2'/>
- <enum name='NSSquareLineCapStyle' value='2'/>
- <enum name='NSSquareStatusItemLength' value='-2'/>
- <enum name='NSStatusWindowLevel' value='25'/>
- <enum name='NSStopFunctionKey' value='63284'/>
- <enum name='NSStringDrawingDisableScreenFontSubstitution' value='4'/>
- <enum name='NSStringDrawingOneShot' value='16'/>
- <enum name='NSStringDrawingTruncatesLastVisibleLine' value='32'/>
- <enum name='NSStringDrawingUsesDeviceMetrics' value='8'/>
- <enum name='NSStringDrawingUsesFontLeading' value='2'/>
- <enum name='NSStringDrawingUsesLineFragmentOrigin' value='1'/>
- <enum name='NSSubmenuWindowLevel' value='3'/>
- <enum name='NSSwitchButton' value='3'/>
- <enum name='NSSysReqFunctionKey' value='63281'/>
- <enum name='NSSystemDefined' value='14'/>
- <enum name='NSSystemDefinedMask' value='16384'/>
- <enum name='NSSystemFunctionKey' value='63287'/>
- <enum name='NSTIFFCompressionCCITTFAX3' value='3'/>
- <enum name='NSTIFFCompressionCCITTFAX4' value='4'/>
- <enum name='NSTIFFCompressionJPEG' value='6'/>
- <enum name='NSTIFFCompressionLZW' value='5'/>
- <enum name='NSTIFFCompressionNEXT' value='32766'/>
- <enum name='NSTIFFCompressionNone' value='1'/>
- <enum name='NSTIFFCompressionOldJPEG' value='32865'/>
- <enum name='NSTIFFCompressionPackBits' value='32773'/>
- <enum name='NSTIFFFileType' value='0'/>
- <enum name='NSTabCharacter' value='9'/>
- <enum name='NSTabTextMovement' value='17'/>
- <enum name='NSTableColumnAutoresizingMask' value='1'/>
- <enum name='NSTableColumnNoResizing' value='0'/>
- <enum name='NSTableColumnUserResizingMask' value='2'/>
- <enum name='NSTableViewDropAbove' value='1'/>
- <enum name='NSTableViewDropOn' value='0'/>
- <enum name='NSTableViewFirstColumnOnlyAutoresizingStyle' value='5'/>
- <enum name='NSTableViewGridNone' value='0'/>
- <enum name='NSTableViewLastColumnOnlyAutoresizingStyle' value='4'/>
- <enum name='NSTableViewNoColumnAutoresizing' value='0'/>
- <enum name='NSTableViewReverseSequentialColumnAutoresizingStyle' value='3'/>
- <enum name='NSTableViewSelectionHighlightStyleRegular' value='0'/>
- <enum name='NSTableViewSelectionHighlightStyleSourceList' value='1'/>
- <enum name='NSTableViewSequentialColumnAutoresizingStyle' value='2'/>
- <enum name='NSTableViewSolidHorizontalGridLineMask' value='2'/>
- <enum name='NSTableViewSolidVerticalGridLineMask' value='1'/>
- <enum name='NSTableViewUniformColumnAutoresizingStyle' value='1'/>
- <enum name='NSTabletPoint' value='23'/>
- <enum name='NSTabletPointEventSubtype' value='1'/>
- <enum name='NSTabletPointMask' value='8388608'/>
- <enum name='NSTabletProximity' value='24'/>
- <enum name='NSTabletProximityEventSubtype' value='2'/>
- <enum name='NSTabletProximityMask' value='16777216'/>
- <enum name='NSTerminateCancel' value='0'/>
- <enum name='NSTerminateLater' value='2'/>
- <enum name='NSTerminateNow' value='1'/>
- <enum name='NSTextBlockAbsoluteValueType' value='0'/>
- <enum name='NSTextBlockBaselineAlignment' value='3'/>
- <enum name='NSTextBlockBorder' value='0'/>
- <enum name='NSTextBlockBottomAlignment' value='2'/>
- <enum name='NSTextBlockHeight' value='4'/>
- <enum name='NSTextBlockMargin' value='1'/>
- <enum name='NSTextBlockMaximumHeight' value='6'/>
- <enum name='NSTextBlockMaximumWidth' value='2'/>
- <enum name='NSTextBlockMiddleAlignment' value='1'/>
- <enum name='NSTextBlockMinimumHeight' value='5'/>
- <enum name='NSTextBlockMinimumWidth' value='1'/>
- <enum name='NSTextBlockPadding' value='-1'/>
- <enum name='NSTextBlockPercentageValueType' value='1'/>
- <enum name='NSTextBlockTopAlignment' value='0'/>
- <enum name='NSTextBlockWidth' value='0'/>
- <enum name='NSTextCellType' value='1'/>
- <enum name='NSTextFieldAndStepperDatePickerStyle' value='0'/>
- <enum name='NSTextFieldDatePickerStyle' value='2'/>
- <enum name='NSTextFieldRoundedBezel' value='1'/>
- <enum name='NSTextFieldSquareBezel' value='0'/>
- <enum name='NSTextListPrependEnclosingMarker' value='1'/>
- <enum name='NSTextReadInapplicableDocumentTypeError' value='65806'/>
- <enum name='NSTextReadWriteErrorMaximum' value='66303'/>
- <enum name='NSTextReadWriteErrorMinimum' value='65792'/>
- <enum name='NSTextStorageEditedAttributes' value='1'/>
- <enum name='NSTextStorageEditedCharacters' value='2'/>
- <enum name='NSTextTableAutomaticLayoutAlgorithm' value='0'/>
- <enum name='NSTextTableFixedLayoutAlgorithm' value='1'/>
- <enum name='NSTextWriteInapplicableDocumentTypeError' value='66062'/>
- <enum name='NSTexturedBackgroundWindowMask' value='256'/>
- <enum name='NSTexturedRoundedBezelStyle' value='11'/>
- <enum name='NSTexturedSquareBezelStyle' value='8'/>
- <enum name='NSThickSquareBezelStyle' value='3'/>
- <enum name='NSThickerSquareBezelStyle' value='4'/>
- <enum name='NSTickMarkAbove' value='1'/>
- <enum name='NSTickMarkBelow' value='0'/>
- <enum name='NSTickMarkLeft' value='1'/>
- <enum name='NSTickMarkRight' value='0'/>
- <enum name='NSTimeZoneDatePickerElementFlag' value='16'/>
- <enum name='NSTitledWindowMask' value='1'/>
- <enum name='NSToggleButton' value='2'/>
- <enum name='NSToolbarDisplayModeDefault' value='0'/>
- <enum name='NSToolbarDisplayModeIconAndLabel' value='1'/>
- <enum name='NSToolbarDisplayModeIconOnly' value='2'/>
- <enum name='NSToolbarDisplayModeLabelOnly' value='3'/>
- <enum name='NSToolbarItemVisibilityPriorityHigh' value='1000'/>
- <enum name='NSToolbarItemVisibilityPriorityLow' value='-1000'/>
- <enum name='NSToolbarItemVisibilityPriorityStandard' value='0'/>
- <enum name='NSToolbarItemVisibilityPriorityUser' value='2000'/>
- <enum name='NSToolbarSizeModeDefault' value='0'/>
- <enum name='NSToolbarSizeModeRegular' value='1'/>
- <enum name='NSToolbarSizeModeSmall' value='2'/>
- <enum name='NSTopTabsBezelBorder' value='0'/>
- <enum name='NSTornOffMenuWindowLevel' value='3'/>
- <enum name='NSTrackModeMatrix' value='3'/>
- <enum name='NSTrackingActiveAlways' value='128'/>
- <enum name='NSTrackingActiveInActiveApp' value='64'/>
- <enum name='NSTrackingActiveInKeyWindow' value='32'/>
- <enum name='NSTrackingActiveWhenFirstResponder' value='16'/>
- <enum name='NSTrackingAssumeInside' value='256'/>
- <enum name='NSTrackingCursorUpdate' value='4'/>
- <enum name='NSTrackingEnabledDuringMouseDrag' value='1024'/>
- <enum name='NSTrackingInVisibleRect' value='512'/>
- <enum name='NSTrackingMouseEnteredAndExited' value='1'/>
- <enum name='NSTrackingMouseMoved' value='2'/>
- <enum name='NSTypesetterBehavior_10_2' value='2'/>
- <enum name='NSTypesetterBehavior_10_2_WithCompatibility' value='1'/>
- <enum name='NSTypesetterBehavior_10_3' value='3'/>
- <enum name='NSTypesetterBehavior_10_4' value='4'/>
- <enum name='NSTypesetterContainerBreakAction' value='32'/>
- <enum name='NSTypesetterHorizontalTabAction' value='4'/>
- <enum name='NSTypesetterLatestBehavior' value='-1'/>
- <enum name='NSTypesetterLineBreakAction' value='8'/>
- <enum name='NSTypesetterOriginalBehavior' value='0'/>
- <enum name='NSTypesetterParagraphBreakAction' value='16'/>
- <enum name='NSTypesetterWhitespaceAction' value='2'/>
- <enum name='NSTypesetterZeroAdvancementAction' value='1'/>
- <enum name='NSUnboldFontMask' value='4'/>
- <enum name='NSUnderlinePatternDash' value='512'/>
- <enum name='NSUnderlinePatternDashDot' value='768'/>
- <enum name='NSUnderlinePatternDashDotDot' value='1024'/>
- <enum name='NSUnderlinePatternDot' value='256'/>
- <enum name='NSUnderlinePatternSolid' value='0'/>
- <enum name='NSUnderlineStyleDouble' value='9'/>
- <enum name='NSUnderlineStyleNone' value='0'/>
- <enum name='NSUnderlineStyleSingle' value='1'/>
- <enum name='NSUnderlineStyleThick' value='2'/>
- <enum name='NSUndoFunctionKey' value='63299'/>
- <enum name='NSUnifiedTitleAndToolbarWindowMask' value='4096'/>
- <enum name='NSUnitalicFontMask' value='16777216'/>
- <enum name='NSUnknownColorSpaceModel' value='-1'/>
- <enum name='NSUnknownPageOrder' value='2'/>
- <enum name='NSUnknownPointingDevice' value='0'/>
- <enum name='NSUnscaledWindowMask' value='2048'/>
- <enum name='NSUpArrowFunctionKey' value='63232'/>
- <enum name='NSUpTextMovement' value='21'/>
- <enum name='NSUpdateWindowsRunLoopOrdering' value='500000'/>
- <enum name='NSUserFunctionKey' value='63286'/>
- <enum name='NSUtilityWindowMask' value='16'/>
- <enum name='NSVariableStatusItemLength' value='-1'/>
- <enum name='NSVerticalRuler' value='1'/>
- <enum name='NSViaPanelFontAction' value='1'/>
- <enum name='NSViewHeightSizable' value='16'/>
- <enum name='NSViewMaxXMargin' value='4'/>
- <enum name='NSViewMaxYMargin' value='32'/>
- <enum name='NSViewMinXMargin' value='1'/>
- <enum name='NSViewMinYMargin' value='8'/>
- <enum name='NSViewNotSizable' value='0'/>
- <enum name='NSViewWidthSizable' value='2'/>
- <enum name='NSWantsBidiLevels' value='4'/>
- <enum name='NSWarningAlertStyle' value='0'/>
- <enum name='NSWheelModeColorPanel' value='6'/>
- <enum name='NSWindowAbove' value='1'/>
- <enum name='NSWindowBackingLocationDefault' value='0'/>
- <enum name='NSWindowBackingLocationMainMemory' value='2'/>
- <enum name='NSWindowBackingLocationVideoMemory' value='1'/>
- <enum name='NSWindowBelow' value='-1'/>
- <enum name='NSWindowCloseButton' value='0'/>
- <enum name='NSWindowCollectionBehaviorCanJoinAllSpaces' value='1'/>
- <enum name='NSWindowCollectionBehaviorDefault' value='0'/>
- <enum name='NSWindowCollectionBehaviorMoveToActiveSpace' value='2'/>
- <enum name='NSWindowDocumentIconButton' value='4'/>
- <enum name='NSWindowExposedEventType' value='0'/>
- <enum name='NSWindowMiniaturizeButton' value='1'/>
- <enum name='NSWindowMovedEventType' value='4'/>
- <enum name='NSWindowOut' value='0'/>
- <enum name='NSWindowSharingNone' value='0'/>
- <enum name='NSWindowSharingReadOnly' value='1'/>
- <enum name='NSWindowSharingReadWrite' value='2'/>
- <enum name='NSWindowToolbarButton' value='3'/>
- <enum name='NSWindowZoomButton' value='2'/>
- <enum name='NSWindows95InterfaceStyle' value='2'/>
- <enum name='NSWorkspaceLaunchAllowingClassicStartup' value='131072'/>
- <enum name='NSWorkspaceLaunchAndHide' value='1048576'/>
- <enum name='NSWorkspaceLaunchAndHideOthers' value='2097152'/>
- <enum name='NSWorkspaceLaunchAndPrint' value='2'/>
- <enum name='NSWorkspaceLaunchAsync' value='65536'/>
- <enum name='NSWorkspaceLaunchDefault' value='196608'/>
- <enum name='NSWorkspaceLaunchInhibitingBackgroundOnly' value='128'/>
- <enum name='NSWorkspaceLaunchNewInstance' value='524288'/>
- <enum name='NSWorkspaceLaunchPreferringClassic' value='262144'/>
- <enum name='NSWorkspaceLaunchWithoutActivation' value='512'/>
- <enum name='NSWorkspaceLaunchWithoutAddingToRecents' value='256'/>
- <enum name='NSWritingDirectionLeftToRight' value='0'/>
- <enum name='NSWritingDirectionNatural' value='-1'/>
- <enum name='NSWritingDirectionRightToLeft' value='1'/>
- <enum name='NSYearMonthDatePickerElementFlag' value='192'/>
- <enum name='NSYearMonthDayDatePickerElementFlag' value='224'/>
- <function name='NSAccessibilityActionDescription'>
- <arg name='action' declared_type='NSString*' type='@'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSAccessibilityPostNotification'>
- <arg name='element' declared_type='id' type='@'/>
- <arg name='notification' declared_type='NSString*' type='@'/>
- </function>
- <function name='NSAccessibilityRaiseBadArgumentException'>
- <arg name='element' declared_type='id' type='@'/>
- <arg name='attribute' declared_type='NSString*' type='@'/>
- <arg name='value' declared_type='id' type='@'/>
- </function>
- <function name='NSAccessibilityRoleDescription'>
- <arg name='role' declared_type='NSString*' type='@'/>
- <arg name='subrole' declared_type='NSString*' type='@'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSAccessibilityRoleDescriptionForUIElement'>
- <arg name='element' declared_type='id' type='@'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSAccessibilityUnignoredAncestor'>
- <arg name='element' declared_type='id' type='@'/>
- <retval declared_type='id' type='@'/>
- </function>
- <function name='NSAccessibilityUnignoredChildren'>
- <arg name='originalChildren' declared_type='NSArray*' type='@'/>
- <retval declared_type='NSArray*' type='@'/>
- </function>
- <function name='NSAccessibilityUnignoredChildrenForOnlyChild'>
- <arg name='originalChild' declared_type='id' type='@'/>
- <retval declared_type='NSArray*' type='@'/>
- </function>
- <function name='NSAccessibilityUnignoredDescendant'>
- <arg name='element' declared_type='id' type='@'/>
- <retval declared_type='id' type='@'/>
- </function>
- <function name='NSApplicationLoad'>
- <retval declared_type='BOOL' type='B'/>
- </function>
- <function name='NSApplicationMain'>
- <arg name='argc' declared_type='int' type='i'/>
- <arg name='argv' c_array_length_in_arg='0' declared_type='char**' type='^*' const='true' type_modifier='n'/>
- <retval declared_type='int' type='i'/>
- </function>
- <function name='NSAvailableWindowDepths'>
- <retval declared_type='NSWindowDepth*' type='^i' c_array_delimited_by_null='true' const='true'/>
- </function>
- <function name='NSBeep'/>
- <function name='NSBeginAlertSheet' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@'/>
- <arg name='modalDelegate' declared_type='id' type='@'/>
- <arg sel_of_type='v20@0:4@8i12^v16' name='didEndSelector' declared_type='SEL' type=':' sel_of_type64='v40@0:8@16q24^v32'/>
- <arg sel_of_type='v20@0:4@8i12^v16' name='didDismissSelector' declared_type='SEL' type=':' sel_of_type64='v36@0:8@16i24^v28'/>
- <arg name='contextInfo' declared_type='void*' type='^v' type_modifier='n'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@' type_modifier='n'/>
- </function>
- <function name='NSBeginCriticalAlertSheet' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@'/>
- <arg name='modalDelegate' declared_type='id' type='@'/>
- <arg sel_of_type='v20@0:4@8i12^v16' name='didEndSelector' declared_type='SEL' type=':' sel_of_type64='v40@0:8@16q24^v32'/>
- <arg sel_of_type='v20@0:4@8i12^v16' name='didDismissSelector' declared_type='SEL' type=':' sel_of_type64='v36@0:8@16i24^v28'/>
- <arg name='contextInfo' declared_type='void*' type='^v' type_modifier='n'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@' type_modifier='n'/>
- </function>
- <function name='NSBeginInformationalAlertSheet' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@'/>
- <arg name='modalDelegate' declared_type='id' type='@'/>
- <arg sel_of_type='v20@0:4@8i12^v16' name='didEndSelector' declared_type='SEL' type=':' sel_of_type64='v40@0:8@16q24^v32'/>
- <arg sel_of_type='v20@0:4@8i12^v16' name='didDismissSelector' declared_type='SEL' type=':' sel_of_type64='v36@0:8@16i24^v28'/>
- <arg name='contextInfo' declared_type='void*' type='^v' type_modifier='n'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@' type_modifier='n'/>
- </function>
- <function name='NSBestDepth'>
- <arg name='colorSpace' declared_type='NSString*' type='@'/>
- <arg name='bps' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='bpp' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='planar' declared_type='BOOL' type='B'/>
- <arg name='exactMatch' declared_type='BOOL*' type='^B' type_modifier='o'/>
- <retval declared_type='NSWindowDepth' type='i'/>
- </function>
- <function name='NSBitsPerPixelFromDepth'>
- <arg name='depth' declared_type='NSWindowDepth' type='i'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSBitsPerSampleFromDepth'>
- <arg name='depth' declared_type='NSWindowDepth' type='i'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSColorSpaceFromDepth'>
- <arg name='depth' declared_type='NSWindowDepth' type='i'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSConvertGlyphsToPackedGlyphs'>
- <arg name='glBuf' c_array_length_in_arg='1' declared_type='NSGlyph*' type='^I' type_modifier='n'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='packing' declared_type='NSMultibyteGlyphPacking' type='I' type64='Q'/>
- <arg name='packedGlyphs' c_array_length_in_arg='1' declared_type='char*' type='*' c_array_of_variable_length='true' type_modifier='o'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSCopyBits'>
- <arg name='srcGState' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='srcRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='destPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}'/>
- </function>
- <function name='NSCountWindows'>
- <arg name='count' null_accepted='false' declared_type='NSInteger*' type='^i' type64='^q' type_modifier='o'/>
- </function>
- <function name='NSCountWindowsForContext'>
- <arg name='context' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='count' null_accepted='false' declared_type='NSInteger*' type='^i' type64='^q' type_modifier='o'/>
- </function>
- <function name='NSCreateFileContentsPboardType'>
- <arg name='fileType' declared_type='NSString*' type='@'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSCreateFilenamePboardType'>
- <arg name='fileType' declared_type='NSString*' type='@'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSDisableScreenUpdates'/>
- <function name='NSDottedFrameRect'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawBitmap'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='width' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='height' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='bps' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='spp' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='bpp' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='bpr' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='isPlanar' declared_type='BOOL' type='B'/>
- <arg name='hasAlpha' declared_type='BOOL' type='B'/>
- <arg name='colorSpaceName' declared_type='NSString*' type='@'/>
- <arg name='data' declared_type='unsigned char**' type='^*' const='true'/>
- </function>
- <function name='NSDrawButton'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawColorTiledRects'>
- <arg name='boundsRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='sides' c_array_length_in_arg='4' declared_type='NSRectEdge*' type='^i' type64='^Q' const='true' type_modifier='n'/>
- <arg name='colors' c_array_length_in_arg='4' declared_type='NSColor**' type='^@' type_modifier='n'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawDarkBezel'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawGrayBezel'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawGroove'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawLightBezel'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawNinePartImage'>
- <arg name='frame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='topLeftCorner' declared_type='NSImage*' type='@'/>
- <arg name='topEdgeFill' declared_type='NSImage*' type='@'/>
- <arg name='topRightCorner' declared_type='NSImage*' type='@'/>
- <arg name='leftEdgeFill' declared_type='NSImage*' type='@'/>
- <arg name='centerFill' declared_type='NSImage*' type='@'/>
- <arg name='rightEdgeFill' declared_type='NSImage*' type='@'/>
- <arg name='bottomLeftCorner' declared_type='NSImage*' type='@'/>
- <arg name='bottomEdgeFill' declared_type='NSImage*' type='@'/>
- <arg name='bottomRightCorner' declared_type='NSImage*' type='@'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q'/>
- <arg name='alphaFraction' declared_type='CGFloat' type='f' type64='d'/>
- <arg name='flipped' declared_type='BOOL' type='B'/>
- </function>
- <function name='NSDrawThreePartImage'>
- <arg name='frame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='startCap' declared_type='NSImage*' type='@'/>
- <arg name='centerFill' declared_type='NSImage*' type='@'/>
- <arg name='endCap' declared_type='NSImage*' type='@'/>
- <arg name='vertical' declared_type='BOOL' type='B'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q'/>
- <arg name='alphaFraction' declared_type='CGFloat' type='f' type64='d'/>
- <arg name='flipped' declared_type='BOOL' type='B'/>
- </function>
- <function name='NSDrawTiledRects'>
- <arg name='boundsRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='sides' c_array_length_in_arg='4' declared_type='NSRectEdge*' type='^i' type64='^Q' const='true' type_modifier='n'/>
- <arg name='grays' c_array_length_in_arg='4' declared_type='CGFloat*' type='^f' type64='^d' const='true' type_modifier='n'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawWhiteBezel'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='clipRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSDrawWindowBackground'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSEnableScreenUpdates'/>
- <function name='NSEraseRect'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSEventMaskFromType' inline='true'>
- <arg name='type' declared_type='NSEventType' type='I' type64='Q'/>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </function>
- <function name='NSFrameRect'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSFrameRectWithWidth'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='frameWidth' declared_type='CGFloat' type='f' type64='d'/>
- </function>
- <function name='NSFrameRectWithWidthUsingOperation'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='frameWidth' declared_type='CGFloat' type='f' type64='d'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q'/>
- </function>
- <function name='NSGetAlertPanel' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <retval declared_type='id' type='@'/>
- </function>
- <function name='NSGetCriticalAlertPanel' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <retval declared_type='id' type='@'/>
- </function>
- <function name='NSGetFileType'>
- <arg name='pboardType' declared_type='NSString*' type='@'/>
- <retval declared_type='NSString*' type='@'/>
- </function>
- <function name='NSGetFileTypes'>
- <arg name='pboardTypes' declared_type='NSArray*' type='@'/>
- <retval declared_type='NSArray*' type='@'/>
- </function>
- <function name='NSGetInformationalAlertPanel' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <retval declared_type='id' type='@'/>
- </function>
- <function name='NSGetWindowServerMemory'>
- <arg name='context' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='virtualMemory' declared_type='NSInteger*' type='^i' type64='^q' type_modifier='o'/>
- <arg name='windowBackingMemory' declared_type='NSInteger*' type='^i' type64='^q' type_modifier='o'/>
- <arg name='windowDumpString' declared_type='NSString**' type='^@' type_modifier='o'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSHighlightRect'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSInterfaceStyleForKey'>
- <arg name='key' declared_type='NSString*' type='@'/>
- <arg name='responder' declared_type='NSResponder*' type='@'/>
- <retval declared_type='NSInterfaceStyle' type='I' type64='Q'/>
- </function>
- <function name='NSIsControllerMarker'>
- <arg name='object' declared_type='id' type='@'/>
- <retval declared_type='BOOL' type='B'/>
- </function>
- <function name='NSNumberOfColorComponents'>
- <arg name='colorSpaceName' declared_type='NSString*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSOpenGLGetOption'>
- <arg name='pname' declared_type='NSOpenGLGlobalOption' type='i'/>
- <arg name='param' declared_type='GLint*' type='^i' type_modifier='o'/>
- </function>
- <function name='NSOpenGLGetVersion'>
- <arg name='major' declared_type='GLint*' type='^i' type_modifier='o'/>
- <arg name='minor' declared_type='GLint*' type='^i' type_modifier='o'/>
- </function>
- <function name='NSOpenGLSetOption'>
- <arg name='pname' declared_type='NSOpenGLGlobalOption' type='i'/>
- <arg name='param' declared_type='GLint' type='i'/>
- </function>
- <function name='NSPerformService'>
- <arg name='itemName' declared_type='NSString*' type='@'/>
- <arg name='pboard' declared_type='NSPasteboard*' type='@'/>
- <retval declared_type='BOOL' type='B'/>
- </function>
- <function name='NSPlanarFromDepth'>
- <arg name='depth' declared_type='NSWindowDepth' type='i'/>
- <retval declared_type='BOOL' type='B'/>
- </function>
- <function name='NSReadPixel'>
- <arg name='passedPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}'/>
- <retval declared_type='NSColor*' type='@'/>
- </function>
- <function name='NSRectClip'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSRectClipList'>
- <arg name='rects' c_array_length_in_arg='1' declared_type='NSRect*' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' const='true' type_modifier='n'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRectFill'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </function>
- <function name='NSRectFillList'>
- <arg name='rects' c_array_length_in_arg='1' declared_type='NSRect*' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' const='true' type_modifier='n'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRectFillListUsingOperation'>
- <arg name='rects' c_array_length_in_arg='1' declared_type='NSRect*' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' const='true' type_modifier='n'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q'/>
- </function>
- <function name='NSRectFillListWithColors'>
- <arg name='rects' c_array_length_in_arg='2' declared_type='NSRect*' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' const='true' type_modifier='n'/>
- <arg name='colors' c_array_length_in_arg='2' declared_type='NSColor**' type='^@' type_modifier='n'/>
- <arg name='num' declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRectFillListWithColorsUsingOperation'>
- <arg name='rects' c_array_length_in_arg='2' declared_type='NSRect*' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' const='true' type_modifier='n'/>
- <arg name='colors' c_array_length_in_arg='2' declared_type='NSColor**' type='^@' type_modifier='n'/>
- <arg name='num' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q'/>
- </function>
- <function name='NSRectFillListWithGrays'>
- <arg name='rects' c_array_length_in_arg='2' declared_type='NSRect*' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' const='true' type_modifier='n'/>
- <arg name='grays' c_array_length_in_arg='2' declared_type='CGFloat*' type='^f' type64='^d' const='true' type_modifier='n'/>
- <arg name='num' declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRectFillUsingOperation'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q'/>
- </function>
- <function name='NSRegisterServicesProvider'>
- <arg name='provider' declared_type='id' type='@'/>
- <arg name='name' declared_type='NSString*' type='@'/>
- </function>
- <function name='NSReleaseAlertPanel'>
- <arg name='panel' declared_type='id' type='@'/>
- </function>
- <function name='NSRunAlertPanel' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRunAlertPanelRelativeToWindow' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRunCriticalAlertPanel' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRunCriticalAlertPanelRelativeToWindow' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRunInformationalAlertPanel' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSRunInformationalAlertPanelRelativeToWindow' variadic='true'>
- <arg name='title' declared_type='NSString*' type='@'/>
- <arg printf_format='true' name='msgFormat' declared_type='NSString*' type='@'/>
- <arg name='defaultButton' declared_type='NSString*' type='@'/>
- <arg name='alternateButton' declared_type='NSString*' type='@'/>
- <arg name='otherButton' declared_type='NSString*' type='@'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSSetFocusRingStyle'>
- <arg name='placement' declared_type='NSFocusRingPlacement' type='I' type64='Q'/>
- </function>
- <function name='NSSetShowsServicesMenuItem'>
- <arg name='itemName' declared_type='NSString*' type='@'/>
- <arg name='enabled' declared_type='BOOL' type='B'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </function>
- <function name='NSShowAnimationEffect'>
- <arg name='animationEffect' declared_type='NSAnimationEffect' type='I' type64='Q'/>
- <arg name='centerLocation' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}'/>
- <arg name='size' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- <arg name='animationDelegate' declared_type='id' type='@'/>
- <arg sel_of_type='v12@0:4^v8' name='didEndSelector' declared_type='SEL' type=':' sel_of_type64='v24@0:8^v16'/>
- <arg name='contextInfo' declared_type='void*' type='^v' type_modifier='n'/>
- </function>
- <function name='NSShowsServicesMenuItem'>
- <arg name='itemName' declared_type='NSString*' type='@'/>
- <retval declared_type='BOOL' type='B'/>
- </function>
- <function name='NSUnregisterServicesProvider'>
- <arg name='name' declared_type='NSString*' type='@'/>
- </function>
- <function name='NSUpdateDynamicServices'/>
- <function name='NSWindowList'>
- <arg name='size' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='list' c_array_length_in_arg='0' declared_type='NSInteger*' type='^i' type64='^q' type_modifier='o'/>
- </function>
- <function name='NSWindowListForContext'>
- <arg name='context' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='size' declared_type='NSInteger' type='i' type64='q'/>
- <arg name='list' c_array_length_in_arg='1' declared_type='NSInteger*' type='^i' type64='^q' type_modifier='o'/>
- </function>
- <class name='CIColor'>
- <method selector='initWithColor:'>
- <arg name='color' declared_type='NSColor*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='CIImage'>
- <method selector='drawAtPoint:fromRect:operation:fraction:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='fromRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q' index='2'/>
- <arg name='delta' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawInRect:fromRect:operation:fraction:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='fromRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='op' declared_type='NSCompositingOperation' type='I' type64='Q' index='2'/>
- <arg name='delta' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='initWithBitmapImageRep:'>
- <arg name='bitmapImageRep' declared_type='NSBitmapImageRep*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='NSATSTypesetter'>
- <method selector='lineFragmentRectForProposedRect:remainingRect:'>
- <arg name='proposedRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='remainingRect' declared_type='NSRectPointer' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method class_method='true' selector='sharedTypesetter'>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='NSActionCell'>
- <method selector='action'>
- <retval declared_type='SEL' type=':'/>
- </method>
- <method selector='controlView'>
- <retval declared_type='NSView*' type='@'/>
- </method>
- <method selector='doubleValue'>
- <retval declared_type='double' type='d'/>
- </method>
- <method selector='floatValue'>
- <retval declared_type='float' type='f'/>
- </method>
- <method selector='intValue'>
- <retval declared_type='int' type='i'/>
- </method>
- <method selector='integerValue'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='setAction:'>
- <arg name='aSelector' declared_type='SEL' type=':' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlignment:'>
- <arg name='mode' declared_type='NSTextAlignment' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBezeled:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBordered:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setControlView:'>
- <arg name='view' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setEnabled:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFloatingPointFormat:left:right:'>
- <arg name='autoRange' declared_type='BOOL' type='B' index='0'/>
- <arg name='leftDigits' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <arg name='rightDigits' declared_type='NSUInteger' type='I' type64='Q' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFont:'>
- <arg name='fontObj' declared_type='NSFont*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setObjectValue:'>
- <arg name='obj' declared_type='id&lt;NSCopying&gt;' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTag:'>
- <arg name='anInt' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTarget:'>
- <arg name='anObject' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stringValue'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='tag'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='target'>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='NSAffineTransform'>
- <method selector='appendTransform:'>
- <arg name='transform' declared_type='NSAffineTransform*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='concat'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='initWithTransform:'>
- <arg name='transform' declared_type='NSAffineTransform*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='invert'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='prependTransform:'>
- <arg name='transform' declared_type='NSAffineTransform*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='rotateByDegrees:'>
- <arg name='angle' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='rotateByRadians:'>
- <arg name='angle' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='scaleBy:'>
- <arg name='scale' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='scaleXBy:yBy:'>
- <arg name='scaleX' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='scaleY' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='set'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTransformStruct:'>
- <arg name='transformStruct' declared_type='NSAffineTransformStruct' type='{?=ffffff}' type64='{?=dddddd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='transform'>
- <retval declared_type='NSAffineTransform*' type='@'/>
- </method>
- <method selector='transformBezierPath:'>
- <arg name='aPath' declared_type='NSBezierPath*' type='@' index='0'/>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method selector='transformPoint:'>
- <arg name='aPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}'/>
- </method>
- <method selector='transformSize:'>
- <arg name='aSize' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}' index='0'/>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='transformStruct'>
- <retval declared_type='NSAffineTransformStruct' type='{?=ffffff}' type64='{?=dddddd}'/>
- </method>
- <method selector='translateXBy:yBy:'>
- <arg name='deltaX' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='deltaY' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- </class>
- <class name='NSAlert'>
- <method selector='accessoryView'>
- <retval declared_type='NSView*' type='@'/>
- </method>
- <method selector='addButtonWithTitle:'>
- <arg name='title' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='NSButton*' type='@'/>
- </method>
- <method selector='alertStyle'>
- <retval declared_type='NSAlertStyle' type='I' type64='Q'/>
- </method>
- <method class_method='true' selector='alertWithError:'>
- <arg name='error' declared_type='NSError*' type='@' index='0'/>
- <retval declared_type='NSAlert*' type='@'/>
- </method>
- <method class_method='true' variadic='true' selector='alertWithMessageText:defaultButton:alternateButton:otherButton:informativeTextWithFormat:'>
- <arg name='message' declared_type='NSString*' type='@' index='0'/>
- <arg name='defaultButton' declared_type='NSString*' type='@' index='1'/>
- <arg name='alternateButton' declared_type='NSString*' type='@' index='2'/>
- <arg name='otherButton' declared_type='NSString*' type='@' index='3'/>
- <arg name='informativeTextWithFormat' declared_type='NSString*' type='@' index='4'/>
- <retval declared_type='NSAlert*' type='@'/>
- </method>
- <method selector='beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:'>
- <arg name='window' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='delegate' declared_type='id' type='@' index='1'/>
- <arg name='didEndSelector' declared_type='SEL' type=':' index='2'/>
- <arg name='contextInfo' declared_type='void*' type='^v' index='3'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='buttons'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='delegate'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='helpAnchor'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='icon'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='informativeText'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='layout'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='messageText'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='runModal'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='setAccessoryView:'>
- <arg name='view' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlertStyle:'>
- <arg name='style' declared_type='NSAlertStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDelegate:'>
- <arg name='delegate' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setHelpAnchor:'>
- <arg name='anchor' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setIcon:'>
- <arg name='icon' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setInformativeText:'>
- <arg name='informativeText' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMessageText:'>
- <arg name='messageText' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setShowsHelp:'>
- <arg name='showsHelp' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setShowsSuppressionButton:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='showsHelp'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='showsSuppressionButton'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='suppressionButton'>
- <retval declared_type='NSButton*' type='@'/>
- </method>
- <method selector='window'>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='NSAnimation'>
- <method selector='addProgressMark:'>
- <arg name='progressMark' declared_type='NSAnimationProgress' type='f' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='animationBlockingMode'>
- <retval declared_type='NSAnimationBlockingMode' type='I' type64='Q'/>
- </method>
- <method selector='animationCurve'>
- <retval declared_type='NSAnimationCurve' type='I' type64='Q'/>
- </method>
- <method selector='clearStartAnimation'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='clearStopAnimation'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='currentProgress'>
- <retval declared_type='NSAnimationProgress' type='f'/>
- </method>
- <method selector='currentValue'>
- <retval declared_type='float' type='f'/>
- </method>
- <method selector='delegate'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='duration'>
- <retval declared_type='NSTimeInterval' type='d'/>
- </method>
- <method selector='frameRate'>
- <retval declared_type='float' type='f'/>
- </method>
- <method selector='initWithDuration:animationCurve:'>
- <arg name='duration' declared_type='NSTimeInterval' type='d' index='0'/>
- <arg name='animationCurve' declared_type='NSAnimationCurve' type='I' type64='Q' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='isAnimating'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='progressMarks'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='removeProgressMark:'>
- <arg name='progressMark' declared_type='NSAnimationProgress' type='f' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='runLoopModesForAnimating'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='setAnimationBlockingMode:'>
- <arg name='animationBlockingMode' declared_type='NSAnimationBlockingMode' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAnimationCurve:'>
- <arg name='curve' declared_type='NSAnimationCurve' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCurrentProgress:'>
- <arg name='progress' declared_type='NSAnimationProgress' type='f' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDelegate:'>
- <arg name='delegate' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDuration:'>
- <arg name='duration' declared_type='NSTimeInterval' type='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFrameRate:'>
- <arg name='framesPerSecond' declared_type='float' type='f' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setProgressMarks:'>
- <arg name='progressMarks' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='startAnimation'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='startWhenAnimation:reachesProgress:'>
- <arg name='animation' declared_type='NSAnimation*' type='@' index='0'/>
- <arg name='startProgress' declared_type='NSAnimationProgress' type='f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stopAnimation'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stopWhenAnimation:reachesProgress:'>
- <arg name='animation' declared_type='NSAnimation*' type='@' index='0'/>
- <arg name='stopProgress' declared_type='NSAnimationProgress' type='f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- </class>
- <class name='NSAnimationContext'>
- <method class_method='true' selector='beginGrouping'>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='currentContext'>
- <retval declared_type='NSAnimationContext*' type='@'/>
- </method>
- <method selector='duration'>
- <retval declared_type='NSTimeInterval' type='d'/>
- </method>
- <method class_method='true' selector='endGrouping'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDuration:'>
- <arg name='duration' declared_type='NSTimeInterval' type='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- </class>
- <class name='NSAppleScript'>
- <method selector='richTextSource'>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- </class>
- <class name='NSApplication'>
- <method selector='abortModal'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='activateContextHelpMode:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='activateIgnoringOtherApps:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='addWindowsItem:title:filename:'>
- <arg name='win' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='aString' declared_type='NSString*' type='@' index='1'/>
- <arg name='isFilename' declared_type='BOOL' type='B' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='applicationIconImage'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='arrangeInFront:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='beginModalSessionForWindow:'>
- <arg name='theWindow' declared_type='NSWindow*' type='@' index='0'/>
- <retval declared_type='NSModalSession' type='^{_NSModalSession=}'/>
- </method>
- <method selector='beginModalSessionForWindow:relativeToWindow:'>
- <arg name='theWindow' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@' index='1'/>
- <retval declared_type='NSModalSession' type='^{_NSModalSession=}'/>
- </method>
- <method selector='beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:'>
- <arg name='sheet' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@' index='1'/>
- <arg name='modalDelegate' declared_type='id' type='@' index='2'/>
- <arg name='didEndSelector' declared_type='SEL' type=':' index='3'/>
- <arg name='contextInfo' declared_type='void*' type='^v' index='4'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='cancelUserAttentionRequest:'>
- <arg name='request' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='changeWindowsItem:title:filename:'>
- <arg name='win' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='aString' declared_type='NSString*' type='@' index='1'/>
- <arg name='isFilename' declared_type='BOOL' type='B' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='context'>
- <retval declared_type='NSGraphicsContext*' type='@'/>
- </method>
- <method selector='currentEvent'>
- <retval declared_type='NSEvent*' type='@'/>
- </method>
- <method selector='deactivate'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='delegate'>
- <retval declared_type='id' type='@'/>
- </method>
- <method class_method='true' selector='detachDrawingThread:toTarget:withObject:'>
- <arg name='selector' declared_type='SEL' type=':' index='0'/>
- <arg name='target' declared_type='id' type='@' index='1'/>
- <arg name='argument' declared_type='id' type='@' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='discardEventsMatchingMask:beforeEvent:'>
- <arg name='mask' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='lastEvent' declared_type='NSEvent*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='dockTile'>
- <retval declared_type='NSDockTile*' type='@'/>
- </method>
- <method selector='endModalSession:'>
- <arg name='session' declared_type='NSModalSession' type='^{_NSModalSession=}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='endSheet:'>
- <arg name='sheet' declared_type='NSWindow*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='endSheet:returnCode:'>
- <arg name='sheet' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='returnCode' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='finishLaunching'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='hide:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='hideOtherApplications:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='isActive'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isHidden'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isRunning'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='keyWindow'>
- <retval declared_type='NSWindow*' type='@'/>
- </method>
- <method selector='mainMenu'>
- <retval declared_type='NSMenu*' type='@'/>
- </method>
- <method selector='mainWindow'>
- <retval declared_type='NSWindow*' type='@'/>
- </method>
- <method selector='makeWindowsPerform:inOrder:'>
- <arg name='aSelector' declared_type='SEL' type=':' index='0'/>
- <arg name='flag' declared_type='BOOL' type='B' index='1'/>
- <retval declared_type='NSWindow*' type='@'/>
- </method>
- <method selector='miniaturizeAll:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='modalWindow'>
- <retval declared_type='NSWindow*' type='@'/>
- </method>
- <method selector='nextEventMatchingMask:untilDate:inMode:dequeue:'>
- <arg name='mask' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='expiration' declared_type='NSDate*' type='@' index='1'/>
- <arg name='mode' declared_type='NSString*' type='@' index='2'/>
- <arg name='deqFlag' declared_type='BOOL' type='B' index='3'/>
- <retval declared_type='NSEvent*' type='@'/>
- </method>
- <method selector='orderFrontCharacterPalette:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='orderFrontColorPanel:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='orderFrontStandardAboutPanel:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='orderFrontStandardAboutPanelWithOptions:'>
- <arg name='optionsDictionary' declared_type='NSDictionary*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='orderedDocuments'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='orderedWindows'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='postEvent:atStart:'>
- <arg name='event' declared_type='NSEvent*' type='@' index='0'/>
- <arg name='flag' declared_type='BOOL' type='B' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='preventWindowOrdering'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='registerServicesMenuSendTypes:returnTypes:'>
- <arg name='sendTypes' declared_type='NSArray*' type='@' index='0'/>
- <arg name='returnTypes' declared_type='NSArray*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeWindowsItem:'>
- <arg name='win' declared_type='NSWindow*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='replyToApplicationShouldTerminate:'>
- <arg name='shouldTerminate' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='replyToOpenOrPrint:'>
- <arg name='reply' declared_type='NSApplicationDelegateReply' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='reportException:'>
- <arg name='theException' declared_type='NSException*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='requestUserAttention:'>
- <arg name='requestType' declared_type='NSRequestUserAttentionType' type='I' type64='Q' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='run'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='runModalForWindow:'>
- <arg name='theWindow' declared_type='NSWindow*' type='@' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='runModalForWindow:relativeToWindow:'>
- <arg name='theWindow' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='docWindow' declared_type='NSWindow*' type='@' index='1'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='runModalSession:'>
- <arg name='session' declared_type='NSModalSession' type='^{_NSModalSession=}' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='runPageLayout:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='sendAction:to:from:'>
- <arg name='theAction' declared_type='SEL' type=':' index='0'/>
- <arg name='theTarget' declared_type='id' type='@' index='1'/>
- <arg name='sender' declared_type='id' type='@' index='2'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='sendEvent:'>
- <arg name='theEvent' declared_type='NSEvent*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='servicesMenu'>
- <retval declared_type='NSMenu*' type='@'/>
- </method>
- <method selector='servicesProvider'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='setApplicationIconImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDelegate:'>
- <arg name='anObject' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMainMenu:'>
- <arg name='aMenu' declared_type='NSMenu*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setServicesMenu:'>
- <arg name='aMenu' declared_type='NSMenu*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setServicesProvider:'>
- <arg name='provider' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setWindowsMenu:'>
- <arg name='aMenu' declared_type='NSMenu*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setWindowsNeedUpdate:'>
- <arg name='needUpdate' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='sharedApplication'>
- <retval declared_type='NSApplication*' type='@'/>
- </method>
- <method selector='showHelp:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stop:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stopModal'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stopModalWithCode:'>
- <arg name='returnCode' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='targetForAction:'>
- <arg name='theAction' declared_type='SEL' type=':' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='targetForAction:to:from:'>
- <arg name='theAction' declared_type='SEL' type=':' index='0'/>
- <arg name='theTarget' declared_type='id' type='@' index='1'/>
- <arg name='sender' declared_type='id' type='@' index='2'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='terminate:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='tryToPerform:with:'>
- <arg name='anAction' declared_type='SEL' type=':' index='0'/>
- <arg name='anObject' declared_type='id' type='@' index='1'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='unhide:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='unhideAllApplications:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='unhideWithoutActivation'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='updateWindows'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='updateWindowsItem:'>
- <arg name='win' declared_type='NSWindow*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='validRequestorForSendType:returnType:'>
- <arg name='sendType' declared_type='NSString*' type='@' index='0'/>
- <arg name='returnType' declared_type='NSString*' type='@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='windowWithWindowNumber:'>
- <arg name='windowNum' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSWindow*' type='@'/>
- </method>
- <method selector='windows'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='windowsMenu'>
- <retval declared_type='NSMenu*' type='@'/>
- </method>
- </class>
- <class name='NSArrayController'>
- <method selector='add:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='addObject:'>
- <arg name='object' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='addObjects:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='addSelectedObjects:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='addSelectionIndexes:'>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='alwaysUsesMultipleValuesMarker'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='arrangeObjects:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='arrangedObjects'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='automaticRearrangementKeyPaths'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='automaticallyRearrangesObjects'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='avoidsEmptySelection'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='canInsert'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='canSelectNext'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='canSelectPrevious'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='clearsFilterPredicateOnInsertion'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='didChangeArrangementCriteria'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='filterPredicate'>
- <retval declared_type='NSPredicate*' type='@'/>
- </method>
- <method selector='insert:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='insertObject:atArrangedObjectIndex:'>
- <arg name='object' declared_type='id' type='@' index='0'/>
- <arg name='index' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='insertObjects:atArrangedObjectIndexes:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='preservesSelection'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='rearrangeObjects'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='remove:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeObject:'>
- <arg name='object' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeObjectAtArrangedObjectIndex:'>
- <arg name='index' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeObjects:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeObjectsAtArrangedObjectIndexes:'>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeSelectedObjects:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='removeSelectionIndexes:'>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='selectNext:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectPrevious:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectedObjects'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='selectionIndex'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='selectionIndexes'>
- <retval declared_type='NSIndexSet*' type='@'/>
- </method>
- <method selector='selectsInsertedObjects'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setAlwaysUsesMultipleValuesMarker:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAutomaticallyRearrangesObjects:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAvoidsEmptySelection:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setClearsFilterPredicateOnInsertion:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFilterPredicate:'>
- <arg name='filterPredicate' declared_type='NSPredicate*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setPreservesSelection:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSelectedObjects:'>
- <arg name='objects' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setSelectionIndex:'>
- <arg name='index' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setSelectionIndexes:'>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setSelectsInsertedObjects:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSortDescriptors:'>
- <arg name='sortDescriptors' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='sortDescriptors'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- </class>
- <class name='NSAttributedString'>
- <method selector='RTFDFileWrapperFromRange:documentAttributes:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <arg name='dict' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='NSFileWrapper*' type='@'/>
- </method>
- <method selector='RTFDFromRange:documentAttributes:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <arg name='dict' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='RTFFromRange:documentAttributes:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <arg name='dict' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='URLAtIndex:effectiveRange:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='effectiveRange' declared_type='NSRangePointer' type='^{_NSRange=II}' type64='^{_NSRange=QQ}' index='1'/>
- <retval declared_type='NSURL*' type='@'/>
- </method>
- <method selector='attribute:atIndex:effectiveRange:'>
- <arg name='attrName' declared_type='NSString*' type='@' index='0'/>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <arg name='range' declared_type='NSRangePointer' type='^{_NSRange=II}' type64='^{_NSRange=QQ}' index='2'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='attribute:atIndex:longestEffectiveRange:inRange:'>
- <arg name='attrName' declared_type='NSString*' type='@' index='0'/>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <arg name='range' declared_type='NSRangePointer' type='^{_NSRange=II}' type64='^{_NSRange=QQ}' index='2'/>
- <arg name='rangeLimit' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='3'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method class_method='true' selector='attributedStringWithAttachment:'>
- <arg name='attachment' declared_type='NSTextAttachment*' type='@' index='0'/>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='attributedSubstringFromRange:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='attributesAtIndex:effectiveRange:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='range' declared_type='NSRangePointer' type='^{_NSRange=II}' type64='^{_NSRange=QQ}' index='1'/>
- <retval declared_type='NSDictionary*' type='@'/>
- </method>
- <method selector='attributesAtIndex:longestEffectiveRange:inRange:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='range' declared_type='NSRangePointer' type='^{_NSRange=II}' type64='^{_NSRange=QQ}' index='1'/>
- <arg name='rangeLimit' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='2'/>
- <retval declared_type='NSDictionary*' type='@'/>
- </method>
- <method selector='boundingRectWithSize:options:'>
- <arg name='size' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}' index='0'/>
- <arg name='options' declared_type='NSStringDrawingOptions' type='i' type64='q' index='1'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='containsAttachments'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='dataFromRange:documentAttributes:error:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <arg name='dict' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='error' declared_type='NSError**' type='^@' index='2'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='docFormatFromRange:documentAttributes:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <arg name='dict' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='doubleClickAtIndex:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}'/>
- </method>
- <method selector='drawAtPoint:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawInRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawWithRect:options:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='options' declared_type='NSStringDrawingOptions' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='fileWrapperFromRange:documentAttributes:error:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <arg name='dict' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='error' declared_type='NSError**' type='^@' index='2'/>
- <retval declared_type='NSFileWrapper*' type='@'/>
- </method>
- <method selector='fontAttributesInRange:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <retval declared_type='NSDictionary*' type='@'/>
- </method>
- <method selector='initWithAttributedString:'>
- <arg name='attrStr' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithData:options:documentAttributes:error:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='options' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='2'/>
- <arg name='error' declared_type='NSError**' type='^@' index='3'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithDocFormat:documentAttributes:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithHTML:baseURL:documentAttributes:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='base' declared_type='NSURL*' type='@' index='1'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='2'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithHTML:documentAttributes:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithHTML:options:documentAttributes:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='options' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='2'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithPath:documentAttributes:'>
- <arg name='path' declared_type='NSString*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithRTF:documentAttributes:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithRTFD:documentAttributes:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithRTFDFileWrapper:documentAttributes:'>
- <arg name='wrapper' declared_type='NSFileWrapper*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithString:'>
- <arg name='str' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithString:attributes:'>
- <arg name='str' declared_type='NSString*' type='@' index='0'/>
- <arg name='attrs' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithURL:documentAttributes:'>
- <arg name='url' declared_type='NSURL*' type='@' index='0'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithURL:options:documentAttributes:error:'>
- <arg name='url' declared_type='NSURL*' type='@' index='0'/>
- <arg name='options' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='dict' declared_type='NSDictionary**' type='^@' index='2'/>
- <arg name='error' declared_type='NSError**' type='^@' index='3'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='isEqualToAttributedString:'>
- <arg name='other' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='itemNumberInTextList:atIndex:'>
- <arg name='list' declared_type='NSTextList*' type='@' index='0'/>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='length'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='lineBreakBeforeIndex:withinRange:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='aRange' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='1'/>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='lineBreakByHyphenatingBeforeIndex:withinRange:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='aRange' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='1'/>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='nextWordFromIndex:forward:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <arg name='isForward' declared_type='BOOL' type='B' index='1'/>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='rangeOfTextBlock:atIndex:'>
- <arg name='block' declared_type='NSTextBlock*' type='@' index='0'/>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <retval declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}'/>
- </method>
- <method selector='rangeOfTextList:atIndex:'>
- <arg name='list' declared_type='NSTextList*' type='@' index='0'/>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <retval declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}'/>
- </method>
- <method selector='rangeOfTextTable:atIndex:'>
- <arg name='table' declared_type='NSTextTable*' type='@' index='0'/>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <retval declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}'/>
- </method>
- <method selector='rulerAttributesInRange:'>
- <arg name='range' declared_type='NSRange' type='{_NSRange=II}' type64='{_NSRange=QQ}' index='0'/>
- <retval declared_type='NSDictionary*' type='@'/>
- </method>
- <method selector='size'>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='string'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method class_method='true' selector='textFileTypes'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method class_method='true' selector='textPasteboardTypes'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method class_method='true' selector='textTypes'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method class_method='true' selector='textUnfilteredFileTypes'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method class_method='true' selector='textUnfilteredPasteboardTypes'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method class_method='true' selector='textUnfilteredTypes'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- </class>
- <class name='NSBezierPath'>
- <method selector='addClip'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPath:'>
- <arg name='path' declared_type='NSBezierPath*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithArcFromPoint:toPoint:radius:'>
- <arg name='point1' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='point2' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <arg name='radius' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:'>
- <arg name='center' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='radius' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='startAngle' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='endAngle' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:'>
- <arg name='center' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='radius' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='startAngle' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='endAngle' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <arg name='clockwise' declared_type='BOOL' type='B' index='4'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithGlyph:inFont:'>
- <arg name='glyph' declared_type='NSGlyph' type='I' index='0'/>
- <arg name='font' declared_type='NSFont*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithGlyphs:count:inFont:'>
- <arg name='glyphs' declared_type='NSGlyph*' type='^I' index='0'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='font' declared_type='NSFont*' type='@' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithOvalInRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithPackedGlyphs:'>
- <arg name='packedGlyphs' declared_type='char*' type='*' const='true' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithPoints:count:'>
- <arg name='points' declared_type='NSPointArray' type='^{_NSPoint=ff}' type64='^{CGPoint=dd}' index='0'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='appendBezierPathWithRoundedRect:xRadius:yRadius:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='xRadius' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='yRadius' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='bezierPath'>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method selector='bezierPathByFlatteningPath'>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method selector='bezierPathByReversingPath'>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method class_method='true' selector='bezierPathWithOvalInRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method class_method='true' selector='bezierPathWithRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method class_method='true' selector='bezierPathWithRoundedRect:xRadius:yRadius:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='xRadius' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='yRadius' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <retval declared_type='NSBezierPath*' type='@'/>
- </method>
- <method selector='bounds'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='cachesBezierPath'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method class_method='true' selector='clipRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='closePath'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='containsPoint:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='controlPointBounds'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='currentPoint'>
- <retval declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}'/>
- </method>
- <method selector='curveToPoint:controlPoint1:controlPoint2:'>
- <arg name='endPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='controlPoint1' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <arg name='controlPoint2' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='defaultFlatness'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method class_method='true' selector='defaultLineCapStyle'>
- <retval declared_type='NSLineCapStyle' type='I' type64='Q'/>
- </method>
- <method class_method='true' selector='defaultLineJoinStyle'>
- <retval declared_type='NSLineJoinStyle' type='I' type64='Q'/>
- </method>
- <method class_method='true' selector='defaultLineWidth'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method class_method='true' selector='defaultMiterLimit'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method class_method='true' selector='defaultWindingRule'>
- <retval declared_type='NSWindingRule' type='I' type64='Q'/>
- </method>
- <method class_method='true' selector='drawPackedGlyphs:atPoint:'>
- <arg name='packedGlyphs' declared_type='char*' type='*' const='true' index='0'/>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='elementAtIndex:'>
- <arg name='index' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSBezierPathElement' type='I' type64='Q'/>
- </method>
- <method selector='elementAtIndex:associatedPoints:'>
- <arg name='index' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <arg name='points' declared_type='NSPointArray' type='^{_NSPoint=ff}' type64='^{CGPoint=dd}' index='1'/>
- <retval declared_type='NSBezierPathElement' type='I' type64='Q'/>
- </method>
- <method selector='elementCount'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='fill'>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='fillRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='flatness'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='getLineDash:count:phase:'>
- <arg name='pattern' declared_type='CGFloat*' type='^f' type64='^d' index='0'/>
- <arg name='count' declared_type='NSInteger*' type='^i' type64='^q' index='1'/>
- <arg name='phase' declared_type='CGFloat*' type='^f' type64='^d' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='isEmpty'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='lineCapStyle'>
- <retval declared_type='NSLineCapStyle' type='I' type64='Q'/>
- </method>
- <method selector='lineJoinStyle'>
- <retval declared_type='NSLineJoinStyle' type='I' type64='Q'/>
- </method>
- <method selector='lineToPoint:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='lineWidth'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='miterLimit'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='moveToPoint:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='relativeCurveToPoint:controlPoint1:controlPoint2:'>
- <arg name='endPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='controlPoint1' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <arg name='controlPoint2' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='relativeLineToPoint:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='relativeMoveToPoint:'>
- <arg name='point' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='removeAllPoints'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAssociatedPoints:atIndex:'>
- <arg name='points' declared_type='NSPointArray' type='^{_NSPoint=ff}' type64='^{CGPoint=dd}' index='0'/>
- <arg name='index' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCachesBezierPath:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setClip'>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='setDefaultFlatness:'>
- <arg name='flatness' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='setDefaultLineCapStyle:'>
- <arg name='lineCapStyle' declared_type='NSLineCapStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='setDefaultLineJoinStyle:'>
- <arg name='lineJoinStyle' declared_type='NSLineJoinStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='setDefaultLineWidth:'>
- <arg name='lineWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='setDefaultMiterLimit:'>
- <arg name='limit' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='setDefaultWindingRule:'>
- <arg name='windingRule' declared_type='NSWindingRule' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFlatness:'>
- <arg name='flatness' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLineCapStyle:'>
- <arg name='lineCapStyle' declared_type='NSLineCapStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLineDash:count:phase:'>
- <arg name='pattern' declared_type='CGFloat*' type='^f' type64='^d' const='true' index='0'/>
- <arg name='count' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='phase' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLineJoinStyle:'>
- <arg name='lineJoinStyle' declared_type='NSLineJoinStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLineWidth:'>
- <arg name='lineWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMiterLimit:'>
- <arg name='miterLimit' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setWindingRule:'>
- <arg name='windingRule' declared_type='NSWindingRule' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stroke'>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='strokeLineFromPoint:toPoint:'>
- <arg name='point1' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='point2' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='strokeRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='transformUsingAffineTransform:'>
- <arg name='transform' declared_type='NSAffineTransform*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='windingRule'>
- <retval declared_type='NSWindingRule' type='I' type64='Q'/>
- </method>
- </class>
- <class name='NSBitmapImageRep'>
- <method selector='CGImage'>
- <retval declared_type='CGImageRef' type='^{CGImage=}'/>
- </method>
- <method selector='TIFFRepresentation'>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method class_method='true' selector='TIFFRepresentationOfImageRepsInArray:'>
- <arg name='array' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method class_method='true' selector='TIFFRepresentationOfImageRepsInArray:usingCompression:factor:'>
- <arg name='array' declared_type='NSArray*' type='@' index='0'/>
- <arg name='comp' declared_type='NSTIFFCompression' type='I' type64='Q' index='1'/>
- <arg name='factor' declared_type='float' type='f' index='2'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='TIFFRepresentationUsingCompression:factor:'>
- <arg name='comp' declared_type='NSTIFFCompression' type='I' type64='Q' index='0'/>
- <arg name='factor' declared_type='float' type='f' index='1'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='bitmapData'>
- <retval declared_type='unsigned char*' type='*'/>
- </method>
- <method selector='bitmapFormat'>
- <retval declared_type='NSBitmapFormat' type='I' type64='Q'/>
- </method>
- <method selector='bitsPerPixel'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='bytesPerPlane'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='bytesPerRow'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='canBeCompressedUsing:'>
- <arg name='compression' declared_type='NSTIFFCompression' type='I' type64='Q' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='colorAtX:y:'>
- <arg name='x' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <arg name='y' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='colorizeByMappingGray:toColor:blackMapping:whiteMapping:'>
- <arg name='midPoint' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='midPointColor' declared_type='NSColor*' type='@' index='1'/>
- <arg name='shadowColor' declared_type='NSColor*' type='@' index='2'/>
- <arg name='lightColor' declared_type='NSColor*' type='@' index='3'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='getBitmapDataPlanes:'>
- <arg name='data' declared_type='unsigned char**' type='^*' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='getCompression:factor:'>
- <arg name='compression' declared_type='NSTIFFCompression*' type='^I' type64='^Q' index='0'/>
- <arg name='factor' declared_type='float*' type='^f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='getPixel:atX:y:'>
- <arg name='p' declared_type='NSUInteger*' type='^I' type64='^Q' index='0'/>
- <arg name='x' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='y' declared_type='NSInteger' type='i' type64='q' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='getTIFFCompressionTypes:count:'>
- <arg name='list' declared_type='NSTIFFCompression**' type='^^I' type64='^^Q' const='true' index='0'/>
- <arg name='numTypes' declared_type='NSInteger*' type='^i' type64='^q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='imageRepWithData:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method class_method='true' selector='imageRepsWithData:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='incrementalLoadFromData:complete:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <arg name='complete' declared_type='BOOL' type='B' index='1'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='initForIncrementalLoad'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:'>
- <arg name='planes' declared_type='unsigned char**' type='^*' index='0'/>
- <arg name='width' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='height' declared_type='NSInteger' type='i' type64='q' index='2'/>
- <arg name='bps' declared_type='NSInteger' type='i' type64='q' index='3'/>
- <arg name='spp' declared_type='NSInteger' type='i' type64='q' index='4'/>
- <arg name='alpha' declared_type='BOOL' type='B' index='5'/>
- <arg name='isPlanar' declared_type='BOOL' type='B' index='6'/>
- <arg name='colorSpaceName' declared_type='NSString*' type='@' index='7'/>
- <arg name='bitmapFormat' declared_type='NSBitmapFormat' type='I' type64='Q' index='8'/>
- <arg name='rBytes' declared_type='NSInteger' type='i' type64='q' index='9'/>
- <arg name='pBits' declared_type='NSInteger' type='i' type64='q' index='10'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:'>
- <arg name='planes' declared_type='unsigned char**' type='^*' index='0'/>
- <arg name='width' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='height' declared_type='NSInteger' type='i' type64='q' index='2'/>
- <arg name='bps' declared_type='NSInteger' type='i' type64='q' index='3'/>
- <arg name='spp' declared_type='NSInteger' type='i' type64='q' index='4'/>
- <arg name='alpha' declared_type='BOOL' type='B' index='5'/>
- <arg name='isPlanar' declared_type='BOOL' type='B' index='6'/>
- <arg name='colorSpaceName' declared_type='NSString*' type='@' index='7'/>
- <arg name='rBytes' declared_type='NSInteger' type='i' type64='q' index='8'/>
- <arg name='pBits' declared_type='NSInteger' type='i' type64='q' index='9'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithCGImage:'>
- <arg name='cgImage' declared_type='CGImageRef' type='^{CGImage=}' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithCIImage:'>
- <arg name='ciImage' declared_type='CIImage*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithData:'>
- <arg name='data' declared_type='NSData*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithFocusedViewRect:'>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='isPlanar'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method class_method='true' selector='localizedNameForTIFFCompressionType:'>
- <arg name='compression' declared_type='NSTIFFCompression' type='I' type64='Q' index='0'/>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='numberOfPlanes'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method class_method='true' selector='representationOfImageRepsInArray:usingType:properties:'>
- <arg name='imageReps' declared_type='NSArray*' type='@' index='0'/>
- <arg name='storageType' declared_type='NSBitmapImageFileType' type='I' type64='Q' index='1'/>
- <arg name='properties' declared_type='NSDictionary*' type='@' index='2'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='representationUsingType:properties:'>
- <arg name='storageType' declared_type='NSBitmapImageFileType' type='I' type64='Q' index='0'/>
- <arg name='properties' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='NSData*' type='@'/>
- </method>
- <method selector='samplesPerPixel'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='setColor:atX:y:'>
- <arg name='color' declared_type='NSColor*' type='@' index='0'/>
- <arg name='x' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='y' declared_type='NSInteger' type='i' type64='q' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCompression:factor:'>
- <arg name='compression' declared_type='NSTIFFCompression' type='I' type64='Q' index='0'/>
- <arg name='factor' declared_type='float' type='f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setPixel:atX:y:'>
- <arg name='p' declared_type='NSUInteger*' type='^I' type64='^Q' index='0'/>
- <arg name='x' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='y' declared_type='NSInteger' type='i' type64='q' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setProperty:withValue:'>
- <arg name='property' declared_type='NSString*' type='@' index='0'/>
- <arg name='value' declared_type='id' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='valueForProperty:'>
- <arg name='property' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='NSBox'>
- <method selector='borderColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='borderRect'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='borderType'>
- <retval declared_type='NSBorderType' type='I' type64='Q'/>
- </method>
- <method selector='borderWidth'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='boxType'>
- <retval declared_type='NSBoxType' type='I' type64='Q'/>
- </method>
- <method selector='contentView'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='contentViewMargins'>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='cornerRadius'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='fillColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='isTransparent'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setBorderColor:'>
- <arg name='borderColor' declared_type='NSColor*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBorderType:'>
- <arg name='aType' declared_type='NSBorderType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBorderWidth:'>
- <arg name='borderWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBoxType:'>
- <arg name='boxType' declared_type='NSBoxType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setContentView:'>
- <arg name='aView' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setContentViewMargins:'>
- <arg name='offsetSize' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCornerRadius:'>
- <arg name='cornerRadius' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFillColor:'>
- <arg name='fillColor' declared_type='NSColor*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFrameFromContentFrame:'>
- <arg name='contentFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitle:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitleFont:'>
- <arg name='fontObj' declared_type='NSFont*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitlePosition:'>
- <arg name='aPosition' declared_type='NSTitlePosition' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitleWithMnemonic:'>
- <arg name='stringWithAmpersand' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTransparent:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='sizeToFit'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='title'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='titleCell'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='titleFont'>
- <retval declared_type='NSFont*' type='@'/>
- </method>
- <method selector='titlePosition'>
- <retval declared_type='NSTitlePosition' type='I' type64='Q'/>
- </method>
- <method selector='titleRect'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- </class>
- <class name='NSBrowser'>
- <method selector='acceptsArrowKeys'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='addColumn'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='allowsBranchSelection'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='allowsEmptySelection'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='allowsMultipleSelection'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='allowsTypeSelect'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='backgroundColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='canDragRowsWithIndexes:inColumn:withEvent:'>
- <arg name='rowIndexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='event' declared_type='NSEvent*' type='@' index='2'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method class_method='true' selector='cellClass'>
- <retval declared_type='Class' type='#'/>
- </method>
- <method selector='cellPrototype'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='columnContentWidthForColumnWidth:'>
- <arg name='columnWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='columnOfMatrix:'>
- <arg name='matrix' declared_type='NSMatrix*' type='@' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='columnResizingType'>
- <retval declared_type='NSBrowserColumnResizingType' type='I' type64='Q'/>
- </method>
- <method selector='columnWidthForColumnContentWidth:'>
- <arg name='columnContentWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='columnsAutosaveName'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='delegate'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='displayAllColumns'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='displayColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='doClick:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='doDoubleClick:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='doubleAction'>
- <retval declared_type='SEL' type=':'/>
- </method>
- <method selector='draggingImageForRowsWithIndexes:inColumn:withEvent:offset:'>
- <arg name='rowIndexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <arg name='event' declared_type='NSEvent*' type='@' index='2'/>
- <arg name='dragImageOffset' declared_type='NSPointPointer' type='^{_NSPoint=ff}' type64='^{CGPoint=dd}' index='3'/>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='drawTitleOfColumn:inRect:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='firstVisibleColumn'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='frameOfColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='frameOfInsideOfColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='hasHorizontalScroller'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isLoaded'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isTitled'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='lastColumn'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='lastVisibleColumn'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='loadColumnZero'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='loadedCellAtRow:column:'>
- <arg name='row' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <arg name='col' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='matrixClass'>
- <retval declared_type='Class' type='#'/>
- </method>
- <method selector='matrixInColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSMatrix*' type='@'/>
- </method>
- <method selector='maxVisibleColumns'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='minColumnWidth'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='numberOfVisibleColumns'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='path'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='pathSeparator'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='pathToColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='prefersAllColumnUserResizing'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='reloadColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='removeSavedColumnsWithAutosaveName:'>
- <arg name='name' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='reusesColumns'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='scrollColumnToVisible:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='scrollColumnsLeftBy:'>
- <arg name='shiftAmount' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='scrollColumnsRightBy:'>
- <arg name='shiftAmount' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='scrollViaScroller:'>
- <arg name='sender' declared_type='NSScroller*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectAll:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectRow:inColumn:'>
- <arg name='row' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectRowIndexes:inColumn:'>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectedCell'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='selectedCellInColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='selectedCells'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='selectedColumn'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='selectedRowInColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='selectedRowIndexesInColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSIndexSet*' type='@'/>
- </method>
- <method selector='sendAction'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='sendsActionOnArrowKeys'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='separatesColumns'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setAcceptsArrowKeys:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsBranchSelection:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsEmptySelection:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsMultipleSelection:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsTypeSelect:'>
- <arg name='value' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBackgroundColor:'>
- <arg name='color' declared_type='NSColor*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCellClass:'>
- <arg name='factoryId' declared_type='Class' type='#' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCellPrototype:'>
- <arg name='aCell' declared_type='NSCell*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setColumnResizingType:'>
- <arg name='columnResizingType' declared_type='NSBrowserColumnResizingType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setColumnsAutosaveName:'>
- <arg name='name' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDelegate:'>
- <arg name='anObject' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDoubleAction:'>
- <arg name='aSelector' declared_type='SEL' type=':' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDraggingSourceOperationMask:forLocal:'>
- <arg name='mask' declared_type='NSDragOperation' type='I' type64='Q' index='0'/>
- <arg name='isLocal' declared_type='BOOL' type='B' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setHasHorizontalScroller:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLastColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMatrixClass:'>
- <arg name='factoryId' declared_type='Class' type='#' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMaxVisibleColumns:'>
- <arg name='columnCount' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMinColumnWidth:'>
- <arg name='columnWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setPath:'>
- <arg name='path' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setPathSeparator:'>
- <arg name='newString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setPrefersAllColumnUserResizing:'>
- <arg name='prefersAllColumnResizing' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setReusesColumns:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSendsActionOnArrowKeys:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSeparatesColumns:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTakesTitleFromPreviousColumn:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitle:ofColumn:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitled:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setWidth:ofColumn:'>
- <arg name='columnWidth' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='columnIndex' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='takesTitleFromPreviousColumn'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='tile'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='titleFrameOfColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='titleHeight'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='titleOfColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='updateScroller'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='validateVisibleColumns'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='widthOfColumn:'>
- <arg name='column' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- </class>
- <class name='NSBrowserCell'>
- <method selector='alternateImage'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method class_method='true' selector='branchImage'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='highlightColorInView:'>
- <arg name='controlView' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='highlightedBranchImage'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='image'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='isLeaf'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isLoaded'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='reset'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='set'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateImage:'>
- <arg name='newAltImage' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLeaf:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLoaded:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- </class>
- <class name='NSBundle'>
- <method selector='contextHelpForKey:'>
- <arg name='key' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method class_method='true' selector='loadNibFile:externalNameTable:withZone:'>
- <arg name='fileName' declared_type='NSString*' type='@' index='0'/>
- <arg name='context' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='zone' declared_type='NSZone*' type='^{_NSZone=}' index='2' type_modifier='n'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method class_method='true' selector='loadNibFile:externalNameTable:withZone:'>
- <arg name='fileName' declared_type='NSString*' type='@' index='0'/>
- <arg name='context' declared_type='NSDictionary*' type='@' index='1'/>
- <arg name='zone' declared_type='NSZone*' type='^{_NSZone=}' index='2'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method class_method='true' selector='loadNibNamed:owner:'>
- <arg name='nibName' declared_type='NSString*' type='@' index='0'/>
- <arg name='owner' declared_type='id' type='@' index='1'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='pathForImageResource:'>
- <arg name='name' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='pathForSoundResource:'>
- <arg name='name' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='NSString*' type='@'/>
- </method>
- </class>
- <class name='NSButton'>
- <method selector='allowsMixedState'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='alternateImage'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='alternateTitle'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='attributedAlternateTitle'>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='attributedTitle'>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='bezelStyle'>
- <retval declared_type='NSBezelStyle' type='I' type64='Q'/>
- </method>
- <method selector='getPeriodicDelay:interval:'>
- <arg name='delay' declared_type='float*' type='^f' index='0'/>
- <arg name='interval' declared_type='float*' type='^f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='highlight:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='image'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='imagePosition'>
- <retval declared_type='NSCellImagePosition' type='I' type64='Q'/>
- </method>
- <method selector='isBordered'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isTransparent'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='keyEquivalent'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='keyEquivalentModifierMask'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='performKeyEquivalent:'>
- <arg name='key' declared_type='NSEvent*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setAllowsMixedState:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateTitle:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAttributedAlternateTitle:'>
- <arg name='obj' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAttributedTitle:'>
- <arg name='aString' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBezelStyle:'>
- <arg name='bezelStyle' declared_type='NSBezelStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBordered:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setButtonType:'>
- <arg name='aType' declared_type='NSButtonType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImagePosition:'>
- <arg name='aPosition' declared_type='NSCellImagePosition' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setKeyEquivalent:'>
- <arg name='charCode' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setKeyEquivalentModifierMask:'>
- <arg name='mask' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setNextState'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setPeriodicDelay:interval:'>
- <arg name='delay' declared_type='float' type='f' index='0'/>
- <arg name='interval' declared_type='float' type='f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setShowsBorderOnlyWhileMouseInside:'>
- <arg name='show' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSound:'>
- <arg name='aSound' declared_type='NSSound*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setState:'>
- <arg name='value' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitle:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitleWithMnemonic:'>
- <arg name='stringWithAmpersand' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTransparent:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='showsBorderOnlyWhileMouseInside'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='sound'>
- <retval declared_type='NSSound*' type='@'/>
- </method>
- <method selector='state'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='title'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- </class>
- <class name='NSButtonCell'>
- <method selector='alternateImage'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='alternateMnemonic'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='alternateMnemonicLocation'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='alternateTitle'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='attributedAlternateTitle'>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='attributedTitle'>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='backgroundColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='bezelStyle'>
- <retval declared_type='NSBezelStyle' type='I' type64='Q'/>
- </method>
- <method selector='drawBezelWithFrame:inView:'>
- <arg name='frame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawImage:withFrame:inView:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <arg name='frame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawTitle:withFrame:inView:'>
- <arg name='title' declared_type='NSAttributedString*' type='@' index='0'/>
- <arg name='frame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='getPeriodicDelay:interval:'>
- <arg name='delay' declared_type='float*' type='^f' index='0'/>
- <arg name='interval' declared_type='float*' type='^f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='gradientType'>
- <retval declared_type='NSGradientType' type='I' type64='Q'/>
- </method>
- <method selector='highlightsBy'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='imageDimsWhenDisabled'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='imagePosition'>
- <retval declared_type='NSCellImagePosition' type='I' type64='Q'/>
- </method>
- <method selector='imageScaling'>
- <retval declared_type='NSImageScaling' type='I' type64='Q'/>
- </method>
- <method selector='isOpaque'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isTransparent'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='keyEquivalent'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='keyEquivalentFont'>
- <retval declared_type='NSFont*' type='@'/>
- </method>
- <method selector='keyEquivalentModifierMask'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='mouseEntered:'>
- <arg name='event' declared_type='NSEvent*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='mouseExited:'>
- <arg name='event' declared_type='NSEvent*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='performClick:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateMnemonicLocation:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateTitle:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlternateTitleWithMnemonic:'>
- <arg name='stringWithAmpersand' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAttributedAlternateTitle:'>
- <arg name='obj' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAttributedTitle:'>
- <arg name='obj' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBackgroundColor:'>
- <arg name='color' declared_type='NSColor*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBezelStyle:'>
- <arg name='bezelStyle' declared_type='NSBezelStyle' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setButtonType:'>
- <arg name='aType' declared_type='NSButtonType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFont:'>
- <arg name='fontObj' declared_type='NSFont*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setGradientType:'>
- <arg name='type' declared_type='NSGradientType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setHighlightsBy:'>
- <arg name='aType' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImageDimsWhenDisabled:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImagePosition:'>
- <arg name='aPosition' declared_type='NSCellImagePosition' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImageScaling:'>
- <arg name='scaling' declared_type='NSImageScaling' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setKeyEquivalent:'>
- <arg name='aKeyEquivalent' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setKeyEquivalentFont:'>
- <arg name='fontObj' declared_type='NSFont*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setKeyEquivalentFont:size:'>
- <arg name='fontName' declared_type='NSString*' type='@' index='0'/>
- <arg name='fontSize' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setKeyEquivalentModifierMask:'>
- <arg name='mask' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setPeriodicDelay:interval:'>
- <arg name='delay' declared_type='float' type='f' index='0'/>
- <arg name='interval' declared_type='float' type='f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setShowsBorderOnlyWhileMouseInside:'>
- <arg name='show' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setShowsStateBy:'>
- <arg name='aType' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSound:'>
- <arg name='aSound' declared_type='NSSound*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitle:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitleWithMnemonic:'>
- <arg name='stringWithAmpersand' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTransparent:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='showsBorderOnlyWhileMouseInside'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='showsStateBy'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='sound'>
- <retval declared_type='NSSound*' type='@'/>
- </method>
- <method selector='title'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- </class>
- <class name='NSCIImageRep'>
- <method selector='CIImage'>
- <retval declared_type='CIImage*' type='@'/>
- </method>
- <method class_method='true' selector='imageRepWithCIImage:'>
- <arg name='image' declared_type='CIImage*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithCIImage:'>
- <arg name='image' declared_type='CIImage*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- </class>
- <class name='NSCachedImageRep'>
- <method selector='initWithSize:depth:separate:alpha:'>
- <arg name='size' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}' index='0'/>
- <arg name='depth' declared_type='NSWindowDepth' type='i' index='1'/>
- <arg name='flag' declared_type='BOOL' type='B' index='2'/>
- <arg name='alpha' declared_type='BOOL' type='B' index='3'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initWithWindow:rect:'>
- <arg name='win' declared_type='NSWindow*' type='@' index='0'/>
- <arg name='rect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='rect'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='window'>
- <retval declared_type='NSWindow*' type='@'/>
- </method>
- </class>
- <class name='NSCell'>
- <method selector='acceptsFirstResponder'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='action'>
- <retval declared_type='SEL' type=':'/>
- </method>
- <method selector='alignment'>
- <retval declared_type='NSTextAlignment' type='I' type64='Q'/>
- </method>
- <method selector='allowsEditingTextAttributes'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='allowsMixedState'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='allowsUndo'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='attributedStringValue'>
- <retval declared_type='NSAttributedString*' type='@'/>
- </method>
- <method selector='backgroundStyle'>
- <retval declared_type='NSBackgroundStyle' type='i' type64='q'/>
- </method>
- <method selector='baseWritingDirection'>
- <retval declared_type='NSWritingDirection' type='i' type64='q'/>
- </method>
- <method selector='calcDrawInfo:'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='cellAttribute:'>
- <arg name='aParameter' declared_type='NSCellAttribute' type='I' type64='Q' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='cellSize'>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='cellSizeForBounds:'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='compare:'>
- <arg name='otherCell' declared_type='id' type='@' index='0'/>
- <retval declared_type='NSComparisonResult' type='i' type64='q'/>
- </method>
- <method selector='continueTracking:at:inView:'>
- <arg name='lastPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='currentPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='controlSize'>
- <retval declared_type='NSControlSize' type='I' type64='Q'/>
- </method>
- <method selector='controlTint'>
- <retval declared_type='NSControlTint' type='I' type64='Q'/>
- </method>
- <method selector='controlView'>
- <retval declared_type='NSView*' type='@'/>
- </method>
- <method class_method='true' selector='defaultFocusRingType'>
- <retval declared_type='NSFocusRingType' type='I' type64='Q'/>
- </method>
- <method class_method='true' selector='defaultMenu'>
- <retval declared_type='NSMenu*' type='@'/>
- </method>
- <method selector='doubleValue'>
- <retval declared_type='double' type='d'/>
- </method>
- <method selector='drawInteriorWithFrame:inView:'>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawWithExpansionFrame:inView:'>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='view' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawWithFrame:inView:'>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='drawingRectForBounds:'>
- <arg name='theRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='editWithFrame:inView:editor:delegate:event:'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <arg name='textObj' declared_type='NSText*' type='@' index='2'/>
- <arg name='anObject' declared_type='id' type='@' index='3'/>
- <arg name='theEvent' declared_type='NSEvent*' type='@' index='4'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='endEditing:'>
- <arg name='textObj' declared_type='NSText*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='entryType'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='expansionFrameWithFrame:inView:'>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='view' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='floatValue'>
- <retval declared_type='float' type='f'/>
- </method>
- <method selector='focusRingType'>
- <retval declared_type='NSFocusRingType' type='I' type64='Q'/>
- </method>
- <method selector='font'>
- <retval declared_type='NSFont*' type='@'/>
- </method>
- <method selector='formatter'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='getPeriodicDelay:interval:'>
- <arg name='delay' declared_type='float*' type='^f' index='0'/>
- <arg name='interval' declared_type='float*' type='^f' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='hasValidObjectValue'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='highlight:withFrame:inView:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='highlightColorWithFrame:inView:'>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='hitTestForEvent:inRect:ofView:'>
- <arg name='event' declared_type='NSEvent*' type='@' index='0'/>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='image'>
- <retval declared_type='NSImage*' type='@'/>
- </method>
- <method selector='imageRectForBounds:'>
- <arg name='theRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='importsGraphics'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='initImageCell:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='initTextCell:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='intValue'>
- <retval declared_type='int' type='i'/>
- </method>
- <method selector='integerValue'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='interiorBackgroundStyle'>
- <retval declared_type='NSBackgroundStyle' type='i' type64='q'/>
- </method>
- <method selector='isBezeled'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isBordered'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isContinuous'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isEditable'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isEnabled'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isEntryAcceptable:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isHighlighted'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isOpaque'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isScrollable'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isSelectable'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='keyEquivalent'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='lineBreakMode'>
- <retval declared_type='NSLineBreakMode' type='I' type64='Q'/>
- </method>
- <method selector='menu'>
- <retval declared_type='NSMenu*' type='@'/>
- </method>
- <method selector='menuForEvent:inRect:ofView:'>
- <arg name='event' declared_type='NSEvent*' type='@' index='0'/>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='view' declared_type='NSView*' type='@' index='2'/>
- <retval declared_type='NSMenu*' type='@'/>
- </method>
- <method selector='mnemonic'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='mnemonicLocation'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='mouseDownFlags'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='nextState'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='objectValue'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='performClick:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method class_method='true' selector='prefersTrackingUntilMouseUp'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='refusesFirstResponder'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='representedObject'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='resetCursorRect:inView:'>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='selectWithFrame:inView:editor:delegate:start:length:'>
- <arg name='aRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <arg name='textObj' declared_type='NSText*' type='@' index='2'/>
- <arg name='anObject' declared_type='id' type='@' index='3'/>
- <arg name='selStart' declared_type='NSInteger' type='i' type64='q' index='4'/>
- <arg name='selLength' declared_type='NSInteger' type='i' type64='q' index='5'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='sendActionOn:'>
- <arg name='mask' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='sendsActionOnEndEditing'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='setAction:'>
- <arg name='aSelector' declared_type='SEL' type=':' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAlignment:'>
- <arg name='mode' declared_type='NSTextAlignment' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsEditingTextAttributes:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsMixedState:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAllowsUndo:'>
- <arg name='allowsUndo' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setAttributedStringValue:'>
- <arg name='obj' declared_type='NSAttributedString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBackgroundStyle:'>
- <arg name='style' declared_type='NSBackgroundStyle' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBaseWritingDirection:'>
- <arg name='writingDirection' declared_type='NSWritingDirection' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBezeled:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBordered:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCellAttribute:to:'>
- <arg name='aParameter' declared_type='NSCellAttribute' type='I' type64='Q' index='0'/>
- <arg name='value' declared_type='NSInteger' type='i' type64='q' index='1'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setContinuous:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setControlSize:'>
- <arg name='size' declared_type='NSControlSize' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setControlTint:'>
- <arg name='controlTint' declared_type='NSControlTint' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setControlView:'>
- <arg name='view' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDoubleValue:'>
- <arg name='aDouble' declared_type='double' type='d' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setEditable:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setEnabled:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setEntryType:'>
- <arg name='aType' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFloatValue:'>
- <arg name='aFloat' declared_type='float' type='f' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFloatingPointFormat:left:right:'>
- <arg name='autoRange' declared_type='BOOL' type='B' index='0'/>
- <arg name='leftDigits' declared_type='NSUInteger' type='I' type64='Q' index='1'/>
- <arg name='rightDigits' declared_type='NSUInteger' type='I' type64='Q' index='2'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFocusRingType:'>
- <arg name='focusRingType' declared_type='NSFocusRingType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFont:'>
- <arg name='fontObj' declared_type='NSFont*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setFormatter:'>
- <arg name='newFormatter' declared_type='NSFormatter*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setHighlighted:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setImportsGraphics:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setIntValue:'>
- <arg name='anInt' declared_type='int' type='i' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setIntegerValue:'>
- <arg name='anInteger' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setLineBreakMode:'>
- <arg name='mode' declared_type='NSLineBreakMode' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMenu:'>
- <arg name='aMenu' declared_type='NSMenu*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMnemonicLocation:'>
- <arg name='location' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setNextState'>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setObjectValue:'>
- <arg name='obj' declared_type='id &lt;NSCopying&gt;' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setRefusesFirstResponder:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setRepresentedObject:'>
- <arg name='anObject' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setScrollable:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSelectable:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSendsActionOnEndEditing:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setShowsFirstResponder:'>
- <arg name='showFR' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setState:'>
- <arg name='value' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setStringValue:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTag:'>
- <arg name='anInt' declared_type='NSInteger' type='i' type64='q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTarget:'>
- <arg name='anObject' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitle:'>
- <arg name='aString' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTitleWithMnemonic:'>
- <arg name='stringWithAmpersand' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setTruncatesLastVisibleLine:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setType:'>
- <arg name='aType' declared_type='NSCellType' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setUpFieldEditorAttributes:'>
- <arg name='textObj' declared_type='NSText*' type='@' index='0'/>
- <retval declared_type='NSText*' type='@'/>
- </method>
- <method selector='setWraps:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='showsFirstResponder'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='startTrackingAt:inView:'>
- <arg name='startPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='1'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='state'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='stopTracking:at:inView:mouseIsUp:'>
- <arg name='lastPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <arg name='stopPoint' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <arg name='flag' declared_type='BOOL' type='B' index='3'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='stringValue'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='tag'>
- <retval declared_type='NSInteger' type='i' type64='q'/>
- </method>
- <method selector='takeDoubleValueFrom:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='takeFloatValueFrom:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='takeIntValueFrom:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='takeIntegerValueFrom:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='takeObjectValueFrom:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='takeStringValueFrom:'>
- <arg name='sender' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='target'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='title'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='titleRectForBounds:'>
- <arg name='theRect' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='0'/>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='trackMouse:inRect:ofView:untilMouseUp:'>
- <arg name='theEvent' declared_type='NSEvent*' type='@' index='0'/>
- <arg name='cellFrame' declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' index='1'/>
- <arg name='controlView' declared_type='NSView*' type='@' index='2'/>
- <arg name='flag' declared_type='BOOL' type='B' index='3'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='truncatesLastVisibleLine'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='type'>
- <retval declared_type='NSCellType' type='I' type64='Q'/>
- </method>
- <method selector='wantsNotificationForMarkedText'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='wraps'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- </class>
- <class name='NSClipView'>
- <method selector='autoscroll:'>
- <arg name='theEvent' declared_type='NSEvent*' type='@' index='0'/>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='backgroundColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='constrainScrollPoint:'>
- <arg name='newOrigin' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}'/>
- </method>
- <method selector='copiesOnScroll'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='documentCursor'>
- <retval declared_type='NSCursor*' type='@'/>
- </method>
- <method selector='documentRect'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='documentView'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='documentVisibleRect'>
- <retval declared_type='NSRect' type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}'/>
- </method>
- <method selector='drawsBackground'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='scrollToPoint:'>
- <arg name='newOrigin' declared_type='NSPoint' type='{_NSPoint=ff}' type64='{CGPoint=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBackgroundColor:'>
- <arg name='color' declared_type='NSColor*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setCopiesOnScroll:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDocumentCursor:'>
- <arg name='anObj' declared_type='NSCursor*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDocumentView:'>
- <arg name='aView' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setDrawsBackground:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='viewBoundsChanged:'>
- <arg name='notification' declared_type='NSNotification*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='viewFrameChanged:'>
- <arg name='notification' declared_type='NSNotification*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- </class>
- <class name='NSCoder'>
- <method selector='decodeNXColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- </class>
- <class name='NSCollectionView'>
- <method selector='allowsMultipleSelection'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='backgroundColors'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='content'>
- <retval declared_type='NSArray*' type='@'/>
- </method>
- <method selector='isFirstResponder'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='isSelectable'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='itemPrototype'>
- <retval declared_type='NSCollectionViewItem*' type='@'/>
- </method>
- <method selector='maxItemSize'>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='maxNumberOfColumns'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='maxNumberOfRows'>
- <retval declared_type='NSUInteger' type='I' type64='Q'/>
- </method>
- <method selector='minItemSize'>
- <retval declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}'/>
- </method>
- <method selector='newItemForRepresentedObject:'>
- <arg name='object' declared_type='id' type='@' index='0'/>
- <retval declared_type='NSCollectionViewItem*' type='@'/>
- </method>
- <method selector='selectionIndexes'>
- <retval declared_type='NSIndexSet*' type='@'/>
- </method>
- <method selector='setAllowsMultipleSelection:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setBackgroundColors:'>
- <arg name='colors' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setContent:'>
- <arg name='content' declared_type='NSArray*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setItemPrototype:'>
- <arg name='prototype' declared_type='NSCollectionViewItem*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMaxItemSize:'>
- <arg name='size' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMaxNumberOfColumns:'>
- <arg name='number' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMaxNumberOfRows:'>
- <arg name='number' declared_type='NSUInteger' type='I' type64='Q' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setMinItemSize:'>
- <arg name='size' declared_type='NSSize' type='{_NSSize=ff}' type64='{CGSize=dd}' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSelectable:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSelectionIndexes:'>
- <arg name='indexes' declared_type='NSIndexSet*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- </class>
- <class name='NSCollectionViewItem'>
- <method selector='collectionView'>
- <retval declared_type='NSCollectionView*' type='@'/>
- </method>
- <method selector='isSelected'>
- <retval declared_type='BOOL' type='B'/>
- </method>
- <method selector='representedObject'>
- <retval declared_type='id' type='@'/>
- </method>
- <method selector='setRepresentedObject:'>
- <arg name='object' declared_type='id' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setSelected:'>
- <arg name='flag' declared_type='BOOL' type='B' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='setView:'>
- <arg name='view' declared_type='NSView*' type='@' index='0'/>
- <retval declared_type='void' type='v'/>
- </method>
- <method selector='view'>
- <retval declared_type='NSView*' type='@'/>
- </method>
- </class>
- <class name='NSColor'>
- <method selector='alphaComponent'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method class_method='true' selector='alternateSelectedControlColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='alternateSelectedControlTextColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='blackColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='blackComponent'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='blendedColorWithFraction:ofColor:'>
- <arg name='fraction' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='color' declared_type='NSColor*' type='@' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='blueColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='blueComponent'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method selector='brightnessComponent'>
- <retval declared_type='CGFloat' type='f' type64='d'/>
- </method>
- <method class_method='true' selector='brownColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='catalogNameComponent'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method class_method='true' selector='clearColor'>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorForControlTint:'>
- <arg name='controlTint' declared_type='NSControlTint' type='I' type64='Q' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorFromPasteboard:'>
- <arg name='pasteBoard' declared_type='NSPasteboard*' type='@' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='colorNameComponent'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='colorSpace'>
- <retval declared_type='NSColorSpace*' type='@'/>
- </method>
- <method selector='colorSpaceName'>
- <retval declared_type='NSString*' type='@'/>
- </method>
- <method selector='colorUsingColorSpace:'>
- <arg name='space' declared_type='NSColorSpace*' type='@' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='colorUsingColorSpaceName:'>
- <arg name='colorSpace' declared_type='NSString*' type='@' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='colorUsingColorSpaceName:device:'>
- <arg name='colorSpace' declared_type='NSString*' type='@' index='0'/>
- <arg name='deviceDescription' declared_type='NSDictionary*' type='@' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method selector='colorWithAlphaComponent:'>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithCIColor:'>
- <arg name='color' declared_type='CIColor*' type='@' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithCalibratedHue:saturation:brightness:alpha:'>
- <arg name='hue' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='saturation' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='brightness' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithCalibratedRed:green:blue:alpha:'>
- <arg name='red' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='green' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='blue' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithCalibratedWhite:alpha:'>
- <arg name='white' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithCatalogName:colorName:'>
- <arg name='listName' declared_type='NSString*' type='@' index='0'/>
- <arg name='colorName' declared_type='NSString*' type='@' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithColorSpace:components:count:'>
- <arg name='space' declared_type='NSColorSpace*' type='@' index='0'/>
- <arg name='components' declared_type='CGFloat*' type='^f' type64='^d' const='true' index='1'/>
- <arg name='numberOfComponents' declared_type='NSInteger' type='i' type64='q' index='2'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithDeviceCyan:magenta:yellow:black:alpha:'>
- <arg name='cyan' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='magenta' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='yellow' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='black' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='4'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithDeviceHue:saturation:brightness:alpha:'>
- <arg name='hue' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='saturation' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='brightness' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithDeviceRed:green:blue:alpha:'>
- <arg name='red' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='green' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <arg name='blue' declared_type='CGFloat' type='f' type64='d' index='2'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='3'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithDeviceWhite:alpha:'>
- <arg name='white' declared_type='CGFloat' type='f' type64='d' index='0'/>
- <arg name='alpha' declared_type='CGFloat' type='f' type64='d' index='1'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='colorWithPatternImage:'>
- <arg name='image' declared_type='NSImage*' type='@' index='0'/>
- <retval declared_type='NSColor*' type='@'/>
- </method>
- <method class_method='true' selector='controlAlternatingRowBackgroundColors'>
- <retval declared_type='NSArray*' type='@'/>
-