UPhoneBox.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // UPhoneBox.h : main header file for the UPhoneBox application
  2. //
  3. #if !defined(AFX_UPhoneBox_H__34A06580_649D_40C7_ADC9_3491C60D9835__INCLUDED_)
  4. #define AFX_UPhoneBox_H__34A06580_649D_40C7_ADC9_3491C60D9835__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 "./include/sendhead.h"
  13. extern CString g_server2;
  14. extern BOOL g_bSendOK;
  15. extern SENDHEAD g_sendhead;
  16. extern COLORREF g_gridcol1;
  17. extern COLORREF g_gridcol2;
  18. extern CString g_mainpath;
  19. extern HWND g_hwnd[10];
  20. extern CString g_recordpath[10];
  21. extern CString g_recordsavepath[10];
  22. extern BOOL nNeedConn2;
  23. extern void WriteLogin(CString str);
  24. extern CArray<CStringArray, CStringArray>g_cominfoarray;
  25. extern int GetLengthEx(CString str);
  26. extern BOOL CheckExist(CString m_phone);
  27. typedef struct
  28. {
  29. BOOL bsql;
  30. int server[50];
  31. int user[50];
  32. int psw[50];
  33. }DBSAVE;
  34. extern void GetListData(BYTE code, CArray<CStringArray, CStringArray>*pListarray1, CString filter, int yearpos, int mode);
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CUPhoneBoxApp:
  37. // See UPhoneBox.cpp for the implementation of this class
  38. //
  39. class CUPhoneBoxApp : public CWinApp
  40. {
  41. public:
  42. CUPhoneBoxApp();
  43. // Overrides
  44. // ClassWizard generated virtual function overrides
  45. //{{AFX_VIRTUAL(CUPhoneBoxApp)
  46. public:
  47. virtual BOOL InitInstance();
  48. //}}AFX_VIRTUAL
  49. // Implementation
  50. //{{AFX_MSG(CUPhoneBoxApp)
  51. // NOTE - the ClassWizard will add and remove member functions here.
  52. // DO NOT EDIT what you see in these blocks of generated code !
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. /////////////////////////////////////////////////////////////////////////////
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_UPhoneBox_H__34A06580_649D_40C7_ADC9_3491C60D9835__INCLUDED_)