1 /* 2 * Copyright 2013 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #ifndef _B_URL_ROSTER_H_ 7 #define _B_URL_ROSTER_H_ 8 9 10 #include <stdlib.h> 11 12 13 class BDataIO; 14 class BUrl; 15 16 17 namespace BPrivate { 18 19 namespace Network { 20 21 22 class BUrlContext; 23 class BUrlProtocolListener; 24 class BUrlRequest; 25 26 class BUrlProtocolRoster { 27 public: 28 static BUrlRequest* MakeRequest(const BUrl& url, BDataIO* output, 29 BUrlProtocolListener* listener = NULL, 30 BUrlContext* context = NULL); 31 }; 32 33 34 } // namespace Network 35 36 } // namespace BPrivate 37 38 #endif // _B_URL_ROSTER_H_ 39