diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-10 14:04:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-10 14:28:09 +0100 |
commit | 99ada40df48af18396b8a99363832b1bffc58d37 (patch) | |
tree | cb517371491f913f1a3dc4969d7aa0d7061e4bb5 /lib/public | |
parent | cfda17d8f3c55cbbd8decb134c82c499e3c2c2f4 (diff) | |
download | nextcloud-server-99ada40df48af18396b8a99363832b1bffc58d37.tar.gz nextcloud-server-99ada40df48af18396b8a99363832b1bffc58d37.zip |
Dispatch event on preview request
Fixes: #73
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IPreview.php | 5 |
1 files changed, 5 insertions, 0 deletions
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'; |