From: Alexis Laferrière Date: Fri, 28 Aug 2015 17:56:30 +0000 (-0400) Subject: lib/mnit: move mnit implementations as submodules X-Git-Tag: v0.7.8~51^2~3 X-Git-Url: http://nitlanguage.org lib/mnit: move mnit implementations as submodules Signed-off-by: Alexis Laferrière --- diff --git a/lib/linux/audio.nit b/lib/linux/audio.nit index 34470ad..30f55a4 100644 --- a/lib/linux/audio.nit +++ b/lib/linux/audio.nit @@ -18,7 +18,7 @@ module audio import app::audio -import mnit_linux::linux_assets +import mnit::linux::linux_assets # Simple audio asset redef class Sound diff --git a/lib/mnit_android/mnit_android.nit b/lib/mnit/android/android.nit similarity index 97% rename from lib/mnit_android/mnit_android.nit rename to lib/mnit/android/android.nit index 9ba623b..5ebead7 100644 --- a/lib/mnit_android/mnit_android.nit +++ b/lib/mnit/android/android.nit @@ -15,7 +15,7 @@ # limitations under the License. # Android support for MNit -module mnit_android +module android import android_app import android_opengles1 diff --git a/lib/mnit_android/android_app.nit b/lib/mnit/android/android_app.nit similarity index 100% rename from lib/mnit_android/android_app.nit rename to lib/mnit/android/android_app.nit diff --git a/lib/mnit_android/android_assets.nit b/lib/mnit/android/android_assets.nit similarity index 100% rename from lib/mnit_android/android_assets.nit rename to lib/mnit/android/android_assets.nit diff --git a/lib/mnit_android/android_opengles1.nit b/lib/mnit/android/android_opengles1.nit similarity index 100% rename from lib/mnit_android/android_opengles1.nit rename to lib/mnit/android/android_opengles1.nit diff --git a/lib/mnit_display.nit b/lib/mnit/display.nit similarity index 98% rename from lib/mnit_display.nit rename to lib/mnit/display.nit index fad361e..8c67d13 100644 --- a/lib/mnit_display.nit +++ b/lib/mnit/display.nit @@ -15,9 +15,9 @@ # limitations under the License. # Defines abstract display classes -module mnit_display +module display -import mnit_input +import mnit::input # Any class with a size interface Sized diff --git a/lib/mnit_input.nit b/lib/mnit/input.nit similarity index 99% rename from lib/mnit_input.nit rename to lib/mnit/input.nit index ea035b3..dca8107 100644 --- a/lib/mnit_input.nit +++ b/lib/mnit/input.nit @@ -16,7 +16,7 @@ # Defines abstract classes for user and general inputs to the application. # Implemented independantly for each platforms and technologies. -module mnit_input +module input # Input to the App, propagated through `App::input`. interface InputEvent diff --git a/lib/mnit_linux/mnit_linux.nit b/lib/mnit/linux/linux.nit similarity index 97% rename from lib/mnit_linux/mnit_linux.nit rename to lib/mnit/linux/linux.nit index 3596d7e..d6515d1 100644 --- a/lib/mnit_linux/mnit_linux.nit +++ b/lib/mnit/linux/linux.nit @@ -15,7 +15,7 @@ # limitations under the License. # Linux support for MNit -module mnit_linux +module linux import linux_app import linux_opengles1 diff --git a/lib/mnit_linux/linux_app.nit b/lib/mnit/linux/linux_app.nit similarity index 100% rename from lib/mnit_linux/linux_app.nit rename to lib/mnit/linux/linux_app.nit diff --git a/lib/mnit_linux/linux_assets.nit b/lib/mnit/linux/linux_assets.nit similarity index 100% rename from lib/mnit_linux/linux_assets.nit rename to lib/mnit/linux/linux_assets.nit diff --git a/lib/mnit_linux/linux_opengles1.nit b/lib/mnit/linux/linux_opengles1.nit similarity index 100% rename from lib/mnit_linux/linux_opengles1.nit rename to lib/mnit/linux/linux_opengles1.nit