// $Id: MSXEventRecorder.hh 5733 2006-10-02 13:16:39Z m9710797 $ #ifndef MSXEVENTRECORDER_HH #define MSXEVENTRECORDER_HH #include "MSXEventListener.hh" #include "noncopyable.hh" #include #include namespace openmsx { class MSXEventDistributor; class MSXEventRecorder : private MSXEventListener, private noncopyable { public: MSXEventRecorder(MSXEventDistributor& eventDistributor, const std::string& fileName); virtual ~MSXEventRecorder(); private: // EventListener virtual void signalEvent(shared_ptr event, const EmuTime& time); MSXEventDistributor& eventDistributor; std::ofstream logFileStream; }; } // namespace openmsx #endif