2017-06-04 20:38:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace EightBit {
|
|
|
|
class PortEventArgs {
|
|
|
|
public:
|
|
|
|
PortEventArgs(uint8_t port)
|
2017-09-01 15:41:50 +00:00
|
|
|
: m_port(port) {}
|
2017-06-04 20:38:34 +00:00
|
|
|
|
|
|
|
uint8_t getPort() const {
|
|
|
|
return m_port;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint8_t m_port;
|
|
|
|
};
|
|
|
|
}
|