aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/ImaginaryPDF.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/ImaginaryPDF.php')
-rw-r--r--lib/private/Preview/ImaginaryPDF.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/private/Preview/ImaginaryPDF.php b/lib/private/Preview/ImaginaryPDF.php
new file mode 100644
index 00000000000..d26c6d1b7ff
--- /dev/null
+++ b/lib/private/Preview/ImaginaryPDF.php
@@ -0,0 +1,14 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace OC\Preview;
+
+class ImaginaryPDF extends Imaginary {
+ public static function supportedMimeTypes(): string {
+ return '/application\/pdf/';
+ }
+}