projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace Sone store interface with Kotlin version
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
database
/
SoneStore.kt
diff --git a/src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt
b/src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt
new file mode 100644
(file)
index 0000000..
20cc3f4
--- /dev/null
+++ b/
src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt
@@ -0,0
+1,13
@@
+package net.pterodactylus.sone.database
+
+import net.pterodactylus.sone.data.Sone
+
+/**
+ * Interface for a store for [Sone]s.
+ */
+interface SoneStore {
+
+ fun storeSone(sone: Sone)
+ fun removeSone(sone: Sone)
+
+}