EightBit/M6502/inc/ProfileLineEventArgs.h
Adrian.Conlon 88d3e4fd47 Initial stab at getting MOS6502 imported to the EightBit library.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-07-02 22:03:33 +01:00

20 lines
388 B
C++

#pragma once
#include <string>
#include <cstdint>
namespace EightBit {
class ProfileLineEventArgs
{
private:
std::string m_source;
uint64_t m_cycles;
public:
ProfileLineEventArgs(std::string source, uint64_t cycles)
: m_source(source), m_cycles(cycles) {}
const std::string& getSource() const { return m_source; }
uint64_t getCycles() const { return m_cycles; }
};
}