2 * Copyright 2013 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _B_FILE_REQUEST_H_
6 #define _B_FILE_REQUEST_H_
12 #include <UrlRequest.h>
15 class BFileRequest
: public BUrlRequest
{
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
);
26 status_t
_ProtocolLoop();
32 #endif // _B_FILE_REQUEST_H_