urbackup_backend/downloadplugin/DownloadThread.h
2011-01-06 17:43:38 +01:00

24 lines
649 B
C++

//---------------------------------------------------------------------------
#ifndef DownloadThreadH
#define DownloadThreadH
#include "download2.h"
#include "../Interface/Thread.h"
class DownloadThread : public IThread
{
private:
std::string url,filename,proxy;
unsigned short proxyport;
IPipe *pipe;
protected:
void operator()(void);
public:
DownloadThread();
void init(std::string pUrl,std::string pFilename, IPipe *pPipe, std::string pProxy, unsigned short pProxyport);
};
//---------------------------------------------------------------------------
#endif