summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/JavaEmitter.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2007-06-04 01:41:03 +0000
committerKenneth Russel <[email protected]>2007-06-04 01:41:03 +0000
commit9b7d99bc8fcd8ee2f5d2d36ba75f2aade851b07c (patch)
tree477208e00c594544e7abbb3ae26699f95c9706a9 /src/java/com/sun/gluegen/JavaEmitter.java
parentd4771326d15acb54276c393821e033a686f3687d (diff)
Added GlueGenRuntimePackage to allow people to rename and incorporate
those helper classes into their apps git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@62 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/JavaEmitter.java')
-rw-r--r--src/java/com/sun/gluegen/JavaEmitter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/JavaEmitter.java b/src/java/com/sun/gluegen/JavaEmitter.java
index 5902430..bcda048 100644
--- a/src/java/com/sun/gluegen/JavaEmitter.java
+++ b/src/java/com/sun/gluegen/JavaEmitter.java
@@ -772,7 +772,7 @@ public class JavaEmitter implements GlueEmitter {
writer.println();
writer.println("import java.nio.*;");
writer.println();
- writer.println("import com.sun.gluegen.runtime.*;");
+ writer.println("import " + cfg.gluegenRuntimePackage() + ".*;");
writer.println();
List/*<String>*/ imports = cfg.imports();
for (Iterator iter = imports.iterator(); iter.hasNext(); ) {
@@ -1395,6 +1395,7 @@ public class JavaEmitter implements GlueEmitter {
javaWriter,
cfg.packageName(),
cfg.className(),
+ cfg.gluegenRuntimePackage(),
cfg.allStatic() ? true : false,
(String[]) cfg.imports().toArray(new String[] {}),
new String[] { "public" },
@@ -1431,6 +1432,7 @@ public class JavaEmitter implements GlueEmitter {
javaImplWriter,
cfg.implPackageName(),
cfg.implClassName(),
+ cfg.gluegenRuntimePackage(),
true,
(String[]) cfg.imports().toArray(new String[] {}),
new String[] { "public" },