1
0
Fork 0
spectre/source/Platform/Unix/X11EventQueue.h
Henrik Hautakoski 090646b61a Platform/Unix: Rename X11SharedDisplay to Xlib, and remove Display member variable from all classes.
We now initialize/destroy the display in Xlib::init/shutdown that is called in UnixApplication::init/shutdown and
therefore is valid through the whole lifetime. So no need for classes to keep references.
2020-12-26 15:37:56 +01:00

20 lines
358 B
C++

#ifndef PLATFORM_UNIX_X11_EVENT_QUEUE_H
#define PLATFORM_UNIX_X11_EVENT_QUEUE_H
#include <Spectre/System/Event.h>
#include <Platform/PlatformEventQueue.h>
#include <X11/Xlib.h>
namespace sp {
class X11EventQueue : public PlatformEventQueue
{
public :
virtual bool poll(Event& event);
};
} // namespace sp
#endif /* PLATFORM_UNIX_X11_EVENT_QUEUE_H */