Android: Convert AbstractFloatSetting to Kotlin
This commit is contained in:
parent
5bc2b46983
commit
baeeaa2a43
|
@ -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);
|
|
||||||
}
|
|
|
@ -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)
|
||||||
|
}
|
Loading…
Reference in New Issue