summaryrefslogtreecommitdiffstats
path: root/lib/private/preview
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-12 11:59:45 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-16 12:44:11 +0100
commitc1f266db886cb6ff87e81af1b47da7f5f70966f9 (patch)
tree51b14b41804309a0959d0d92bd61ed7f048680d7 /lib/private/preview
parent227ff0a9e3a3106e58a352fe1fb1d5c7e01d3c28 (diff)
downloadnextcloud-server-c1f266db886cb6ff87e81af1b47da7f5f70966f9.tar.gz
nextcloud-server-c1f266db886cb6ff87e81af1b47da7f5f70966f9.zip
Add an interface for the preview providers
Diffstat (limited to 'lib/private/preview')
-rw-r--r--lib/private/preview/provider.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/preview/provider.php b/lib/private/preview/provider.php
index 34c61307238..bfabc7ad4b3 100644
--- a/lib/private/preview/provider.php
+++ b/lib/private/preview/provider.php
@@ -1,7 +1,9 @@
<?php
namespace OC\Preview;
-abstract class Provider {
+use OCP\Preview\IProvider;
+
+abstract class Provider implements IProvider {
private $options;
public function __construct($options) {