1
0

stdafx.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //---------------------------------------------------------------------------
  2. #ifndef StdAfxH
  3. #define StdAfxH
  4. //---------------------------------------------------------------------------
  5. #define _int64 __int64
  6. //---------------------------------------------------------------------------
  7. #define MPEXT_NO_GSS
  8. #define _AFX_ENABLE_INLINES
  9. #define _AFX_NOFORCE_LIBS
  10. //---------------------------------------------------------------------------
  11. #define LENOF(x) ( (sizeof((x))) / (sizeof(*(x))))
  12. //---------------------------------------------------------------------------
  13. #include <afx.h>
  14. #include "wtypes.h"
  15. // STL includes
  16. #include <list>
  17. #include <map>
  18. #include <vector>
  19. #include <deque>
  20. #include <set>
  21. #include <algorithm>
  22. //---------------------------------------------------------------------------
  23. #pragma hdrstop
  24. //---------------------------------------------------------------------------
  25. #include <Global.h>
  26. // these create conflict with afxwin.h
  27. #undef BEGIN_MESSAGE_MAP
  28. #undef END_MESSAGE_MAP
  29. //---------------------------------------------------------------------------
  30. #include "MFC64bitFix.h"
  31. #include <ApiLog.h>
  32. #include <TextsFileZilla.h>
  33. //---------------------------------------------------------------------------
  34. #include <oleauto.h>
  35. #include <afxconv.h>
  36. //---------------------------------------------------------------------------
  37. #define _strlwr strlwr
  38. //---------------------------------------------------------------------------
  39. const int FILEEXISTS_OVERWRITE = 0;
  40. const int FILEEXISTS_RESUME = 1;
  41. const int FILEEXISTS_RENAME = 2;
  42. const int FILEEXISTS_SKIP = 3;
  43. const int FILEEXISTS_COMPLETE = 4;
  44. //---------------------------------------------------------------------------
  45. class t_ffam_statusmessage
  46. {
  47. public:
  48. CString status;
  49. int type;
  50. BOOL post;
  51. };
  52. //---------------------------------------------------------------------------
  53. typedef struct
  54. {
  55. __int64 bytes;
  56. __int64 transfersize;
  57. BOOL bFileTransfer;
  58. } t_ffam_transferstatus;
  59. //---------------------------------------------------------------------------
  60. #include <FileZillaApi.h>
  61. #include <FileZillaOpt.h>
  62. //---------------------------------------------------------------------------
  63. #endif