Replace friend-related interfaces with Kotlin versions
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / database / FriendStore.kt
diff --git a/src/main/kotlin/net/pterodactylus/sone/database/FriendStore.kt b/src/main/kotlin/net/pterodactylus/sone/database/FriendStore.kt
new file mode 100644 (file)
index 0000000..5e7a222
--- /dev/null
@@ -0,0 +1,13 @@
+package net.pterodactylus.sone.database
+
+import net.pterodactylus.sone.data.Sone
+
+/**
+ * Stores information about the [friends][Sone.getFriends] of a [Sone].
+ */
+interface FriendStore {
+
+       fun addFriend(localSone: Sone, friendSoneId: String)
+       fun removeFriend(localSone: Sone, friendSoneId: String)
+
+}