diff options
Diffstat (limited to 'lib/public/ipreview.php')
-rw-r--r-- | lib/public/ipreview.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/ipreview.php b/lib/public/ipreview.php index f74472ad368..cc756ef80d3 100644 --- a/lib/public/ipreview.php +++ b/lib/public/ipreview.php @@ -57,4 +57,11 @@ interface IPreview */ function isMimeSupported($mimeType = '*'); + /** + * Check if a preview can be generated for a file + * + * @param \OCP\Files\FileInfo $file + * @return bool + */ + function isAvailable($file); } |