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.

43 lines
1.2 KiB

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:
  7. // SUBSYSTEM:
  8. // FILE: LgsBR.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgsBR.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __LGS__BOARD_RECEIVER__H__INCLUDED__
  15. #define __LGS__BOARD_RECEIVER__H__INCLUDED__
  16. #include "..\LgLib\Remote\LgRemoteInterface.h"
  17. class CLgsBR :
  18. public CLgRemoteInterfaceBR
  19. {
  20. public:
  21. CLgsBR();
  22. virtual ~CLgsBR();
  23. public:
  24. BOOL Create();
  25. void Destroy();
  26. public:
  27. BOOL EnumPorts( DWORD Level, LPBYTE pPorts, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned, DWORD dwTimeout );
  28. protected:
  29. virtual BOOL OnRemoteBRChannelConnect( INT nChannel, BOOL bResult );
  30. virtual BOOL OnRemoteBRGetChannelProperties( INT nChannelCount, LG_TCP_PACKET_BOARD_RECEIVER::PCHANNEL_PROPERTIES pProperties );
  31. private:
  32. HANDLE m_hEventGetChannelProperties;
  33. LG_TCP_PACKET_BOARD_RECEIVER::PCHANNEL_PROPERTIES m_pChannelProperties;
  34. INT m_nChannelCount;
  35. };
  36. #endif