12345678910111213141516171819202122232425262728293031 |
- //---------------------------------------------------------------------------
- #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, LPCTSTR pMsgFormat, ...) const;
- void LogMessageRaw(int nMessageType, LPCTSTR pMsg) const;
- CString GetOption(int OptionID) const;
- int GetOptionVal(int OptionID) const;
- protected:
- void SendLogMessage(int nMessageType, LPCTSTR pMsg) const;
- TFileZillaIntern * FIntern;
- };
- //---------------------------------------------------------------------------
- //!CLEANEND
- #endif // ApiLogH
|