2014-11-28 09:25:40 +01:00
|
|
|
<?php
|
2024-05-23 09:26:56 +02:00
|
|
|
|
2014-11-28 09:25:40 +01:00
|
|
|
/**
|
2024-05-23 09:26:56 +02:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2014-11-28 09:25:40 +01:00
|
|
|
*/
|
|
|
|
namespace OC\Preview;
|
|
|
|
|
|
|
|
//.eps
|
|
|
|
class Postscript extends Bitmap {
|
|
|
|
/**
|
|
|
|
* {@inheritDoc}
|
|
|
|
*/
|
2019-06-04 15:25:25 +02:00
|
|
|
public function getMimeType(): string {
|
2014-11-28 09:25:40 +01:00
|
|
|
return '/application\/postscript/';
|
|
|
|
}
|
2024-04-07 19:10:19 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* {@inheritDoc}
|
|
|
|
*/
|
|
|
|
protected function getAllowedMimeTypes(): string {
|
|
|
|
return '/application\/postscript/';
|
|
|
|
}
|
2014-11-28 09:25:40 +01:00
|
|
|
}
|