mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
Merge pull request #14136 from Simonx22/android/compress-callback-kotlin
Android: Convert CompressCallback to Kotlin
This commit is contained in:
commit
bd07d9dfd3
@ -1,11 +0,0 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
|
|
||||||
package org.dolphinemu.dolphinemu.utils;
|
|
||||||
|
|
||||||
import androidx.annotation.Keep;
|
|
||||||
|
|
||||||
public interface CompressCallback
|
|
||||||
{
|
|
||||||
@Keep
|
|
||||||
boolean run(String text, float completion);
|
|
||||||
}
|
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
package org.dolphinemu.dolphinemu.utils
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
|
fun interface CompressCallback {
|
||||||
|
fun run(text: String, completion: Float): Boolean
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user