blob: 4e3d362931631b976f7dddf7304f7eb5c6a4bb60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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"
}
}
|