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.
 
 
 
 
 

38 lines
1013 B

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: DirectInputSet.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DirectInputSet.h
//----------------------------------------------------------------------------
#ifndef __DIRECT__INPUT__SET__H__INCLUDED__
#define __DIRECT__INPUT__SET__H__INCLUDED__
#include "DirectInput.h"
class CDirectInputSet
{
public:
CDirectInputSet();
virtual ~CDirectInputSet();
public:
BOOL ConnectToDevice( CDeviceDI *pDeviceDI, int nDeviceBit, int nSensorBit );
void Reset();
public:
int GetInputCount() { return m_nInput; }
CDirectInput *GetInput( int nIndex ) { return (nIndex < m_nInput) ? m_ppInput[nIndex] : NULL; }
private:
CDirectInput **m_ppInput;
int m_nInput;
};
#endif