2013-10-08 13:30:56 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2013 Haiku Inc. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _B_URL_ROSTER_H_
|
|
|
|
#define _B_URL_ROSTER_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
2020-07-25 07:45:42 +03:00
|
|
|
class BDataIO;
|
2013-10-08 13:30:56 +04:00
|
|
|
class BUrl;
|
2021-01-22 17:20:19 +03:00
|
|
|
|
|
|
|
#ifndef LIBNETAPI_DEPRECATED
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
|
|
namespace Network {
|
|
|
|
#endif
|
|
|
|
|
2013-10-08 13:30:56 +04:00
|
|
|
class BUrlContext;
|
|
|
|
class BUrlProtocolListener;
|
|
|
|
class BUrlRequest;
|
|
|
|
|
|
|
|
class BUrlProtocolRoster {
|
|
|
|
public:
|
2020-07-25 07:45:42 +03:00
|
|
|
#ifdef LIBNETAPI_DEPRECATED
|
|
|
|
static BUrlRequest* MakeRequest(const BUrl& url,
|
|
|
|
BUrlProtocolListener* listener = NULL,
|
|
|
|
BUrlContext* context = NULL);
|
|
|
|
#else
|
|
|
|
static BUrlRequest* MakeRequest(const BUrl& url, BDataIO* output,
|
|
|
|
BUrlProtocolListener* listener = NULL,
|
|
|
|
BUrlContext* context = NULL);
|
|
|
|
#endif
|
2013-10-08 13:30:56 +04:00
|
|
|
};
|
|
|
|
|
2021-01-22 17:20:19 +03:00
|
|
|
#ifndef LIBNETAPI_DEPRECATED
|
|
|
|
} // namespace Network
|
|
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
#endif
|
|
|
|
|
2013-10-08 13:30:56 +04:00
|
|
|
#endif
|