26 lines
No EOL
624 B
C++
26 lines
No EOL
624 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "INotificationListener.h"
|
|
#include "IInputProvider.h"
|
|
#include "../Utilities/AutoResetEvent.h"
|
|
|
|
class AutomaticRomTest : public INotificationListener, public IInputProvider
|
|
{
|
|
private:
|
|
AutoResetEvent _signal;
|
|
static bool _running;
|
|
uint16_t _prevFrameBuffer[256 * 240];
|
|
uint32_t _errorCode;
|
|
|
|
public:
|
|
AutomaticRomTest();
|
|
~AutomaticRomTest();
|
|
|
|
void ProcessNotification(ConsoleNotificationType type, void* parameter) override;
|
|
int32_t Run(string filename);
|
|
|
|
static bool Running();
|
|
|
|
// Inherited via IInputProvider
|
|
virtual bool SetInput(BaseControlDevice * device) override;
|
|
}; |