CMake integration and refactor

This commit is contained in:
Jack Andersen
2015-08-18 08:00:24 -10:00
parent cf9e12c650
commit 3d1e6a554a
50 changed files with 82 additions and 331 deletions

View File

@@ -0,0 +1,22 @@
#ifndef IHIDDEVICE_HPP
#define IHIDDEVICE_HPP
#include "inputdev/DeviceToken.hpp"
namespace boo
{
class IHIDDevice
{
friend class CDeviceBase;
virtual void _deviceDisconnected()=0;
virtual bool _sendUSBInterruptTransfer(uint8_t pipe, const uint8_t* data, size_t length)=0;
virtual size_t _receiveUSBInterruptTransfer(uint8_t pipe, uint8_t* data, size_t length)=0;
virtual bool _sendHIDReport(const uint8_t* data, size_t length)=0;
public:
inline virtual ~IHIDDevice() {}
};
}
#endif // IHIDDEVICE_HPP