diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-18 20:45:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-18 20:45:29 +0100 |
commit | 46768e71d9601546d13252bd885ce9e532018e16 (patch) | |
tree | c4b5d53930d34222db4db3a2976da13bf5a616b6 /lib/public/IPreview.php | |
parent | 332eaec4c01356d0b2119d4ec8fe07fa492d031b (diff) | |
parent | 99ada40df48af18396b8a99363832b1bffc58d37 (diff) | |
download | nextcloud-server-46768e71d9601546d13252bd885ce9e532018e16.tar.gz nextcloud-server-46768e71d9601546d13252bd885ce9e532018e16.zip |
Merge pull request #2076 from nextcloud/log_preview_access
Dispatch event on preview request
Diffstat (limited to 'lib/public/IPreview.php')
-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 cddf7fc6a66..a1a03fee3e1 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'; |