From 7cb2d2e09efb84829a4e7b078867c956157f0715 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 5 Jun 2010 19:55:32 +0200 Subject: [PATCH] Changed: #927 Move OS specific code from client or server to NeL when it's possible --- .../client/src/interface_v3/music_player.cpp | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/music_player.cpp b/code/ryzom/client/src/interface_v3/music_player.cpp index e74f6d2b9..2223a6073 100644 --- a/code/ryzom/client/src/interface_v3/music_player.cpp +++ b/code/ryzom/client/src/interface_v3/music_player.cpp @@ -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 { public: