1
0
Fork 0
spectre/source/Platform/Unix/UnixApplication.h

31 lines
537 B
C++

#ifndef PLATFORM_UNIX_APPLICATION_H
#define PLATFORM_UNIX_APPLICATION_H
#include <Spectre/System/MessageQueue.h>
#include <Platform/PlatformApplication.h>
#include "X11Input.h"
namespace sp {
class UnixApplication : public PlatformApplication
{
public :
virtual void init();
virtual void shutdown();
virtual PlatformWindow* createWindow(Window* window);
virtual GLContext* createGLContext();
virtual PlatformInput& getInput();
protected :
X11Input m_input;
};
} // namespace sp
#endif /* PLATFORM_UNIX_APPLICATION_H */