// $Id: MSXEventReplayer.hh 5633 2006-09-16 13:13:10Z m9710797 $ #ifndef MSXEVENTREPLAYER_HH #define MSXEVENTREPLAYER_HH #include "Schedulable.hh" #include #include namespace openmsx { class MSXEventDistributor; class MSXEventReplayer : private Schedulable { public: MSXEventReplayer(Scheduler& scheduler, MSXEventDistributor& eventDistributor_, const std::string& fileName); private: // Schedulable virtual const std::string& schedName() const; virtual void executeUntil(const EmuTime& time, int userData); void processLogEntry(); MSXEventDistributor& eventDistributor; std::ifstream logFileStream; std::string eventString; }; } // namespace openmsx #endif // MSXEVENTREPLAYER_HH