aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/gluegen/cgram/LineObject.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-01-15 03:25:55 +0000
committerKenneth Russel <[email protected]>2006-01-15 03:25:55 +0000
commit61d2579d7e6ccb1ac2fbb48d0410390a697bec16 (patch)
treea83ddfcf708e6572af0be2d4de6c7d3340db230e /src/classes/com/sun/gluegen/cgram/LineObject.java
parentaad7268baef8142e33815a02034ef6af56442e63 (diff)
Moved GlueGen out of the JOGL workspace and into its own project.
Restructured JOGL and JOAL build processes to separately invoke GlueGen's main build.xml before using it to generate their code. Refactored OS/CPU detection code into gluegen-cpptasks.xml build file in GlueGen workspace, which is now imported by both the JOGL and JOAL build processes. Unfortunately it seems to be somewhat difficult to completely factor out the C compiler configuration into the GlueGen workspace so this has been left for a later date. Added missed ALProcAddressLookup file to JOAL workspace. Updated JOGL and JOAL build documentation. More documentation for the GlueGen workspace is forthcoming. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@542 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/gluegen/cgram/LineObject.java')
-rw-r--r--src/classes/com/sun/gluegen/cgram/LineObject.java126
1 files changed, 0 insertions, 126 deletions
diff --git a/src/classes/com/sun/gluegen/cgram/LineObject.java b/src/classes/com/sun/gluegen/cgram/LineObject.java
deleted file mode 100644
index 0ed470c92..000000000
--- a/src/classes/com/sun/gluegen/cgram/LineObject.java
+++ /dev/null
@@ -1,126 +0,0 @@
-package com.sun.gluegen.cgram;
-
-class LineObject {
- LineObject parent = null;
- String source = "";
- int line = 1;
- boolean enteringFile = false;
- boolean returningToFile = false;
- boolean systemHeader = false;
- boolean treatAsC = false;
-
- public LineObject()
- {
- super();
- }
-
- public LineObject( LineObject lobj )
- {
- parent = lobj.getParent();
- source = lobj.getSource();
- line = lobj.getLine();
- enteringFile = lobj.getEnteringFile();
- returningToFile = lobj.getReturningToFile();
- systemHeader = lobj.getSystemHeader();
- treatAsC = lobj.getTreatAsC();
- }
-
- public LineObject( String src)
- {
- source = src;
- }
-
- public void setSource(String src)
- {
- source = src;
- }
-
- public String getSource()
- {
- return source;
- }
-
- public void setParent(LineObject par)
- {
- parent = par;
- }
-
- public LineObject getParent()
- {
- return parent;
- }
-
- public void setLine(int l)
- {
- line = l;
- }
-
- public int getLine()
- {
- return line;
- }
-
- public void newline()
- {
- line++;
- }
-
- public void setEnteringFile(boolean v)
- {
- enteringFile = v;
- }
-
- public boolean getEnteringFile()
- {
- return enteringFile;
- }
-
- public void setReturningToFile(boolean v)
- {
- returningToFile = v;
- }
-
- public boolean getReturningToFile()
- {
- return returningToFile;
- }
-
- public void setSystemHeader(boolean v)
- {
- systemHeader = v;
- }
-
- public boolean getSystemHeader()
- {
- return systemHeader;
- }
-
- public void setTreatAsC(boolean v)
- {
- treatAsC = v;
- }
-
- public boolean getTreatAsC()
- {
- return treatAsC;
- }
-
- public String toString() {
- StringBuffer ret;
- ret = new StringBuffer("# " + line + " \"" + source + "\"");
- if (enteringFile) {
- ret.append(" 1");
- }
- if (returningToFile) {
- ret.append(" 2");
- }
- if (systemHeader) {
- ret.append(" 3");
- }
- if (treatAsC) {
- ret.append(" 4");
- }
- return ret.toString();
- }
-}
-