//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: Laserguard libraries // SUBSYSTEM: LgLibAdvantech // FILE: LgAdvantechDeviceEnumerator.h // AUTHOR: Chizhevskiy Sergey // OVERVIEW // ~~~~~~~~ // Header file of CLgAdvantechDeviceEnumerator //---------------------------------------------------------------------------- #ifndef __LG__ADVANTECH__DEVICE__ENUMERATOR__H__INCLUDED__ #define __LG__ADVANTECH__DEVICE__ENUMERATOR__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include "AdsApi\Include\Driver.h" class CLgAdvantechDeviceEnumerator { public: CLgAdvantechDeviceEnumerator(); virtual ~CLgAdvantechDeviceEnumerator(); public: BOOL Create(); void Destroy(); public: INT GetDeviceCount(); DEVLIST *GetDevice( INT nDevice ); private: INT m_nDeviceCount; DEVLIST *m_pDeviceList; }; #endif