//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2001 // Last modification: 08/10/2003 // PROJECT: Laserguard libraries // SUBSYSTEM: LgLib // FILE: LgDebug.h // AUTHOR: Chizhevskiy Sergey // OVERVIEW // ~~~~~~~~ // Header file of for CLgDebug //---------------------------------------------------------------------------- #ifndef __LG__DEBUG__H__INCLUDED__ #define __LG__DEBUG__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif class CLgDebug { public: CLgDebug(); virtual ~CLgDebug(); public: enum{ MAX_PRINT_LENGTH = 1024 }; public: static INT Trace( LPCTSTR pFormat, ... ); }; #ifdef _DEBUG #define LGTRACE CLgDebug::Trace #else #define LGTRACE #endif #endif