summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/provider.php
blob: e4a730bafc8b3de7f08de41d7e98a5466e33fa4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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);
}