mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-01 15:29:11 +00:00
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;
|
|
};
|
|
} |