EightBit/inc/PortEventArgs.h
Adrian.Conlon 57cfd79c44 Tidy header file usage a little.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-09-01 16:41:50 +01:00

18 lines
222 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;
};
}