mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 16:17:41 +00:00
17 lines
307 B
C++
17 lines
307 B
C++
#pragma once
|
|
|
|
#include "Event.h"
|
|
#include "EventLoop.h"
|
|
#include <SDL.h>
|
|
|
|
class EventLoopSDL final : public EventLoop {
|
|
public:
|
|
EventLoopSDL();
|
|
virtual ~EventLoopSDL() override;
|
|
|
|
private:
|
|
virtual void waitForEvent() override;
|
|
|
|
void handleKeyEvent(Event::Type, const SDL_KeyboardEvent&);
|
|
};
|
|
|