| 265 | |
| 266 | |
| 267 | bool File::Delete() |
| 268 | { |
| 269 | if (HandleType!=FILE_HANDLENORMAL) |
| 270 | return false; |
| 271 | if (hFile!=FILE_BAD_HANDLE) |
| 272 | Close(); |
| 273 | if (!AllowDelete) |
| 274 | return false; |
| 275 | return DelFile(FileName); |
| 276 | } |
| 277 | |
| 278 | |
| 279 | bool File::Rename(const wchar *NewName) |
no test coverage detected