ThrDownloaderF.h 1003 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //---------------------------------------------------------------------------
  2. #ifndef ThrDownloaderFH
  3. #define ThrDownloaderFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include "IdBaseComponent.hpp"
  7. #include "IdComponent.hpp"
  8. #include "IdHTTP.hpp"
  9. #include "IdIOHandler.hpp"
  10. #include "IdIOHandlerSocket.hpp"
  11. #include "IdIOHandlerStack.hpp"
  12. #include "IdSSL.hpp"
  13. #include "IdSSLOpenSSL.hpp"
  14. #include "IdTCPClient.hpp"
  15. #include "IdTCPConnection.hpp"
  16. //---------------------------------------------------------------------------
  17. class TThrDownloader : public TThread
  18. {
  19. private:
  20. protected:
  21. void __fastcall Execute();
  22. public:
  23. int FZoom;
  24. int FXMin;
  25. int FXMax;
  26. int FYMin;
  27. int FYMax;
  28. String FPath;
  29. String FFileExt;
  30. String FURL;
  31. bool FDelOldMap;
  32. public:
  33. __fastcall TThrDownloader(bool CreateSuspended, bool delOldMap);
  34. };
  35. //---------------------------------------------------------------------------
  36. #endif