summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesView.java
blob: 4332121eb8b047a8a5ff93dc72c0a113f989822b (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.citra.citra_emu.ui.platform;

import android.database.Cursor;

/**
 * Abstraction for a screen representing a single platform's games.
 */
public interface PlatformGamesView {
    /**
     * Tell the view to refresh its contents.
     */
    void refresh();

    /**
     * To be called when an asynchronous database read completes. Passes the
     * result, in this case a {@link Cursor}, to the view.
     *
     * @param games A Cursor containing the games read from the database.
     */
    void showGames(Cursor games);
}