nextcloud/lib/private/preview/provider.php

20 lines
344 B
PHP

<?php
namespace OC\Preview;
abstract class Provider {
private $options;
public function __construct($options) {
$this->options=$options;
}
abstract public function getMimeType();
/**
* search for $query
* @param string $query
* @return
*/
abstract public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview);
}