Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
38
source/Platform/Win32/Win32Application.h
Normal file
38
source/Platform/Win32/Win32Application.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
|
||||
#ifndef WIN32_PLATFORM_H
|
||||
#define WIN32_PLATFORM_H
|
||||
|
||||
#include <Windows.h>
|
||||
|
||||
#include "Win32Display.h"
|
||||
#include "Win32Input.h"
|
||||
#include <Spectre/System/MessageQueue.h>
|
||||
#include <Platform/PlatformApplication.h>
|
||||
|
||||
class Win32Application : public PlatformApplication
|
||||
{
|
||||
public :
|
||||
virtual void init();
|
||||
|
||||
virtual void shutdown();
|
||||
|
||||
//virtual PlatformDisplay& getDisplay();
|
||||
|
||||
virtual PlatformInput& getInput();
|
||||
|
||||
virtual MessageQueue& getMessageQueue();
|
||||
|
||||
virtual void update();
|
||||
|
||||
protected :
|
||||
|
||||
LRESULT processMessage(MSG msg);
|
||||
|
||||
protected :
|
||||
|
||||
//Win32Display m_display;
|
||||
Win32Input m_input;
|
||||
MessageQueue m_messageQueue;
|
||||
};
|
||||
|
||||
#endif /* WIN32_PLATFORM_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue