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.

48 lines
1.5 KiB

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: 31/07/2001
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: MapData.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of MapData.h
  13. //----------------------------------------------------------------------------
  14. // MapData.h: interface for the CMapData class.
  15. //
  16. //////////////////////////////////////////////////////////////////////
  17. #if !defined(AFX_MAPDATA_H__9B1BD4F6_71EC_11D4_A1EF_0010B55CB330__INCLUDED_)
  18. #define AFX_MAPDATA_H__9B1BD4F6_71EC_11D4_A1EF_0010B55CB330__INCLUDED_
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif // _MSC_VER > 1000
  22. #include "SensorArray.h"
  23. #include "MetaFile.h"
  24. #include "Background.h"
  25. class CMapData
  26. {
  27. public:
  28. // void Paint( CDC *pDC, CRect& viewRect, SDPOINT& mapShift, double mapScale, BOOL bBigSize );
  29. BOOL Load( LPCTSTR pFileName );
  30. CMapData();
  31. ~CMapData();
  32. public:
  33. // CSize GetMapSize() { return m_Background.GetSize(); }
  34. // void SetSensorArray( CSensorArray *pSensorArray );
  35. // CSensorArray *GetSensorArray( void ) { return m_pSensorArray; }
  36. CBackground *GetBackground( void ) { return &m_Background; }
  37. private:
  38. // CSensorArray *m_pSensorArray;
  39. CBackground m_Background;
  40. };
  41. #endif // !defined(AFX_MAPDATA_H__9B1BD4F6_71EC_11D4_A1EF_0010B55CB330__INCLUDED_)