Platform/Win32/Win32Input.cpp: remove Win32InputMsgBuffer
This commit is contained in:
parent
eef2690ada
commit
92a561648e
2 changed files with 1 additions and 23 deletions
|
|
@ -6,14 +6,6 @@
|
|||
|
||||
namespace sp {
|
||||
|
||||
Win32InputMsgBuffer Win32Input::inputMsgBuffer;
|
||||
|
||||
Win32InputMsgBuffer::Win32InputMsgBuffer() :
|
||||
index (0),
|
||||
enabled (false)
|
||||
{
|
||||
}
|
||||
|
||||
Keyboard* Win32Input::createKeyboard()
|
||||
{
|
||||
return new Win32Keyboard();
|
||||
|
|
|
|||
|
|
@ -7,18 +7,6 @@
|
|||
|
||||
namespace sp {
|
||||
|
||||
#define WIN32_INPUT_BUFFER_QUEUE_MAX_SIZE 64
|
||||
|
||||
struct Win32InputMsgBuffer {
|
||||
int index;
|
||||
MSG messages[WIN32_INPUT_BUFFER_QUEUE_MAX_SIZE];
|
||||
bool enabled;
|
||||
|
||||
Win32InputMsgBuffer();
|
||||
|
||||
bool postMessage(MSG msg);
|
||||
};
|
||||
|
||||
class Win32Input : public PlatformInput
|
||||
{
|
||||
public :
|
||||
|
|
@ -27,10 +15,8 @@ public :
|
|||
virtual Mouse* createMouse();
|
||||
|
||||
virtual void update();
|
||||
|
||||
static Win32InputMsgBuffer inputMsgBuffer;
|
||||
};
|
||||
|
||||
} // namespace sp
|
||||
|
||||
#endif /* PLATFORM_WIN32_INPUT_H */
|
||||
#endif /* PLATFORM_WIN32_INPUT_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue