Merge pull request #14136 from Simonx22/android/compress-callback-kotlin

Android: Convert CompressCallback to Kotlin
This commit is contained in:
Jordan Woyak
2025-11-18 14:15:12 -06:00
committed by GitHub
2 changed files with 10 additions and 11 deletions

View File

@@ -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);
}

View File

@@ -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
}