mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-24 21:30:09 +00:00
105032f08a
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
18 lines
223 B
C++
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;
|
|
};
|
|
} |