mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 00:40:58 +01:00
android: Convert MainView to Kotlin
This commit is contained in:
parent
0f742b3464
commit
67c2e89d2c
1 changed files with 6 additions and 8 deletions
|
@ -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.
|
* Abstraction for the screen that shows on application launch.
|
||||||
* Implementations will differ primarily to target touch-screen
|
* Implementations will differ primarily to target touch-screen
|
||||||
* or non-touch screen devices.
|
* or non-touch screen devices.
|
||||||
*/
|
*/
|
||||||
public interface MainView {
|
interface MainView {
|
||||||
/**
|
/**
|
||||||
* Pass the view the native library's version string. Displaying
|
* Pass the view the native library's version string. Displaying
|
||||||
* it is optional.
|
* it is optional.
|
||||||
*
|
*
|
||||||
* @param version A string pulled from native code.
|
* @param version A string pulled from native code.
|
||||||
*/
|
*/
|
||||||
void setVersionString(String version);
|
fun setVersionString(version: String)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the view to refresh its contents.
|
* Tell the view to refresh its contents.
|
||||||
*/
|
*/
|
||||||
void refresh();
|
fun refresh()
|
||||||
|
fun launchSettingsActivity(menuTag: String)
|
||||||
void launchSettingsActivity(String menuTag);
|
fun launchFileListActivity(request: Int)
|
||||||
|
|
||||||
void launchFileListActivity(int request);
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue