70b63f18b3
Change-Id: Idf3773c081ce103647c5dbea6e82c22bfc5606c9
39 lines
602 B
C++
39 lines
602 B
C++
/*
|
|
* Copyright 2010-2017 Haiku Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _B_URL_RESULT_H_
|
|
#define _B_URL_RESULT_H_
|
|
|
|
|
|
#include <String.h>
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
namespace Network {
|
|
|
|
|
|
class BUrlResult {
|
|
public:
|
|
BUrlResult();
|
|
virtual ~BUrlResult();
|
|
|
|
void SetContentType(BString contentType);
|
|
void SetLength(off_t length);
|
|
|
|
virtual BString ContentType() const;
|
|
virtual off_t Length() const;
|
|
|
|
private:
|
|
BString fContentType;
|
|
off_t fLength;
|
|
};
|
|
|
|
|
|
} // namespace Network
|
|
|
|
} // namespace BPrivate
|
|
|
|
#endif // _B_URL_RESULT_H_
|