-// 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;
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;
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();
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