aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt b/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt
deleted file mode 100644
index 4a7e008..0000000
--- a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
- *
- * SPDX-License-Identifier: GPL-3.0-or-later
- */
-
-package moe.nea.firmament.dbus
-
-import moe.nea.firmament.repo.RepoManager
-
-object FirmamentDbusObject : FirmamentDbusInterface {
- override fun sayHello(): String {
- return "Hello from Firmanet"
- }
-
- override fun getCurrentRepoCommit(): String {
- return RepoManager.currentDownloadedSha ?: "none"
- }
-
- override fun requestRepoReDownload() {
- RepoManager.launchAsyncUpdate()
- }
-
- override fun getObjectPath(): String {
- return "/moe/nea/Firmament"
- }
-}