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
commit bd07d9dfd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
}