| 140 | |
| 141 | |
| 142 | bool Image::Load(const tString& filename, bool loadParamsFromConfig) |
| 143 | { |
| 144 | if (filename.IsEmpty()) |
| 145 | return false; |
| 146 | |
| 147 | Filename = filename; |
| 148 | Filetype = tGetFileType(Filename); |
| 149 | |
| 150 | tSystem::tFileInfo info; |
| 151 | if (tSystem::tGetFileInfo(info, filename)) |
| 152 | { |
| 153 | FileModTime = info.ModificationTime; |
| 154 | FileSizeB = info.FileSize; |
| 155 | } |
| 156 | |
| 157 | return Load(loadParamsFromConfig); |
| 158 | } |
| 159 | |
| 160 | |
| 161 | bool Image::Load(bool loadParamsFromConfig) |
no test coverage detected