From 6a19629fc6da96fc8fb7f65bae9c72ba4a08f7b0 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sat, 10 Jun 2023 14:19:52 -0400 Subject: [PATCH] Android: Convert TvSettingsItem to Kotlin --- .../dolphinemu/model/TvSettingsItem.java | 32 ------------------- .../dolphinemu/model/TvSettingsItem.kt | 5 +++ 2 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.java create mode 100644 Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.kt diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.java deleted file mode 100644 index c9c4019d94..0000000000 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.java +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -package org.dolphinemu.dolphinemu.model; - -public final class TvSettingsItem -{ - private final int mItemId; - private final int mIconId; - private final int mLabelId; - - public TvSettingsItem(int itemId, int iconId, int labelId) - { - mItemId = itemId; - mIconId = iconId; - mLabelId = labelId; - } - - public int getItemId() - { - return mItemId; - } - - public int getIconId() - { - return mIconId; - } - - public int getLabelId() - { - return mLabelId; - } -} diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.kt new file mode 100644 index 0000000000..5c4d5aa3c9 --- /dev/null +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/TvSettingsItem.kt @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.dolphinemu.dolphinemu.model + +class TvSettingsItem(val itemId: Int, val iconId: Int, val labelId: Int)