blob: b2c1397ce84d96ac4018bb23ad8bf9b3dbcd63dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.yuzu.yuzu_emu.ui.platform
import android.database.Cursor
/**
* Abstraction for a screen representing a single platform's games.
*/
interface PlatformGamesView {
/**
* Tell the view to refresh its contents.
*/
fun refresh()
/**
* To be called when an asynchronous database read completes. Passes the
* result, in this case a [Cursor], to the view.
*
* @param games A Cursor containing the games read from the database.
*/
fun showGames(games: Cursor)
}
|