123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- namespace OC\Preview;
- use OCP\Preview\IProvider;
- abstract class Provider implements IProvider {
- private $options;
-
- public function __construct(array $options = []) {
- $this->options = $options;
- }
-
- abstract public function getMimeType();
-
- public function isAvailable(\OCP\Files\FileInfo $file) {
- return true;
- }
-
- abstract public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview);
- }
|