LYFZReceiveMsgApp.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // LYFZReceiveMsgApp.h : main header file for the LYFZReceiveMsgApp application
  2. //
  3. #if !defined(AFX_LYFZReceiveMsgAPP_H__D3E3BA85_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)
  4. #define AFX_LYFZReceiveMsgAPP_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. typedef struct
  15. {
  16. BYTE bsql;
  17. BYTE tabcount;
  18. BYTE code[100];
  19. DWORD count[100];
  20. DWORD length[100];
  21. }SENDHEAD;
  22. extern void WriteLogin(CString str);
  23. extern void WriteLogin2(CString str);
  24. extern void WriteError(CString str);
  25. extern void WritePswWrong(CString str);
  26. extern void WriteNullBalance(CString str);
  27. extern void WriteUnallowIP(CString str);
  28. extern CDatabase *g_curdb;
  29. extern CString g_mainpath;
  30. extern CDatabase g_db;
  31. extern SENDHEAD g_sendhead;
  32. class CLYFZReceiveMsgApp : public CWinApp
  33. {
  34. public:
  35. CLYFZReceiveMsgApp();
  36. CSystemTray m_TrayIcon;
  37. CLogFile m_LogFile;
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(CLYFZReceiveMsgApp)
  41. public:
  42. virtual BOOL InitInstance();
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. //{{AFX_MSG(CLYFZReceiveMsgApp)
  46. afx_msg void OnAppShow();
  47. afx_msg void OnAppExit();
  48. afx_msg void OnAppAbout();
  49. afx_msg void OnHelpIndex();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. /////////////////////////////////////////////////////////////////////////////
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_LYFZReceiveMsgAPP_H__D3E3BA85_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)