---------------------------------------------------------------------
| 408 | } |
| 409 | //--------------------------------------------------------------------- |
| 410 | void FileSystemArchive::remove( const String &filename ) |
| 411 | { |
| 412 | if( isReadOnly() ) |
| 413 | { |
| 414 | OGRE_EXCEPT( Exception::ERR_INVALIDPARAMS, "Cannot remove a file from a read-only archive", |
| 415 | "FileSystemArchive::remove" ); |
| 416 | } |
| 417 | String full_path = concatenate_path( mName, filename ); |
| 418 | #ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE |
| 419 | ::_wremove( to_wpath( full_path ).c_str() ); |
| 420 | #else |
| 421 | ::remove( full_path.c_str() ); |
| 422 | #endif |
| 423 | } |
| 424 | //----------------------------------------------------------------------- |
| 425 | StringVectorPtr FileSystemArchive::list( bool recursive, bool dirs ) |
| 426 | { |
nothing calls this directly
no test coverage detected