23 lines
384 B
PHP
23 lines
384 B
PHP
<?php
|
|
/**
|
|
* provides search functionalty
|
|
*/
|
|
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);
|
|
}
|