+++ /dev/null
-package net.pterodactylus.sone.database;
-
-import java.util.Set;
-
-import net.pterodactylus.sone.data.Post;
-
-/**
- * Database interface for bookmark-related functionality.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
- */
-public interface BookmarkDatabase {
-
- void bookmarkPost(Post post);
- void unbookmarkPost(Post post);
- boolean isPostBookmarked(Post post);
- Set<Post> getBookmarkedPosts();
-
-}
--- /dev/null
+package net.pterodactylus.sone.database
+
+import net.pterodactylus.sone.data.Post
+
+/**
+ * Database interface for bookmark-related functionality.
+ */
+interface BookmarkDatabase {
+
+ val bookmarkedPosts: Set<Post>
+
+ fun bookmarkPost(post: Post)
+ fun unbookmarkPost(post: Post)
+ fun isPostBookmarked(post: Post): Boolean
+
+}