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.

34 lines
887 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: Version.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of Version.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __VERSION__H__INCLUDED__
  15. #define __VERSION__H__INCLUDED__
  16. class CVersion
  17. {
  18. public:
  19. CVersion( LPCTSTR pTime, LPCTSTR pDate );
  20. ~CVersion();
  21. public:
  22. static SYSTEMTIME& GetBuildTimeST() { return m_Time; }
  23. static LPCTSTR GetBuildTimeSTR() { return m_pTime; }
  24. private:
  25. static SYSTEMTIME m_Time;
  26. static TCHAR m_pTime[MAX_PATH];
  27. };
  28. #endif
  29. static CVersion tempVersionObject( __TIME__, __DATE__ );