diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusObject.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusObject.kt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusObject.kt b/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusObject.kt deleted file mode 100644 index 4e3d362..0000000 --- a/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusObject.kt +++ /dev/null @@ -1,21 +0,0 @@ -package moe.nea.notenoughupdates.dbus - -import moe.nea.notenoughupdates.repo.RepoManager - -object NEUDbusObject : NEUDbusInterface { - override fun sayHello(): String { - return "Hello from NEU" - } - - override fun getCurrentRepoCommit(): String { - return RepoManager.currentDownloadedSha ?: "none" - } - - override fun requestRepoReDownload() { - RepoManager.launchAsyncUpdate() - } - - override fun getObjectPath(): String { - return "/moe/nea/NotEnoughUpdates" - } -} |