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.

39 lines
871 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: Laserguard libraries
  7. // SUBSYSTEM: LgLib
  8. // FILE: LgPowerLock.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of CLgPowerLock
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__POWER__LOCK__H__INCLUDED__
  15. #define __LG__POWER__LOCK__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CLgPowerLock
  20. {
  21. public:
  22. CLgPowerLock();
  23. virtual ~CLgPowerLock();
  24. public:
  25. BOOL Lock();
  26. void Unlock();
  27. private:
  28. BOOL m_bScreenSaveActive;
  29. BOOL m_bLowPowerActive;
  30. BOOL m_bPowerOffActive;
  31. BOOL m_bLocked;
  32. };
  33. #endif