diff options
Diffstat (limited to 'lib/public/preview/iprovider.php')
-rw-r--r-- | lib/public/preview/iprovider.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/preview/iprovider.php b/lib/public/preview/iprovider.php index e176aa94fca..1a581768ad4 100644 --- a/lib/public/preview/iprovider.php +++ b/lib/public/preview/iprovider.php @@ -20,9 +20,16 @@ */ namespace OCP\Preview; +/** + * Interface IProvider + * + * @package OCP\Preview + * @since 8.1.0 + */ interface IProvider { /** * @return string Regex with the mimetypes that are supported by this provider + * @since 8.1.0 */ public function getMimeType(); @@ -31,6 +38,7 @@ interface IProvider { * * @param \OCP\Files\FileInfo $file * @return bool + * @since 8.1.0 */ public function isAvailable(\OCP\Files\FileInfo $file); @@ -43,6 +51,7 @@ interface IProvider { * @param bool $scalingup Disable/Enable upscaling of previews * @param \OC\Files\View $fileview fileview object of user folder * @return bool|\OCP\IImage false if no preview was generated + * @since 8.1.0 */ public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview); } |