projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show linked images under posts and replies
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
core
/
ImageLoader.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/core/ImageLoader.kt
b/src/main/kotlin/net/pterodactylus/sone/core/ImageLoader.kt
index
6d7fb36
..
5211015
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/core/ImageLoader.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/core/ImageLoader.kt
@@
-1,8
+1,11
@@
package net.pterodactylus.sone.core
package net.pterodactylus.sone.core
+import com.google.inject.ImplementedBy
+
/**
* Component that loads images and supplies information about them.
*/
/**
* Component that loads images and supplies information about them.
*/
+@ImplementedBy(DefaultImageLoader::class)
interface ImageLoader {
fun toLoadedImage(link: String): LoadedImage?
interface ImageLoader {
fun toLoadedImage(link: String): LoadedImage?