ImportPhoto.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #if !defined(AFX_IMPORTPHOTO_H__31892A21_6227_4C00_BB8A_AE225971E66F__INCLUDED_)
  2. #define AFX_IMPORTPHOTO_H__31892A21_6227_4C00_BB8A_AE225971E66F__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ImportPhoto.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ImportPhoto dialog
  10. class ImportPhoto : public CDialog
  11. {
  12. CStdioFile m_fp;
  13. int g_filecount;
  14. BOOL m_bautono;
  15. // Construction
  16. public:
  17. int beginno;
  18. BOOL m_bAddname;
  19. CString m_branch;
  20. int m_nphototype;
  21. BOOL m_bOfmat;
  22. CString m_id;
  23. CString m_name;
  24. CString m_calnopath;
  25. int m_nOutputSize;
  26. BOOL m_bCopyToLocal;
  27. CString m_sel;
  28. int GetFileNo(CString dir);
  29. void MyCopyFile(CString file1, CString file2, BOOL bOverWrite);
  30. BOOL m_bOrigin;//ԭƬ
  31. BOOL m_bSaveUploadTask;//ÉÏ´«ÈÎÎñ±£´æ
  32. CStringArray m_uploadtaskarray;
  33. BOOL m_bBeautifySkinFrom;
  34. BOOL m_bOverWrite;
  35. int m_exitcode;
  36. int m_mode;
  37. ImportPhoto(CWnd* pParent = NULL); // standard constructor
  38. CStringArray *m_pArray;
  39. CStringArray *m_pArray2;
  40. CStringArray *m_pDesArray;
  41. CString m_savepath;
  42. // Dialog Data
  43. //{{AFX_DATA(ImportPhoto)
  44. enum { IDD = IDD_DLGimportphoto };
  45. CProgressCtrl m_progress;
  46. //}}AFX_DATA
  47. // Overrides
  48. // ClassWizard generated virtual function overrides
  49. //{{AFX_VIRTUAL(ImportPhoto)
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. // Generated message map functions
  56. //{{AFX_MSG(ImportPhoto)
  57. virtual void OnOK();
  58. virtual void OnCancel();
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnClose();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  66. #endif // !defined(AFX_IMPORTPHOTO_H__31892A21_6227_4C00_BB8A_AE225971E66F__INCLUDED_)