mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / ibex / plat / GCJ.cc
similarity index 92%
rename from src/org/xwt/plat/GCJ.cc
rename to src/org/ibex/plat/GCJ.cc
index 5c355d3..ca5aa9b 100644 (file)
@@ -14,27 +14,27 @@ extern "C" {
 #include <setjmp.h>
 #include "jpeglib.h"
 }
-#include <org/xwt/Platform.h>
-#include <org/xwt/Picture.h>
-#include <org/xwt/plat/GCJ.h>
+#include <org/ibex/Platform.h>
+#include <org/ibex/Picture.h>
+#include <org/ibex/plat/GCJ.h>
 #include <java/io/InputStream.h>
 #include <java/io/ByteArrayInputStream.h>
 #include <java/lang/RuntimeException.h>
-#include <org/xwt/plat/GCJ.h>
-#include <org/xwt/util/Log.h>
+#include <org/ibex/plat/GCJ.h>
+#include <org/ibex/util/Log.h>
 
 #ifdef TRUE
 #undef TRUE
 #endif
 #define TRUE 1
-using org::xwt::util::Log;
+using org::ibex::util::Log;
 
 // builtin.xwar /////////////////////////////////////////////////////////
 
 extern unsigned char builtin_bytes[];
 extern int builtin_length;
 
-java::io::InputStream* org::xwt::plat::GCJ::_getBuiltinInputStream() {
+java::io::InputStream* org::ibex::plat::GCJ::_getBuiltinInputStream() {
     jbyteArray ret = JvNewByteArray(builtin_length);
     memcpy(elements(ret), builtin_bytes, builtin_length);
     return new java::io::ByteArrayInputStream(ret);
@@ -99,7 +99,7 @@ void skip_input_data (j_decompress_ptr cinfo, long num_bytes) {
     src->pub.bytes_in_buffer -= num_bytes;
 }
 
-void org::xwt::plat::GCJ::_decodeJPEG(java::io::InputStream* is, org::xwt::Picture* p) {
+void org::ibex::plat::GCJ::_decodeJPEG(java::io::InputStream* is, org::ibex::Picture* p) {
     struct jpeg_decompress_struct cinfo;
     my_error_mgr_t jerr;
     my_source_mgr_t src;