summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.kt
blob: 5f5138a889348cb0bb5e2550ea4f22cff211a2c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.
 */
interface MainView {
    /**
     * Pass the view the native library's version string. Displaying
     * it is optional.
     *
     * @param version A string pulled from native code.
     */
    fun setVersionString(version: String)

    /**
     * Tell the view to refresh its contents.
     */
    fun refresh()
    fun launchSettingsActivity(menuTag: String)
    fun launchFileListActivity(request: Int)
}