server/lib/preview/provider.php
2013-07-11 20:02:59 +02:00

19 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);
}