aboutsummaryrefslogtreecommitdiff
path: root/src/protocols/filehandler.hpp
blob: 55ac248d753894132cbd0e0cb9ab9e454079a981 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef FILEHANDLER_HPP
#define FILEHANDLER_HPP

#include <QObject>

#include "protocolhandler.hpp"

class FileHandler : public ProtocolHandler
{
    Q_OBJECT
public:
    FileHandler();

    bool supportsScheme(QString const & scheme) const override;

    bool startRequest(QUrl const & url, RequestOptions options) override;

    bool isInProgress() const override;

    bool cancelRequest() override;
};

#endif // FILEHANDLER_HPP