mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-29 07:30:14 +00:00
23 lines
334 B
C++
23 lines
334 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace Fuse {
|
|
class TestEvent
|
|
{
|
|
public:
|
|
bool valid;
|
|
std::string specifier;
|
|
int cycles, address, value;
|
|
|
|
TestEvent()
|
|
: valid(false),
|
|
cycles(-1), address(-1), value(-1) {}
|
|
|
|
bool operator==(const TestEvent& rhs) const;
|
|
|
|
void read(std::ifstream& file);
|
|
|
|
void dump() const;
|
|
};
|
|
} |