fork download
  1. // FingerAnalyserDlg.h : header file
  2. //
  3. #pragma once
  4. #include "AbsFing.h"
  5. #include "RelFing.h"
  6. #include "FingPicture.h"
  7. #include "AnalysePicture.h"
  8. #include "Info.h"
  9.  
  10. #include <list>
  11. using namespace std;
  12.  
  13. // Пока не понятно откуда их брать
  14. #define MIN_SIZE 100
  15. #define MAX_SIZE 1000
  16.  
  17. typedef list<CInfo> listCInfo;
  18.  
  19.  
  20. // CFingerAnalyserDlg dialog
  21. class CFingerAnalyserDlg : public CDialog
  22. {
  23. // Construction
  24. public:
  25. CFingerAnalyserDlg(CWnd* pParent = NULL); // standard constructor
  26. ~CFingerAnalyserDlg();
  27. // Dialog Data
  28. enum { IDD = IDD_FINGERANALYSER_DIALOG };
  29.  
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32.  
  33. private:
  34. CString m_WorkFile;
  35. BOOL m_ShowBase;
  36. CProgressCtrl m_ProgressSave;
  37. CProgressCtrl m_ProgressCompare;
  38.  
  39. CPoint mousePos;
  40. int mouseX;
  41. int mouseY;
  42. int m_DotsCount;
  43. long m_ScanTime;
  44.  
  45. private:
  46. CString pathToSAV;
  47. CString dbFile;
  48.  
  49. CAbsFing fingA;
  50. CRelFing fingR;
  51. CAnalysePicture* picture;
  52. CDC memDC;
  53. CBitmap bm;
  54. BITMAP bmp;
  55. UINT timer;
  56. CFingPicture *fp;
  57.  
  58. listCInfo *LoadDB(CString dbFile);
  59. list<CCompareFing>::iterator showIter;
  60. list<CCompareFing> *CompareWithBase();
  61. list<CCompareFing> *compareResult;
  62.  
  63.  
  64. private:
  65. void ShowBase(bool key, bool next = true);
  66. void PrintReport(CString file, CString report);
  67. CString GetSAV(CString srcName); //получение пути к sav файлу
  68.  
  69. // Implementation
  70. protected:
  71. HICON m_hIcon;
  72.  
  73. // Generated message map functions
  74. virtual BOOL OnInitDialog();
  75. afx_msg void OnPaint();
  76. afx_msg HCURSOR OnQueryDragIcon();
  77. afx_msg void OnBnClickedOpen();
  78. afx_msg void OnBnClickedAnalyse();
  79. afx_msg void OnBnClickedCompare();
  80. afx_msg void OnBnClickedSave();
  81. afx_msg void OnBnClickedBack();
  82. afx_msg void OnBnClickedNext();
  83. afx_msg void OnBnClickedShowBase();
  84. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  85. afx_msg void OnTimer(UINT_PTR nIDEvent);
  86. DECLARE_MESSAGE_MAP()
  87. };
  88.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:9: warning: #pragma once in main file
 #pragma once
         ^
prog.cpp:4:21: fatal error: AbsFing.h: No such file or directory
 #include "AbsFing.h"
                     ^
compilation terminated.
stdout
Standard output is empty