mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-23 15:29:24 +00:00
57cfd79c44
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
18 lines
222 B
C++
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;
|
|
};
|
|
} |