2014-03-16 19:49:59 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
|
|
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "entry_p.h"
|
|
|
|
|
|
|
|
#if BX_PLATFORM_EMSCRIPTEN
|
|
|
|
|
|
|
|
#include <emscripten.h>
|
|
|
|
|
|
|
|
namespace entry
|
|
|
|
{
|
|
|
|
const Event* poll()
|
|
|
|
{
|
2014-03-16 19:58:22 -04:00
|
|
|
return NULL;
|
2014-03-16 19:49:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void release(const Event* /*_event*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void setWindowSize(uint32_t /*_width*/, uint32_t /*_height*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-08-10 10:59:22 -04:00
|
|
|
void setWindowTitle(const char* _title)
|
2014-08-05 15:57:52 -04:00
|
|
|
{
|
|
|
|
BX_UNUSED(_title);
|
|
|
|
}
|
|
|
|
|
2014-03-16 19:49:59 -04:00
|
|
|
void toggleWindowFrame()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void setMouseLock(bool /*_lock*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
int main(int _argc, char** _argv)
|
|
|
|
{
|
|
|
|
return entry::main(_argc, _argv);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // BX_PLATFORM_EMSCRIPTEN
|