//---------------------------------------------------------------------------

#ifndef ThrDownloaderFH
#define ThrDownloaderFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include "IdBaseComponent.hpp"
#include "IdComponent.hpp"
#include "IdHTTP.hpp"
#include "IdIOHandler.hpp"
#include "IdIOHandlerSocket.hpp"
#include "IdIOHandlerStack.hpp"
#include "IdSSL.hpp"
#include "IdSSLOpenSSL.hpp"
#include "IdTCPClient.hpp"
#include "IdTCPConnection.hpp"
//---------------------------------------------------------------------------
class TThrDownloader : public TThread
{
private:
protected:
    void __fastcall Execute();
public:
    int FZoom;
    int FXMin;
    int FXMax;
    int FYMin;
    int FYMax;
    String FPath;
    String FFileExt;
    String FURL;

    bool FDelOldMap;

public:
    __fastcall TThrDownloader(bool CreateSuspended, bool delOldMap);
};
//---------------------------------------------------------------------------
#endif
