blob: 4a407f4857767acf8a62151244a521fb032556fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Preview;
/**
* Interface IMimeIconProvider
*
* @since 28.0.0
*/
interface IMimeIconProvider {
/**
* Get the URL to the icon for the given mime type
* Used by the preview provider to show a mime icon
* if no preview is available.
* @since 28.0.0
*/
public function getMimeIconUrl(string $mime): ?string;
}
|