mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
18 lines
307 B
C++
18 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&);
|
|
};
|
|
|