From 99ada40df48af18396b8a99363832b1bffc58d37 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 10 Nov 2016 14:04:59 +0100 Subject: Dispatch event on preview request Fixes: #73 Signed-off-by: Roeland Jago Douma --- lib/public/IPreview.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/public/IPreview.php') diff --git a/lib/public/IPreview.php b/lib/public/IPreview.php index c6417b4d182..90f7a56b66c 100644 --- a/lib/public/IPreview.php +++ b/lib/public/IPreview.php @@ -43,6 +43,11 @@ use OCP\Files\NotFoundException; */ interface IPreview { + /** + * @since 9.2.0 + */ + const EVENT = self::class . ':' . 'PreviewRequested'; + const MODE_FILL = 'fill'; const MODE_COVER = 'cover'; -- cgit v1.2.3