//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: Laserguard libraries // SUBSYSTEM: LgLib // FILE: Version.h // AUTHOR: Chizhevskiy Sergey // OVERVIEW // ~~~~~~~~ // Header file of CLgVersion //---------------------------------------------------------------------------- #ifndef __LG__VERSION__H__INCLUDED__ #define __LG__VERSION__H__INCLUDED__ class CLgVersion { public: CLgVersion( LPCTSTR pTime, LPCTSTR pDate ); public: static tm& GetBuildTime() { return m_Time; } static LPCTSTR GetBuildTimeStr() { return m_pTime; } private: static tm m_Time; static TCHAR m_pTime[MAX_PATH]; }; static CLgVersion tempVersionObject( __TIME__, __DATE__ ); #endif