/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2009.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: sgx/include/sgx/core/comms/portdevice.hpp

*/

#ifndef SGX_CORE_COMMS_COMPORTDEVICE_HPP
#define SGX_CORE_COMMS_COMPORTDEVICE_HPP	1

class CCommPortDevice {
public:
	virtual tUINT32		read(tBYTE *pBuffer, tUINT32 bufferSize)=0;
	virtual tUINT32		write(const tBYTE *pBuffer, tUINT32 bufferSize)=0;
	virtual tBOOL		close();
};


#endif /* SGX_CORE_COMMS_COMPORTDEVICE_HPP */
