Android: Convert PostProcessing to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-15 03:25:28 -04:00
parent 42f4fb815f
commit dee85cead8
2 changed files with 17 additions and 17 deletions

View File

@ -1,17 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.features.settings.model;
import androidx.annotation.NonNull;
public class PostProcessing
{
@NonNull
public static native String[] getShaderList();
@NonNull
public static native String[] getAnaglyphShaderList();
@NonNull
public static native String[] getPassiveShaderList();
}

View File

@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.features.settings.model
object PostProcessing {
@JvmStatic
val shaderList: Array<String?>
external get
@JvmStatic
val anaglyphShaderList: Array<String?>
external get
@JvmStatic
val passiveShaderList: Array<String?>
external get
}