summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-11 06:34:33 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:39 +0200
commit67c2e89d2c3d69df4c983d34500e111fc0b9cd6f (patch)
tree6b056ae6599f9459653a64c3715abaac110124e1 /src/android/app
parentandroid: Convert MainPresenter to Kotlin (diff)
downloadyuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.gz
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.bz2
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.lz
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.xz
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.zst
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.kt (renamed from src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.java)14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.kt
index c2ff086ee..5f5138a88 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.kt
@@ -1,25 +1,23 @@
-package org.yuzu.yuzu_emu.ui.main;
+package org.yuzu.yuzu_emu.ui.main
/**
* Abstraction for the screen that shows on application launch.
* Implementations will differ primarily to target touch-screen
* or non-touch screen devices.
*/
-public interface MainView {
+interface MainView {
/**
* Pass the view the native library's version string. Displaying
* it is optional.
*
* @param version A string pulled from native code.
*/
- void setVersionString(String version);
+ fun setVersionString(version: String)
/**
* Tell the view to refresh its contents.
*/
- void refresh();
-
- void launchSettingsActivity(String menuTag);
-
- void launchFileListActivity(int request);
+ fun refresh()
+ fun launchSettingsActivity(menuTag: String)
+ fun launchFileListActivity(request: Int)
}