FTPEventSink.h 922 B

1234567891011121314151617181920212223242526
  1. // FTPEventSink.h: interface for the CFTPEventSink class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_FTPEVENTSINK_H__D8B6FF57_D431_11D5_AB13_00D0B70C3D79__INCLUDED_)
  5. #define AFX_FTPEVENTSINK_H__D8B6FF57_D431_11D5_AB13_00D0B70C3D79__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CFTPEventSink
  10. {
  11. public:
  12. CFTPEventSink();
  13. virtual ~CFTPEventSink();
  14. virtual void OnFTPUserConnected(DWORD nThreadID, LPCTSTR lpszUser, LPCSTR lpszAddress) {};
  15. virtual void OnFTPUserDisconnected(DWORD nThreadID, LPCTSTR lpszUser) {};
  16. virtual void OnFTPStatusChange(int nType, LPCTSTR lpszText) {};
  17. virtual void OnFTPReceivedBytesChange(int nBytes) {};
  18. virtual void OnFTPSentBytesChange(int nBytes) {};
  19. virtual void OnFTPStatisticChange(int nType, int nValue) {};
  20. };
  21. #endif // !defined(AFX_FTPEVENTSINK_H__D8B6FF57_D431_11D5_AB13_00D0B70C3D79__INCLUDED_)