35 lines
585 B
C++
35 lines
585 B
C++
|
|
#ifndef WIN32_PLATFORM_H
|
|
#define WIN32_PLATFORM_H
|
|
|
|
#include <Windows.h>
|
|
|
|
#include "Win32Window.h"
|
|
#include "Win32Input.h"
|
|
#include <Spectre/System/MessageQueue.h>
|
|
#include <Platform/PlatformApplication.h>
|
|
|
|
namespace sp {
|
|
|
|
class Win32Application : public PlatformApplication
|
|
{
|
|
public :
|
|
virtual void init();
|
|
|
|
virtual void shutdown();
|
|
|
|
virtual PlatformWindow* createWindow(Window* window);
|
|
|
|
virtual GLContext* createGLContext();
|
|
|
|
virtual PlatformInput& getInput();
|
|
|
|
protected :
|
|
|
|
//Win32Display m_display;
|
|
Win32Input m_input;
|
|
};
|
|
|
|
} // namespace sp
|
|
|
|
#endif /* WIN32_PLATFORM_H */
|