Fix FreeBSD build.
[haiku.git] / headers / os / net / FileRequest.h
blob4ee8cf25d3f668872ccb8d57e3e881326c920650
1 /*
2 * Copyright 2013 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _B_FILE_REQUEST_H_
6 #define _B_FILE_REQUEST_H_
9 #include <deque>
12 #include <UrlRequest.h>
15 class BFileRequest : public BUrlRequest {
16 public:
17 BFileRequest(const BUrl& url,
18 BUrlProtocolListener* listener = NULL,
19 BUrlContext* context = NULL);
20 virtual ~BFileRequest();
22 const BUrlResult& Result() const;
23 void SetDisableListener(bool disable);
25 private:
26 status_t _ProtocolLoop();
27 private:
28 BUrlResult fResult;
32 #endif // _B_FILE_REQUEST_H_