Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
18
source/Platform/Win32/Win32MsgBuffer.h
Normal file
18
source/Platform/Win32/Win32MsgBuffer.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
#ifndef PLATFORM_WIN32_MSG_BUFFER_H
|
||||
#define PLATFORM_WIN32_MSG_BUFFER_H
|
||||
|
||||
#include <Windows.h>
|
||||
|
||||
#define WIN32_MSG_BUFFER_MAX_SIZE 64
|
||||
|
||||
struct Win32MsgBuffer {
|
||||
int index;
|
||||
MSG messages[WIN32_MSG_BUFFER_MAX_SIZE];
|
||||
|
||||
Win32MsgBuffer();
|
||||
|
||||
bool postMessage(MSG msg);
|
||||
};
|
||||
|
||||
#endif /* PLATFORM_WIN32_MSG_BUFFER_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue