Android: Convert ThemeProvider to Kotlin

This commit is contained in:
Charles Lombardo 2023-06-03 20:40:26 -04:00
parent b5c63b995c
commit ecd62b2211
2 changed files with 10 additions and 9 deletions

View File

@ -1,9 +0,0 @@
package org.dolphinemu.dolphinemu.ui.main;
public interface ThemeProvider
{
/**
* Provides theme ID by overriding an activity's 'setTheme' method and returning that result
*/
int getThemeId();
}

View File

@ -0,0 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.ui.main
interface ThemeProvider {
/**
* Provides theme ID by overriding an activity's 'setTheme' method and returning that result
*/
val themeId: Int
}