# HG changeset patch # User Robert McIntyre # Date 1331092411 21600 # Node ID 9d3769896d662a6f498b617c2f5d73a81e7370bb # Parent 480951f6521d2fc2269c7cd12bb0bc4dc17ee1c2 created java folder and simple build script diff -r 480951f6521d -r 9d3769896d66 .hgignore --- a/.hgignore Tue Mar 06 21:43:28 2012 -0600 +++ b/.hgignore Tue Mar 06 21:53:31 2012 -0600 @@ -11,4 +11,7 @@ *Makefile.in* config.h.in build/* -build-aux/* \ No newline at end of file +build-aux/* +java/dist/* +java/headers/* +java//ant-targets-build.xml \ No newline at end of file diff -r 480951f6521d -r 9d3769896d66 java/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/build.xml Tue Mar 06 21:53:31 2012 -0600 @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 480951f6521d -r 9d3769896d66 java/src/com/aurellem/gb/Gb.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/src/com/aurellem/gb/Gb.java Tue Mar 06 21:53:31 2012 -0600 @@ -0,0 +1,23 @@ +package com.aurellem.gb; + +import java.nio.ByteBuffer; + + +public class Gb { + + + public Gb(){} + + + /** + * Hello World! This is just to test the native interface. + */ + public native void sayHello(); + + /** + * Run the emulator on a given rom + * @param rom - the name of the rom. + */ + public native void startEmulator(String rom); + +} diff -r 480951f6521d -r 9d3769896d66 src/com/aurellem/gb/Gb.java --- a/src/com/aurellem/gb/Gb.java Tue Mar 06 21:43:28 2012 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -package com.aurellem.gb; - -import java.nio.ByteBuffer; - - -public class Gb { - - - public Gb(){} - - - /** - * Hello World! This is just to test the native interface. - */ - public native void sayHello(); - - /** - * Run the emulator on a given rom - * @param rom - the name of the rom. - */ - public native void startEmulator(String rom); - -}