mirror of
https://github.com/nextcloud/server.git
synced 2024-12-29 00:18:42 +00:00
9836e9b164
Signed-off-by: provokateurin <kate@provokateurin.de>
23 lines
471 B
PHP
23 lines
471 B
PHP
<?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;
|
|
}
|