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.

41 lines
875 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2001
  5. // Last modification: 08/10/2003
  6. // PROJECT: Laserguard libraries
  7. // SUBSYSTEM: LgLib
  8. // FILE: LgDebug.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of for CLgDebug
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__DEBUG__H__INCLUDED__
  15. #define __LG__DEBUG__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CLgDebug
  20. {
  21. public:
  22. CLgDebug();
  23. virtual ~CLgDebug();
  24. public:
  25. enum{ MAX_PRINT_LENGTH = 1024 };
  26. public:
  27. static INT Trace( LPCTSTR pFormat, ... );
  28. };
  29. #ifdef _DEBUG
  30. #define LGTRACE CLgDebug::Trace
  31. #else
  32. #define LGTRACE
  33. #endif
  34. #endif