mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Changed: #927 Move OS specific code from client or server to NeL when it's possible
This commit is contained in:
parent
396e573268
commit
6e8fef97e5
1 changed files with 0 additions and 29 deletions
|
@ -160,35 +160,6 @@ void CMusicPlayer::update ()
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
|
||||||
bool supportUnicode()
|
|
||||||
{
|
|
||||||
static bool init = false;
|
|
||||||
static bool unicodeSupported = false;
|
|
||||||
if (!init)
|
|
||||||
{
|
|
||||||
init = true;
|
|
||||||
#ifdef NL_OS_WINDOWS
|
|
||||||
OSVERSIONINFO osvi;
|
|
||||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
|
||||||
if (::GetVersionEx (&osvi))
|
|
||||||
{
|
|
||||||
if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT)
|
|
||||||
{
|
|
||||||
if (osvi.dwMajorVersion >= 4)
|
|
||||||
{
|
|
||||||
unicodeSupported = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
unicodeSupported = true;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
return unicodeSupported;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ***************************************************************************
|
|
||||||
|
|
||||||
class CMusicPlayerPlaySongs: public IActionHandler
|
class CMusicPlayerPlaySongs: public IActionHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue