FilezillaTools.h 838 B

12345678910111213141516171819
  1. //---------------------------------------------------------------------------
  2. #ifndef FileZillaToolsH
  3. #define FileZillaToolsH
  4. //---------------------------------------------------------------------------
  5. #include <ctime>
  6. #include <openssl/ssl.h>
  7. //---------------------------------------------------------------------------
  8. class CFileZillaTools
  9. {
  10. public:
  11. virtual void PreserveDownloadFileTime(HANDLE Handle, void * UserData) = 0;
  12. virtual bool GetFileModificationTimeInUtc(const wchar_t * FileName, struct tm & Time) = 0;
  13. virtual wchar_t * LastSysErrorMessage() = 0;
  14. virtual std::wstring GetClientString() = 0;
  15. virtual void SetupSsl(ssl_st * Ssl) = 0;
  16. virtual std::wstring CustomReason(int Err) = 0;
  17. };
  18. //---------------------------------------------------------------------------
  19. #endif // FileZillaToolsH