licensing cleanup (GPLv2)
[org.ibex.core.git] / src / org / ibex / plat / Darwin.java
index 34cad44..03eca37 100644 (file)
@@ -1,4 +1,7 @@
-// Copyright 2004 Adam Megacz, see the COPYING file for licensing [LGPL]
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the GNU General Public License version 2 ("the License").
+// You may not use this file except in compliance with the License.
+
 // Authors: Brian Alliet and Evan Jones
 
 package org.ibex.plat;
@@ -6,9 +9,12 @@ package org.ibex.plat;
 import gnu.gcj.RawData;
 import org.ibex.util.*;
 import org.ibex.js.*;
-import org.ibex.*;
+import org.ibex.graphics.*;
+import org.ibex.core.*;
+import org.ibex.net.*;
 
 public class Darwin extends POSIX {
+    public static void main(String[] s) throws Exception { org.ibex.core.Main.main(s); }
     private static final Class openGLClass = OpenGL.class;
     static Darwin singleton;
     private CarbonOpenGL openGL;
@@ -93,7 +99,7 @@ public class Darwin extends POSIX {
     
     protected Scheduler _getScheduler() { return new DarwinScheduler(); }
     protected native void runApplicationEventLoop();
-    private class DarwinScheduler extends org.ibex.Scheduler {
+    private class DarwinScheduler extends org.ibex.core.Scheduler {
         public void run() {
             new Thread() { public void run() { defaultRun(); } }.start();
             runApplicationEventLoop();
@@ -330,7 +336,7 @@ public class Darwin extends POSIX {
         else
             return /*new QZCarbonPicture(data,w,h);*/ null;
     }
-    protected org.ibex.Font.Glyph  _createGlyph(org.ibex.Font f, char c) {
+    protected org.ibex.graphics.Font.Glyph  _createGlyph(org.ibex.graphics.Font f, char c) {
         if(openGL != null)
             return openGL._createGlyph(f, c);
         else