2013-04-13 01:54:17 -07:00
/*
2015-01-01 15:04:46 -08:00
* Copyright 2011 - 2015 Branimir Karadzic . All rights reserved .
2013-04-13 01:54:17 -07:00
* License : http : //www.opensource.org/licenses/BSD-2-Clause
*/
2014-08-21 22:29:08 -07:00
# include "entry_p.h"
2013-04-13 01:54:17 -07:00
2013-08-14 21:08:46 -07:00
# if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_QNX
2013-04-13 01:54:17 -07:00
# include <stdio.h>
namespace entry
{
const Event * poll ( )
{
return NULL ;
}
2014-09-22 19:34:10 -07:00
const Event * poll ( WindowHandle _handle )
{
BX_UNUSED ( _handle ) ;
return NULL ;
}
2013-04-13 01:54:17 -07:00
void release ( const Event * _event )
{
2014-09-22 19:34:10 -07: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 01:54:17 -07:00
}
2014-09-22 19:34:10 -07:00
void setWindowSize ( WindowHandle _handle , uint32_t _width , uint32_t _height )
2013-04-13 01:54:17 -07:00
{
2014-09-22 19:34:10 -07:00
BX_UNUSED ( _handle , _width , _height ) ;
2013-04-13 01:54:17 -07:00
}
2014-09-22 19:34:10 -07:00
void setWindowTitle ( WindowHandle _handle , const char * _title )
2014-08-05 20:57:52 +01:00
{
2014-09-22 19:34:10 -07:00
BX_UNUSED ( _handle , _title ) ;
2014-08-05 20:57:52 +01:00
}
2014-09-22 19:34:10 -07:00
void toggleWindowFrame ( WindowHandle _handle )
2013-04-13 01:54:17 -07:00
{
2014-09-22 19:34:10 -07:00
BX_UNUSED ( _handle ) ;
2013-04-13 01:54:17 -07:00
}
2014-09-22 19:34:10 -07:00
void setMouseLock ( WindowHandle _handle , bool _lock )
2013-04-13 01:54:17 -07:00
{
2014-09-22 19:34:10 -07:00
BX_UNUSED ( _handle , _lock ) ;
2013-04-13 01:54:17 -07:00
}
} // namespace entry
int main ( int _argc , char * * _argv )
{
2013-08-07 21:45:56 -07:00
entry : : main ( _argc , _argv ) ;
2013-04-13 01:54:17 -07:00
}
2013-08-14 21:08:46 -07:00
# endif // ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_QNX