29 lines
497 B
C++
29 lines
497 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 PlatformInput& getInput();
|
|
|
|
protected :
|
|
|
|
X11Input m_input;
|
|
};
|
|
|
|
} // namespace sp
|
|
|
|
#endif /* PLATFORM_UNIX_APPLICATION_H */
|