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
43 lines
1.2 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgsBR.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgsBR.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LGS__BOARD_RECEIVER__H__INCLUDED__
|
|
#define __LGS__BOARD_RECEIVER__H__INCLUDED__
|
|
|
|
#include "..\LgLib\Remote\LgRemoteInterface.h"
|
|
|
|
class CLgsBR :
|
|
public CLgRemoteInterfaceBR
|
|
{
|
|
public:
|
|
CLgsBR();
|
|
virtual ~CLgsBR();
|
|
|
|
public:
|
|
BOOL Create();
|
|
void Destroy();
|
|
|
|
public:
|
|
BOOL EnumPorts( DWORD Level, LPBYTE pPorts, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned, DWORD dwTimeout );
|
|
|
|
protected:
|
|
virtual BOOL OnRemoteBRChannelConnect( INT nChannel, BOOL bResult );
|
|
virtual BOOL OnRemoteBRGetChannelProperties( INT nChannelCount, LG_TCP_PACKET_BOARD_RECEIVER::PCHANNEL_PROPERTIES pProperties );
|
|
|
|
private:
|
|
HANDLE m_hEventGetChannelProperties;
|
|
LG_TCP_PACKET_BOARD_RECEIVER::PCHANNEL_PROPERTIES m_pChannelProperties;
|
|
INT m_nChannelCount;
|
|
};
|
|
|
|
#endif
|