EightBit/Intel8080/inc/PortEventArgs.h

18 lines
223 B
C
Raw Normal View History

#pragma once
#include <cstdint>
namespace EightBit {
class PortEventArgs {
public:
PortEventArgs(uint8_t port)
: m_port(port) {}
uint8_t getPort() const {
return m_port;
}
private:
uint8_t m_port;
};
}