xref: /haiku/headers/private/netservices/UrlResult.h (revision 52c4471a3024d2eb81fe88e2c3982b9f8daa5e56)
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 
12 namespace BPrivate {
13 
14 namespace Network {
15 
16 
17 class BUrlResult {
18 public:
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 
28 private:
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