mirror of
https://review.haiku-os.org/haiku
synced 2025-02-10 07:39:25 +01:00
30 lines
557 B
C
30 lines
557 B
C
|
/*
|
||
|
* Copyright 2013 Haiku Inc. All rights reserved.
|
||
|
* Distributed under the terms of the MIT License.
|
||
|
*/
|
||
|
#ifndef _B_FILE_REQUEST_H_
|
||
|
#define _B_FILE_REQUEST_H_
|
||
|
|
||
|
|
||
|
#include <deque>
|
||
|
|
||
|
|
||
|
#include <UrlRequest.h>
|
||
|
|
||
|
|
||
|
class BFileRequest : public BUrlRequest {
|
||
|
public:
|
||
|
BFileRequest(const BUrl& url,
|
||
|
BUrlProtocolListener* listener = NULL,
|
||
|
BUrlContext* context = NULL);
|
||
|
virtual ~BFileRequest();
|
||
|
|
||
|
void SetDisableListener(bool disable);
|
||
|
|
||
|
private:
|
||
|
status_t _ProtocolLoop();
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // _B_FILE_REQUEST_H_
|