mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
19 lines
355 B
C++
19 lines
355 B
C++
#ifndef FILEHANDLER_H
|
|
#define FILEHANDLER_H
|
|
|
|
class QString;
|
|
class QByteArray;
|
|
class QUrl;
|
|
|
|
class FileHandler
|
|
{
|
|
public:
|
|
explicit FileHandler();
|
|
static QList<QString> schemes();
|
|
bool canHandleUrl(const QUrl &url) const;
|
|
QByteArray dataForUrl(const QUrl &url) const;
|
|
QString mimeTypeForUrl(const QUrl &url) const;
|
|
};
|
|
|
|
#endif
|