Pogger/src/ProtocolListener.h

23 lines
430 B
C
Raw Normal View History

#ifndef PROTOCOL_LISTENER_H
#define PROTOCOL_LISTENER_H
#include <UrlProtocolListener.h>
#include <Url.h>
class ProtocolListener : public BUrlProtocolListener
{
public:
2020-07-13 12:31:52 -05:00
ProtocolListener ( bool );
virtual ~ProtocolListener();
virtual void DataReceived(BUrlRequest*, const char*, off_t, ssize_t);
void SetDownloadIO ( BDataIO* );
BDataIO* GetDownloadIO ( );
private:
BDataIO* fDownloadIO;
bool fTraceLogging;
};
#endif