aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt')
-rw-r--r--src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt b/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt
new file mode 100644
index 0000000..28ff370
--- /dev/null
+++ b/src/main/kotlin/moe/nea/notenoughupdates/dbus/NEUDbusInterface.kt
@@ -0,0 +1,11 @@
+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()
+}