1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/source/filezilla/ApiLog.h
Martin Prikryl efe94d6c08 Using actual types and functions instead of WinAPI and Unicode/Ansi macros
Source commit: b7fec4d069296b58bb43e7a4a97dd85d558212b7
2025-12-21 01:34:21 +01:00

33 lines
997 B
C++

//---------------------------------------------------------------------------
#ifndef ApiLogH
#define ApiLogH
//---------------------------------------------------------------------------
#include "FileZillaIntern.h"
//---------------------------------------------------------------------------
class CApiLog
{
public:
CApiLog();
virtual ~CApiLog();
void InitIntern(TFileZillaIntern * Intern);
TFileZillaIntern * GetIntern();
bool LoggingMessageType(int nMessageType) const;
void LogMessage(int nMessageType, const wchar_t * pMsgFormat, ...) const;
void LogMessageRaw(int nMessageType, const wchar_t * pMsg) const;
void LogError(int Error);
CString GetOption(int OptionID) const;
int GetOptionVal(int OptionID) const;
protected:
void SendLogMessage(int nMessageType, const wchar_t * pMsg) const;
TFileZillaIntern * FIntern;
};
//---------------------------------------------------------------------------
//!CLEANEND
#endif // ApiLogH