LYFZIPReceiveApp.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // LYFZIPReceiveApp.h : main header file for the LYFZIPReceiveApp application
  2. //
  3. #if !defined(AFX_LYFZIPReceiveAPP_H__D3E3BA85_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)
  4. #define AFX_LYFZIPReceiveAPP_H__D3E3BA85_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. #include "resource.h" // main symbols
  12. #include "SystemTray.h"
  13. #include "LogFile.h"
  14. #include "MyLock.h"
  15. #include "my32.h"
  16. #include "SoftKey.h"
  17. typedef struct
  18. {
  19. BYTE bsql;
  20. BYTE tabcount;
  21. BYTE code[100];
  22. DWORD count[100];
  23. DWORD length[100];
  24. }SENDHEAD;
  25. extern void WriteLogin(CString str);
  26. extern void WriteLogin2(CString str);
  27. extern CDatabase *g_curdb;
  28. extern CString g_mainpath;
  29. extern CDatabase g_db;
  30. extern SENDHEAD g_sendhead;
  31. extern SoftKey ytSoftKey;
  32. extern BOOL g_bDogOK;
  33. class CLYFZIPReceiveApp : public CWinApp
  34. {
  35. public:
  36. CLYFZIPReceiveApp();
  37. CSystemTray m_TrayIcon;
  38. CLogFile m_LogFile;
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CLYFZIPReceiveApp)
  42. public:
  43. virtual BOOL InitInstance();
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. //{{AFX_MSG(CLYFZIPReceiveApp)
  47. afx_msg void OnAppShow();
  48. afx_msg void OnAppExit();
  49. afx_msg void OnAppAbout();
  50. afx_msg void OnHelpIndex();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. /////////////////////////////////////////////////////////////////////////////
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_LYFZIPReceiveAPP_H__D3E3BA85_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)