1/* 2 * Copyright 2010-2017 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _B_URL_RESULT_H_ 6#define _B_URL_RESULT_H_ 7 8 9#include <String.h> 10 11 12namespace BPrivate { 13 14namespace Network { 15 16 17class BUrlResult { 18public: 19 BUrlResult(); 20 virtual ~BUrlResult(); 21 22 void SetContentType(BString contentType); 23 void SetLength(off_t length); 24 25 virtual BString ContentType() const; 26 virtual off_t Length() const; 27 28private: 29 BString fContentType; 30 off_t fLength; 31}; 32 33 34} // namespace Network 35 36} // namespace BPrivate 37 38#endif // _B_URL_RESULT_H_ 39