mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / ibex / plat / POSIX.cc
similarity index 78%
rename from src/org/xwt/plat/POSIX.cc
rename to src/org/ibex/plat/POSIX.cc
index 209c37a..869e275 100644 (file)
 
 // FIXME: we don't need all these
 #include <java/lang/String.h>
-#include <org/xwt/Surface.h>
-#include <org/xwt/Picture.h>
-#include <org/xwt/js/JS.h>
-#include <org/xwt/Box.h>
-#include <org/xwt/util/Semaphore.h>
-#include <org/xwt/Platform.h>
+#include <org/ibex/Surface.h>
+#include <org/ibex/Picture.h>
+#include <org/ibex/js/JS.h>
+#include <org/ibex/Box.h>
+#include <org/ibex/util/Semaphore.h>
+#include <org/ibex/Platform.h>
 #include <java/lang/Long.h>
 #include <java/util/Hashtable.h>
-#include <org/xwt/util/Log.h>
-#include <org/xwt/plat/POSIX.h>
+#include <org/ibex/util/Log.h>
+#include <org/ibex/plat/POSIX.h>
 #include <java/lang/System.h>
 #include <java/io/PrintStream.h>
 
-jstring org::xwt::plat::POSIX::_getEnv(jstring key) {
+jstring org::ibex::plat::POSIX::_getEnv(jstring key) {
     int len = JvGetStringUTFLength(key);
     char buf[len + 1];
     JvGetStringUTFRegion(key, 0, len, buf);
@@ -36,7 +36,7 @@ jstring org::xwt::plat::POSIX::_getEnv(jstring key) {
     return envstr == NULL ? NULL : JvNewStringLatin1(envstr);
 }
 
-void org::xwt::plat::POSIX::spawnChildProcess(JArray<jstring>* cmd) {
+void org::ibex::plat::POSIX::spawnChildProcess(JArray<jstring>* cmd) {
     jstring* cmdstrings = elements(cmd);
     char* cmd2[cmd->length + 1];
     cmd2[cmd->length] = NULL;