mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Android: Convert ThemeProvider to Kotlin
This commit is contained in:
parent
b5c63b995c
commit
ecd62b2211
2 changed files with 10 additions and 9 deletions
|
@ -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();
|
|
||||||
}
|
|
|
@ -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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue