summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/android')
-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}