diff options
author | nea <nea@nea.moe> | 2023-05-16 01:23:43 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-05-16 01:23:43 +0200 |
commit | ead6762eb1c005914b05f9d3c29f334989c67513 (patch) | |
tree | cd1409756be2bc4a93195c31d432fef053afe002 /src/main/kotlin/moe/nea/notenoughupdates/dbus | |
parent | 96c546cc73880a7c502c17aadda6ca84c847692d (diff) | |
download | Firmament-ead6762eb1c005914b05f9d3c29f334989c67513.tar.gz Firmament-ead6762eb1c005914b05f9d3c29f334989c67513.tar.bz2 Firmament-ead6762eb1c005914b05f9d3c29f334989c67513.zip |
Replace references to NEU with Firmament
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/dbus')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt | 11 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusObject.kt | 21 |
2 files changed, 0 insertions, 32 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt b/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt deleted file mode 100644 index 28ff370..0000000 --- a/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt +++ /dev/null @@ -1,11 +0,0 @@ -package moe.nea.notenoughupdates.dbus - -import org.freedesktop.dbus.annotations.DBusInterfaceName -import org.freedesktop.dbus.interfaces.DBusInterface - -@DBusInterfaceName("moe.nea.NotEnoughUpdates") -interface NEUDbusInterface : DBusInterface { - fun sayHello(): String - fun getCurrentRepoCommit(): String - fun requestRepoReDownload() -} 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" - } -} |