Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
977 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: GETFILE.H
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of GETFILE.H
  13. //----------------------------------------------------------------------------
  14. #ifndef __GETFILE__H__INCLUDED__
  15. #define __GETFILE__H__INCLUDED__
  16. #include "StdAfx.h"
  17. #include "..\lglib\comm\lgsm.h"
  18. class CGetFile
  19. {
  20. public:
  21. CGetFile();
  22. ~CGetFile();
  23. public:
  24. BOOL Create();
  25. void Destroy();
  26. void Reset();
  27. public:
  28. BOOL OnCommand( BYTE bOperation, PBYTE pBuffer, INT nCount );
  29. private:
  30. FILE *m_pFile;
  31. BYTE m_bOperation;
  32. CHAR m_pFileName[MAX_PATH];
  33. private:
  34. #ifdef DEBUG_GRAPH_SCREEN
  35. LONG m_nProgressPos;
  36. BYTE m_bProgressColor;
  37. #endif
  38. };
  39. #endif