mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
https://winscp.net/tracker/2299
(cherry picked from commit 15112f5277)
# Conflicts:
# source/filezilla/AsyncSslSocketLayer.cpp
# source/resource/TextsCore.h
# source/resource/TextsCore1.rc
Source commit: 07f53a2b45238c32e86fd6b66ad114161e0b4aec
20 lines
838 B
C++
20 lines
838 B
C++
//---------------------------------------------------------------------------
|
|
#ifndef FileZillaToolsH
|
|
#define FileZillaToolsH
|
|
//---------------------------------------------------------------------------
|
|
#include <ctime>
|
|
#include <openssl/ssl.h>
|
|
//---------------------------------------------------------------------------
|
|
class CFileZillaTools
|
|
{
|
|
public:
|
|
virtual void PreserveDownloadFileTime(HANDLE Handle, void * UserData) = 0;
|
|
virtual bool GetFileModificationTimeInUtc(const wchar_t * FileName, struct tm & Time) = 0;
|
|
virtual wchar_t * LastSysErrorMessage() = 0;
|
|
virtual std::wstring GetClientString() = 0;
|
|
virtual void SetupSsl(ssl_st * Ssl) = 0;
|
|
virtual std::wstring CustomReason(int Err) = 0;
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
#endif // FileZillaToolsH
|