haiku/headers/private/netservices/UrlResult.h
Niels Sascha Reedijk 70b63f18b3 netservices: remove all old conditional code
Change-Id: Idf3773c081ce103647c5dbea6e82c22bfc5606c9
2021-09-11 13:08:11 +01:00

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_