🚧 Add handler for new-version notification
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / database / FriendProvider.kt
1 package net.pterodactylus.sone.database
2
3 import net.pterodactylus.sone.data.Sone
4
5 /**
6  * Provides information about [friends][Sone.getFriends] of a [Sone].
7  */
8 interface FriendProvider {
9
10         fun getFriends(localSone: Sone): Collection<String>
11         fun isFriend(localSone: Sone, friendSoneId: String): Boolean
12         fun getFollowingTime(friendSoneId: String): Long?
13
14 }