summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2023-03-11 00:34:33 -0500
committerGravatar bunnei2023-06-03 00:05:39 -0700
commit67c2e89d2c3d69df4c983d34500e111fc0b9cd6f (patch)
tree6b056ae6599f9459653a64c3715abaac110124e1 /src
parentandroid: Convert MainPresenter to Kotlin (diff)
downloadyuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.gz
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.tar.xz
yuzu-67c2e89d2c3d69df4c983d34500e111fc0b9cd6f.zip
android: Convert MainView to Kotlin
Diffstat (limited to 'src')
-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 @@
1package org.yuzu.yuzu_emu.ui.main; 1package org.yuzu.yuzu_emu.ui.main
2 2
3/** 3/**
4 * Abstraction for the screen that shows on application launch. 4 * Abstraction for the screen that shows on application launch.
5 * Implementations will differ primarily to target touch-screen 5 * Implementations will differ primarily to target touch-screen
6 * or non-touch screen devices. 6 * or non-touch screen devices.
7 */ 7 */
8public interface MainView { 8interface MainView {
9 /** 9 /**
10 * Pass the view the native library's version string. Displaying 10 * Pass the view the native library's version string. Displaying
11 * it is optional. 11 * it is optional.
12 * 12 *
13 * @param version A string pulled from native code. 13 * @param version A string pulled from native code.
14 */ 14 */
15 void setVersionString(String version); 15 fun setVersionString(version: String)
16 16
17 /** 17 /**
18 * Tell the view to refresh its contents. 18 * Tell the view to refresh its contents.
19 */ 19 */
20 void refresh(); 20 fun refresh()
21 21 fun launchSettingsActivity(menuTag: String)
22 void launchSettingsActivity(String menuTag); 22 fun launchFileListActivity(request: Int)
23
24 void launchFileListActivity(int request);
25} 23}