EightBit/Intel8080/inc/PortEventArgs.h
Adrian.Conlon 105032f08a Dump of all my C++ emulators, only Intel8080 integrated so far...
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-06-04 21:38:34 +01:00

18 lines
223 B
C++

#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;
};
}