//---------------------------------------------------------------------------- // 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__ #include "stdafx.h" class CLgVersion { public: CLgVersion( char * pTime, char * pDate ); ~CLgVersion(){}; public: static tm GetBuildTime() { return m_Time; } static char *GetBuildTimeStr() { return m_pTime; } private: static tm m_Time; static char m_pTime[256]; }; static CLgVersion tempVersionObject( _T(__TIME__), _T(__DATE__) ); #endif