Android: Convert AbstractFloatSetting to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-15 03:23:16 -04:00
parent 5bc2b46983
commit baeeaa2a43
2 changed files with 9 additions and 12 deletions

View File

@ -1,12 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.features.settings.model;
import androidx.annotation.NonNull;
public interface AbstractFloatSetting extends AbstractSetting
{
float getFloat();
void setFloat(@NonNull Settings settings, float newValue);
}

View File

@ -0,0 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.features.settings.model
interface AbstractFloatSetting : AbstractSetting {
val float: Float
fun setFloat(settings: Settings, newValue: Float)
}