bgfx/examples/common/entry/entry_qnx.cpp

75 lines
1.3 KiB
C++
Raw Normal View History

2013-04-13 04:54:17 -04:00
/*
2015-01-01 18:04:46 -05:00
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
2013-04-13 04:54:17 -04:00
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
2014-08-22 01:29:08 -04:00
#include "entry_p.h"
2013-04-13 04:54:17 -04:00
2013-08-15 00:08:46 -04:00
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_QNX
2013-04-13 04:54:17 -04:00
#include <stdio.h>
namespace entry
{
const Event* poll()
{
return NULL;
}
2014-09-22 22:34:10 -04:00
const Event* poll(WindowHandle _handle)
{
BX_UNUSED(_handle);
return NULL;
}
2013-04-13 04:54:17 -04:00
void release(const Event* _event)
{
2014-09-22 22:34:10 -04:00
BX_UNUSED(_event);
}
WindowHandle createWindow(int32_t _x, int32_t _y, uint32_t _width, uint32_t _height, uint32_t _flags, const char* _title)
{
BX_UNUSED(_x, _y, _width, _height, _flags, _title);
WindowHandle handle = { UINT16_MAX };
return handle;
}
void destroyWindow(WindowHandle _handle)
{
BX_UNUSED(_handle);
}
void setWindowPos(WindowHandle _handle, int32_t _x, int32_t _y)
{
BX_UNUSED(_handle, _x, _y);
2013-04-13 04:54:17 -04:00
}
2014-09-22 22:34:10 -04:00
void setWindowSize(WindowHandle _handle, uint32_t _width, uint32_t _height)
2013-04-13 04:54:17 -04:00
{
2014-09-22 22:34:10 -04:00
BX_UNUSED(_handle, _width, _height);
2013-04-13 04:54:17 -04:00
}
2014-09-22 22:34:10 -04:00
void setWindowTitle(WindowHandle _handle, const char* _title)
2014-08-05 15:57:52 -04:00
{
2014-09-22 22:34:10 -04:00
BX_UNUSED(_handle, _title);
2014-08-05 15:57:52 -04:00
}
2014-09-22 22:34:10 -04:00
void toggleWindowFrame(WindowHandle _handle)
2013-04-13 04:54:17 -04:00
{
2014-09-22 22:34:10 -04:00
BX_UNUSED(_handle);
2013-04-13 04:54:17 -04:00
}
2014-09-22 22:34:10 -04:00
void setMouseLock(WindowHandle _handle, bool _lock)
2013-04-13 04:54:17 -04:00
{
2014-09-22 22:34:10 -04:00
BX_UNUSED(_handle, _lock);
2013-04-13 04:54:17 -04:00
}
} // namespace entry
int main(int _argc, char** _argv)
{
entry::main(_argc, _argv);
2013-04-13 04:54:17 -04:00
}
2013-08-15 00:08:46 -04:00
#endif // ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_QNX