EXI_Device: Move private details below the public interface

This commit is contained in:
Lioncash 2017-01-22 02:30:10 -05:00
parent 46c33df485
commit a5c0409050
1 changed files with 4 additions and 3 deletions

View File

@ -30,9 +30,6 @@ enum TEXIDevices : int
class IEXIDevice class IEXIDevice
{ {
private:
// Byte transfer function for this device
virtual void TransferByte(u8&) {}
public: public:
// Immediate copy functions // Immediate copy functions
virtual void ImmWrite(u32 _uData, u32 _uSize); virtual void ImmWrite(u32 _uData, u32 _uSize);
@ -59,6 +56,10 @@ public:
// type. // type.
// I know this class is set up like an interface, but no code requires it to be strictly such. // I know this class is set up like an interface, but no code requires it to be strictly such.
TEXIDevices m_deviceType; TEXIDevices m_deviceType;
private:
// Byte transfer function for this device
virtual void TransferByte(u8&) {}
}; };
std::unique_ptr<IEXIDevice> EXIDevice_Create(const TEXIDevices device_type, const int channel_num); std::unique_ptr<IEXIDevice> EXIDevice_Create(const TEXIDevices device_type, const int channel_num);