Overte C++ Documentation
FileResourceRequest.h
1 //
2 // FileResourceRequest.h
3 // libraries/networking/src
4 //
5 // Created by Ryan Huffman on 2015/07/23
6 // Copyright 2015 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_FileResourceRequest_h
13 #define hifi_FileResourceRequest_h
14 
15 #include <QUrl>
16 
17 #include "ResourceRequest.h"
18 
19 class FileResourceRequest : public ResourceRequest {
20  Q_OBJECT
21 public:
22  FileResourceRequest(
23  const QUrl& url,
24  const bool isObservable = true,
25  const qint64 callerId = -1,
26  const QString& extra = ""
27  ) : ResourceRequest(url, isObservable, callerId, extra) { }
28 
29 protected:
30  virtual void doSend() override;
31 };
32 
33 #endif