| 154 | # endif |
| 155 | } |
| 156 | String fileSystemPathToString( const FileSystemPath &path ) |
| 157 | { |
| 158 | # ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE |
| 159 | return from_wpath( path, CP_UTF8 ); |
| 160 | # elif OGRE_PLATFORM == OGRE_PLATFORM_WIN32 |
| 161 | return from_wpath( path, AreFileApisANSI() ? CP_ACP : CP_OEMCP ); |
| 162 | # elif OGRE_PLATFORM == OGRE_PLATFORM_WINRT |
| 163 | return from_wpath( path, CP_ACP ); |
| 164 | # endif |
| 165 | } |
| 166 | #endif |
| 167 | //----------------------------------------------------------------------- |
| 168 | void FileSystemArchive::findFiles( const String &pattern, bool recursive, bool dirs, |