mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-06 13:30:45 +00:00
22 lines
475 B
C++
22 lines
475 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <cstdint>
|
|
|
|
namespace EightBit {
|
|
class ProfileLineEventArgs
|
|
{
|
|
private:
|
|
int m_address;
|
|
std::string m_source;
|
|
uint64_t m_cycles;
|
|
|
|
public:
|
|
ProfileLineEventArgs(int address, std::string source, uint64_t cycles)
|
|
: m_address(address), m_source(source), m_cycles(cycles) {}
|
|
|
|
int address() const { return m_address; }
|
|
const std::string& source() const { return m_source; }
|
|
uint64_t cycles() const { return m_cycles; }
|
|
};
|
|
} |