diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-20 14:46:34 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-20 14:46:34 +0200 |
commit | 9b1b1446814f971e914c034aab00c95fdae87163 (patch) | |
tree | df5d714b41faf0259829ae4deb3f35ff21dc95e7 /src/main/kotlin/moe/nea/firmament/dbus | |
parent | 830f3db26a72ec48314c8938fdedf9c58e2c240d (diff) | |
download | firmament-9b1b1446814f971e914c034aab00c95fdae87163.tar.gz firmament-9b1b1446814f971e914c034aab00c95fdae87163.tar.bz2 firmament-9b1b1446814f971e914c034aab00c95fdae87163.zip |
Remove dbus integration
[no changelog]
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/dbus')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt | 17 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt | 27 |
2 files changed, 0 insertions, 44 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt b/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt deleted file mode 100644 index 9af968d..0000000 --- a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt +++ /dev/null @@ -1,17 +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 org.freedesktop.dbus.annotations.DBusInterfaceName -import org.freedesktop.dbus.interfaces.DBusInterface - -@DBusInterfaceName("moe.nea.Firmament") -interface FirmamentDbusInterface : DBusInterface { - fun sayHello(): String - fun getCurrentRepoCommit(): String - fun requestRepoReDownload() -} 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" - } -} |