@brief Open file descriptors in the inf structure (return false if failure) */
| 34 | |
| 35 | /** @brief Open file descriptors in the inf structure (return false if failure) */ |
| 36 | bool DiffFileData::OpenFiles(const String& szFilepath1, const String& szFilepath2) |
| 37 | { |
| 38 | m_FileLocation[0].setPath(szFilepath1); |
| 39 | m_FileLocation[1].setPath(szFilepath2); |
| 40 | bool b = DoOpenFiles(); |
| 41 | if (!b) |
| 42 | Reset(); |
| 43 | return b; |
| 44 | } |
| 45 | |
| 46 | /** @brief stash away true names for display, before opening files */ |
| 47 | void DiffFileData::SetDisplayFilepaths(const String& szTrueFilepath1, const String& szTrueFilepath2) |